On Abort#
This task receives an onAbort event from the Worker Manager and emits the outputs so that some custom logic can be done to abort the current Job. Based on that custom logic result, this Task will either receive a Success or a Failure input and will send the result to the WorkerManager, according with that received information.
Details#
| Fields | Details |
|---|---|
| Scope | Factory Automation Enterprise Integration Data Platform |
| Workflow | Data flow Control flow |
IsProtocol flag |
Inputs#
| Name | Data Type | Values | IsTrigger | Description |
|---|---|---|---|---|
| Success | any | Triggering this input will result in the Abort success | ||
| Failure | any | Triggering this input will result in the Abort failure |
Table: On Abort inputs
Outputs#
| Name | Data Type | Values | Description |
|---|---|---|---|
| job id | any | Triggered with the current JobId after receiving an onAbort event | |
| Raw | any | Emits the raw data received in the onAbort event | |
| Activate | any | Activates the task execution |
Table: On Abort outputs
Settings#
On the General Tab, you have the usual settings and the following options settings:
| Name | Data Type | Values | Default | Description |
|---|---|---|---|---|
| Timeout | Integer | 300000 | Timeout for the Abort process. The default is 5 minutes (300000 ms) and 0 means there's no timeout. |
Table: On Abort settings
Additional outputs can be defined in the Outputs tab.
Behavior#
This Task needs to be used with the Worker Manager which will start this Task through the onAbort event. After that, custom logic can be added to the Workflow and then link it to the Success / Failure inputs of this Task, with the result decision.

