Start Workflow Activity
The Start Workflow activity allows one workflow to start another workflow at runtime.
Settings Tab
Attribute | Value | Description |
---|---|---|
Workflow | User-defined | Click the ellipsis button to select the workflow that you want to start. Click the arrow to:
Note: If you do not select a template, your workflow will result in a validation error at runtime. |
Template Workflow | User-defined |
When you perform a workflow bind, you must select a workflow template that defines the input and output parameters. Note: The workflow and template workflow must have matching input parameters; otherwise, at runtime, the workflow will fail.
Click the ellipsis button to select a template workflow. Click the arrow to reset the default value. |
Wait for the workflow to complete | User-defined |
Select this check box to allow a user to pause a workflow to wait for the other that it is calling to complete. When you select this check box, output parameters from the current workflow are available to bind to the calling workflow. Note:
|
End the workflow if cancelled | User-defined |
Select this check box to allow a user to end a workflow if the run-time activity is cancelled. Ending the workflow means that it stops running and, if persistence is enabled, terminates it. Cancelling the activity first ends any child tasks before the workflow itself ends. This action removes workflow results from the server to save space. |
Assignments Tab
When you use this activity to start another workflow, you can override the preconfigured location and personnel assignments by selecting new location and/or personnel resources. You can also bind the assignment to a property of the workflow. The assignments displayed are related to the selected workflow.
OverrideAssignments are configured in a workflow where you bind personnel and location properties. However, when you use this activity to start a workflow, you can override these assignments for the workflow you are starting. Depending on the workflow, you may be able to override assignments at the workflow level or the subprocess level.
The following table describes the available attributes:
Attribute | Value | Description |
---|---|---|
Override | User-defined | Select this check box to allow a user to override the location and/or personnel resources assigned to the workflow you want to start. |
Location | User-defined |
Click the ellipsis button to either:
|
Personnel | User-defined |
Click the ellipsis button to either:
|
Example
You can use a Start Workflow activity to create production work requests. These production orders trigger a dispatching workflow, which gets the work request, reads the work process segments, and then executes the workflows that have been assigned to the process segment.