We can use the Control task to stop, abort, or fail the top-level workflow or the parent workflow based on an input link condition. A parent workflow or worklet is the workflow or worklet that contains the Control task. We can defined the condition to the link task connected to the control task.
The following table describes the options you can configure in the Control task:
Control Option | Description |
Fail Me | The Integration Service fails the Control task if you choose this option. |
Fail Parent | Marks the status of the workflow or worklet that contains the Control task as failed after the workflow or worklet completes. |
Stop Parent | Stops the workflow or worklet that contains the Control task. |
Abort Parent | Aborts the workflow or worklet that contains the Control task. |
Fail Top-Level Workflow | Fails the workflow that is running. |
Stop Top-Level Workflow | Stops the workflow that is running. |
Abort Top-Level Workflow | Aborts the workflow that is running. |
Create a sample Control Task
Create a Control task in the workflow to stop, abort, or fail the workflow based on an input link condition.
1. In the Workflow Designer, click Tasks > Create.
2. Select Control Task for the task type.
3. Enter a name for the Control task.
4. Click Create, and then click Done.
The Workflow Manager creates and adds the Control task to the workflow.
5. Double-click the Control task in the workspace to open it.
6. Configure the control options on the Properties tab.
No comments:
Post a Comment