Get desktop application:
View/edit binary Protocol Buffers messages
WorkflowRule describes a rule that can be applied to any workflow in this namespace.
Used in: , ,
Rule creation time.
Rule specification
Identity of the actor that created the rule (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: It is better reflect the intent this way, we will also have updated_by. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Same as above. All other options sounds clumsy --)
Rule description.
Used in:
Supported actions.
Used in:
(message has no fields)
Used in: , , ,
The id of the new workflow rule. Must be unique within the namespace. Can be set by the user, and can have business meaning.
Specifies how the rule should be triggered and evaluated. Currently, only "activity start" type is supported.
Restricted Visibility query. This query is used to filter workflows in this namespace to which this rule should apply. It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated. The following workflow attributes are supported: - WorkflowType - WorkflowId - StartTime - ExecutionStatus
WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
Expiration time of the rule. After this time, the rule will be deleted. Can be empty if the rule should never expire.
Activity trigger will be triggered when an activity is about to start.
Used in:
Activity predicate is a SQL-like string filter parameter. It is used to match against workflow data. The following activity attributes are supported as part of the predicate: - ActivityType: An Activity Type is the mapping of a name to an Activity Definition.. - ActivityId: The ID of the activity. - ActivityAttempt: The number attempts of the activity. - BackoffInterval: The current amount of time between scheduled attempts of the activity. - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused". - TaskQueue: The name of the task queue the workflow specified that the activity should run on. Activity predicate support the following operators: * =, !=, >, >=, <, <= * AND, OR, () * BETWEEN ... AND STARTS_WITH