EnterpriseCrmFrontendsEventbusProtoTriggerConfig class
Configuration detail of a trigger.
Next available id: 20
Constructors
-
EnterpriseCrmFrontendsEventbusProtoTriggerConfig({List<
EnterpriseCrmEventbusProtoWorkflowAlertConfig> ? alertConfig, EnterpriseCrmEventbusProtoCloudSchedulerConfig? cloudSchedulerConfig, String? description, List<String> ? enabledClients, String? errorCatcherId, String? label, String? nextTasksExecutionPolicy, bool? pauseWorkflowExecutions, EnterpriseCrmEventbusProtoCoordinate? position, Map<String, String> ? properties, List<EnterpriseCrmEventbusProtoNextTask> ? startTasks, EnterpriseCrmEventbusProtoTriggerCriteria? triggerCriteria, String? triggerId, String? triggerName, String? triggerNumber, String? triggerType}) - EnterpriseCrmFrontendsEventbusProtoTriggerConfig.fromJson(Map json_)
Properties
-
alertConfig
↔ List<
EnterpriseCrmEventbusProtoWorkflowAlertConfig> ? -
An alert threshold configuration for the [trigger + client + workflow]
tuple.
getter/setter pair
- cloudSchedulerConfig ↔ EnterpriseCrmEventbusProtoCloudSchedulerConfig?
-
getter/setter pair
- description ↔ String?
-
User-provided description intended to give more business context about the
task.
getter/setter pair
-
enabledClients
↔ List<
String> ? -
The list of client ids which are enabled to execute the workflow using
this trigger.
getter/setter pair
- errorCatcherId ↔ String?
-
Optional Error catcher id of the error catch flow which will be executed
when execution error happens in the task
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ String?
-
The user created label for a particular trigger.
getter/setter pair
- nextTasksExecutionPolicy ↔ String?
-
Dictates how next tasks will be executed.
Possible string values are:
getter/setter pair
- pauseWorkflowExecutions ↔ bool?
-
If set to true, any upcoming requests for this trigger config will be
paused and the executions will be resumed later when the flag is reset.
getter/setter pair
- position ↔ EnterpriseCrmEventbusProtoCoordinate?
-
Informs the front-end application where to draw this trigger config on the
UI.
getter/setter pair
-
properties
↔ Map<
String, String> ? -
Configurable properties of the trigger, not to be confused with workflow
parameters.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startTasks
↔ List<
EnterpriseCrmEventbusProtoNextTask> ? -
Set of tasks numbers from where the workflow execution is started by this
trigger.
getter/setter pair
- triggerCriteria ↔ EnterpriseCrmEventbusProtoTriggerCriteria?
-
When set, Eventbus will run the task specified in the trigger_criteria and
validate the result using the trigger_criteria.condition, and only execute
the workflow when result is true.
getter/setter pair
- triggerId ↔ String?
-
The backend trigger ID.
getter/setter pair
- triggerName ↔ String?
-
Name of the trigger This is added to identify the type of trigger.
getter/setter pair
- triggerNumber ↔ String?
-
A number to uniquely identify each trigger config within the workflow on
UI.
getter/setter pair
- triggerType ↔ String?
-
Possible string values are:
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited