We also enhanced the example projects to get a better idea of these enhancements. The added examples are as follows:
The 10
th
workflow puts items into a workflow task called "My first task" that is assigned to whatever user is in the field "ArticleLang.Remarks". It also sends an email to that user. For this workflow task, we need two steps. The first step checks whether the affected item is already in the workflow, if not it will be put into the task. The second step puts the item in the task and sends the notification to the user.
The 11
th
workflow puts items into a workflow task called "My first task". The first step checks whether the URN value for workflow_11.active is true, if not it will be put into the task. The second step checks to see if the affected items have a current status of 100, or "01 New" on most systems. If not, the items will not go into the task. The thirdstep updates the current status of the items to 200. The fourthstep puts the item in the task.
The 12
th
workflow puts items into a workflow task called "Contact external team". The first step checks whether the affected item is already in this workflow, if not it will be put into the task. The second step puts the items in the "Contact external team" task. The workflow then stops until it is triggered again by an import, export, or entity change. Once the workflow is triggered again, it moves to an approval task. Items, that are approved, get merged, and items that are rejected just end their workflow. Any items that fail to merge go into a "Failed to Merge" task.
The 13
th
workflow puts items into a workflow task called "My first task" and then to another workflow. The first step checks whether the affected item is already in this workflow, if not it will be put into the task. Once the items are finished in the task, they will move to another workflow at a specific step.