Approval Rule and Approval Flow Messages
Messages that represent a change or an action performed on an Approval Rule or Approval Flow.
Messages are available in a variety of Message Types specific to a resource. Common fields across all Message Types are represented by a base resource, Message.
You can access Messages either by querying the Messages API, or by subscribing to them with a Subscription. To query Messages using the API, you must enable the feature first.
Approval Rule Messages
Messages that represent a change or an action performed on an Approval Rule.
Approval Rule Created
Generated after an Approval Rule is created.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalRuleCreated"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
approvalRule | The Approval Rule that was created. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Rule Status Set
Generated after a successful Set Status update action.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalRuleStatusSet"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
status | Status of the ApprovalRule after the Set Status update action. |
oldStatus | Status of the ApprovalRule before the Set Status update action. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Rule Name Set
Generated after a successful Set Name update action.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalRuleNameSet"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
nameString | Name of the ApprovalRule after the Set Name update action. |
oldNameString | Name of the ApprovalRule before the Set Name update action. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Rule Description Set
Generated after a successful Set Description update action.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalRuleDescriptionSet"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
descriptionString | Description of the ApprovalRule after the Set Description update action. |
oldDescriptionString | Description of the ApprovalRule before the Set Description update action. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Rule Key Set
Generated after a successful Set Key update action.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
keyString | Description of the ApprovalRule after the Set Key update action. |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalRuleKeySet"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
oldKeyString | Description of the ApprovalRule before the Set Key update action. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Rule Predicate Set
Generated after a successful Set Predicate update action.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalRulePredicateSet"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
predicateString | Name of the ApprovalRule after the Set Predicate update action. |
oldPredicateString | Name of the ApprovalRule before the Set Predicate update action. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Rule Approvers Set
Generated after a successful Set Approvers update action.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalRuleApproversSet"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
approvers | Approver hierarchy of the ApprovalRule after the Set Approvers update action. |
oldApprovers | Approver hierarchy of the ApprovalRule before the Set Approvers update action. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Rule Requesters Set
Generated after a successful Set Requester update action.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalRuleRequestersSet"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
requestersArray of RuleRequester | RuleRequester of the ApprovalRule after the Set Requester update action. |
oldRequestersArray of RuleRequester | RuleRequester of the ApprovalRule after the Set Requester update action. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Flow Messages
Messages that represent a change or an action performed on an Approval Flow.
Approval Flow Created
Generated after an Approval Flow is created.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalFlowCreated"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
approvalFlow | The Approval Flow that was created. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Flow Approved
Generated after an approval in the Approval Flow.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalFlowApproved"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
associate | Reference to the Customer who approved the Approval Flow. |
order | |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Flow Rejected
Generated after an Approval Flow is rejected.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalFlowRejected"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
associate | Reference to the Customer who rejected the Approval Flow. |
rejectionReasonString | Description of the reason why the Approval Flow was rejected. |
order | |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |
Approval Flow Completed
Generated after an Approval Flow is completed and reaches a final status.
idString | Unique identifier of the Message. Can be used to track which Messages have been processed. |
versionInt | Version of a resource. In case of Messages, this is always |
sequenceNumberInt | Message number in relation to other Messages for a given resource. The |
resource | Reference to the resource on which the change or action was performed. |
resourceVersionInt | Version of the resource on which the change or action was performed. |
typeString | "ApprovalFlowCompleted"Message Type of the Message. |
resourceUserProvidedIdentifiers | User-provided identifiers of the resource, such as |
status | Final status of the Approval Flow. |
order | Reference to the Order related to the completed Approval Flow. |
createdAt | Date and time (UTC) the Message was generated. |
createdByBETA | IDs and references that created the Message. |
lastModifiedAt | Value of |
lastModifiedByBETA | IDs and references that last modified the Message. |