Start Workflow Activity

The Start Workflow activity allows one workflow to start another workflow at runtime.

Settings Tab

You can use the Start Workflow activity to start a preconfigured workflow from the workflow you are currently configuring.
Note: A workflow will terminate if the workflow that it is calling terminates, regardless of any related preconfigured settings, such as the Wait for the workflow to complete setting.
AttributeValueDescription
WorkflowUser-defined

Click the ellipsis button to select the workflow that you want to start.

Click the arrow to:

  • bind the workflow to a directory resource variable, or
  • reset the default value.
When you bind, you must select a template workflow.
Note: If you do not select a template, your workflow will result in a validation error at runtime.
Template WorkflowUser-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 completeUser-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:
  • If a workflow is calling a disabled or terminated workflow, it will also terminate regardless of the status of this property.
  • A workflow cannot be recursive; that is, it cannot call itself.
End the workflow if cancelledUser-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.

Override

Assignments 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:

AttributeValueDescription
OverrideUser-definedSelect this check box to allow a user to override the location and/or personnel resources assigned to the workflow you want to start.
LocationUser-defined

Click the ellipsis button to either:

  • edit the bind, or
  • select an alternate location to route the workflow or subprocess.
PersonnelUser-defined

Click the ellipsis button to either:

  • edit the bind, or
  • select other personnel to route the workflow or subprocess.

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.