Trigger Workflow
 
Initiates invocation of the specified workflow.
If synchronous=false, the task quits immediately after triggering (it does not wait until the invoked workflow is finished); otherwise, the task waits until the invoked workflow is finished.
In the synchronous mode, the task result is equal to the invoked workflow result.
Properties
| Name | Type | Description | Expression support | 
|---|---|---|---|
| Workflow Id | mandatory | ID of the workflow to run. Workflow ID specification depends on the workflow execution context: 
 | semi-expression | 
| Synchronous | optional | Invocation type.
Default value:  | none | 
| Parameters | optional | Set of parameters to pass to the workflow as global variable values. | none | 
Parameters properties
| Name | Type | Description | Expression support | 
|---|---|---|---|
| Name | mandatory | Name of the parameter. | semi-expression | 
| Expression | mandatory | Expression evaluating the value of the parameter. | expression | 
Predefined variables
- 
TRIGGERED_WF_ID: If the workflow was successfully triggered, this variable contains the ID of the triggered workflow instance. 
<executable class="com.ataccama.adt.task.exec.EwfTriggerWorkflowTask">
    <workflowId>simple-params.ewf</workflowId>
  <synchronous>false</synchronous>
    <parameters>
        <parameter name="command1" expression="'sometext'"/>
        <parameter name="command2" expression="1" />
    </parameters>
</executable>Was this page useful?