Skip to content

UserTaskTriggerExecutor

Runs a UserTaskTrigger: fires when a matching UserTask changes state.

A task matches if it has the trigger's task name and changes to the trigger's UserTaskState.

Inheritance

Constructors

UserTaskTriggerExecutor

UserTaskTriggerExecutor()

Methods

onPause

Future<bool> onPause()
override

Called by pause. Returns true if successfully paused.

If false, the state is not changed.

onResume

Future<bool> onResume()
override

Called by resume. Returns true if successfully resumed.

If false, the executor moves to ExecutorState.PausedButShouldBeResumed.