Loading...
Loading...
Loading...
/ or end in -debug.Use a dedicated workitem flow in Architect to manage workitems without depending on data actions. You can use a workitem flow, for example, to adjust the assignee, due date, expiry date, priority, or status of a workitem. You can also disconnect, terminate, or transfer a workitem with a workitem flow.
Workitem flows enable you to perform such tasks as:
Keep the following key points in mind:
Complete the following configuration steps before you create your workitem flow:
To create a workitem flow, follow these steps:
worktypeName or worktypeId to set the worktype on the workitem flow. For more information, see Define Architect flows using YAML.Architect automatically generates your initial workitem flow based on the worktype that you select. When the rule condition in the worktype configuration is set to Creation, the respective Event Type in the workitem flow is set to workitemCreated. Similarly, when the rule condition is Status Transition or Dates, Architect sets the Event Type in the workitem flow to workitemStatusChange or workitemDateBasedEvent respectively.
Architect applies the following design logic depending on the worktype configuration:
workitemCreated event type and all the worktype statuses that have been configured in the associated worktype. Flow authors can configure the required business logic for handling workitems when they are created and the various workitem status changes in the respective Reusable Tasks.workitemCreated event type triggered the execution of the workitem flow.workitemCreated event, Architect checks whether the flow was triggered by a workitemStatusChanged event with another Decision action.workitemCreated event or a workitemStatusChanged event, Architect checks whether the flow was triggered by a workitemDateBasedEvent with another Decision action.workitemDateBasedEvent, Architect checks the name of the date rule. Then, it calls the corresponding Reusable Task with a Switch action to execute the configured business logic for handling the workitem based on the date rule. The date rules allow you to set conditions based on the due date, expiration date, or life span of a workitem. When these conditions are met, the workitem triggers the associated workitem flow instance. You can customize the generated workitem flow in the following ways:
Workitem.Workitem.customFields variable to reference items that have been defined as part of the custom schema associated with the worktype.FindWorktypeStatus, FindWorktypeStatusById) to update the status of a workitem in an Update Workitem action.Get user feedback about articles.