NoUserTaskTrigger
A trigger that triggers only if a UserTask with taskName is NOT already on the task list.
Typically used to make sure that a specific task is always on the task list. The NoUserTaskTriggerExecutor checks immediately on resume and then once per minute, re-adding the task whenever it is done or expired.
- Inheritance
-
- Object
- Serializable
- TriggerConfiguration
- NoUserTaskTrigger
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
NoUserTaskTrigger.fromJson
NoUserTaskTrigger
- required String taskName,
Creates a NoUserTaskTrigger that triggers if taskName is not on the task list.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
taskName
getter/setter pair
The name of the task to look for, matching TaskConfiguration.name.
Methods
toJson
Return a JSON encoding of this object.