Skip to main content

Interface: IActivityStartingTrigger

v1.WorkflowRuleSpec.IActivityStartingTrigger

Properties of an ActivityStartingTrigger.

Implemented by

Properties

predicate

Optional predicate: null | string

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