run #
This method must be implemented in order to execute actions when a workflow is triggered.
abstract run (workflowContext: WorkflowContext, initiator: DynamicObject, args: JSONObject): Promise<WorkflowContext>
Arguments | Type | Description |
---|---|---|
workflowContext | WorkflowContext | WorkflowContext instance |
initiator | DynamicObject | Workflow or Rule that execute the Task |
args | JSONObject | Additional arguments defined in the configuration |
Returns #
Returns a promise resolving to the workflowContext
.
Edit this page on Github(opens new window)