Property description

The trigger asset configures what activates an automation rule. This article

  • In-app and user actions (such as creating or modifying an object) or
  • For scheduled event (specifying when and how often the rule should run), see Triggers (automation).

Minimal JSON: Trigger

{
  "key": "",
  "type": "",
  "": [
    ""
  ]
}
{
  "key": "attribute_changed",
  "type": "attributeChanged",
  "attributeTypeKeys": [
    "core_summary",
    "core_description"
  ]
},
{
  "key": "workflow_state_changed",
  "type": "workflowStateChanged",
  "workflowStateKeys": [
    "core_draft"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeType of the trigger.stringYes
Keys of the changed properties. The second mandatory property depends on the selected trigger type.array of stringsYes

Supported type values

Trigger typeDescription
anonymousConceptCreatedAn anonymous concept of the specified object type(s) was created.
anonymousConceptPublishedAn anonymous concept of the specified object type(s) was published.
attributeChangedSpecified attribute type(s) were changed.
automationFinishedSpecified automation rule(s) finished running.
cloneObjectFinishedAn object cloning operation finished.
commentAddedA new comment of the specified comment type was added.
commentChangedA comment of the specified type was changed.
commentDeletedA comment of the specified type was deleted.
commentReplyAddedA new reply of the specified comment type was added.
commentReplyChangedA reply of the specified comment type was changed.
commentReplyDeletedA reply of the specified comment type was deleted.
conceptCreatedA concept for the specified object type(s) was created. Excludes concepts created via automation rules using dynamic expressions.
conceptPublishedA concept of the specified object type(s) was published.
ingestionFinishedIngestion(s) for the specified application(s) finished. Only newly added objects trigger the automation.
objectAddedSpecified object type(s) were added.
objectDeletedSpecified object type(s) were deleted.
objectMovedAn object was moved in the hierarchy under a new parent, or its sort order changed.
objectRenamedSpecified object type(s) were renamed.
relationAddedSpecified object relation(s) were added.
relationDeletedSpecified object relation(s) were deleted.
userRelationAddedSpecified user relation(s) were added.
userRelationDeletedSpecified user relation(s) were deleted.
userSyncFinishedA user synchronization run finished. Runs once per completed run and passes the affected users to the automation rule.
workflowStateChangedWorkflow state(s) were changed.

anonymousConceptCreated

An anonymous concept of the specified object type(s) was created.

{
  "key": "",
  "type": "anonymousConceptCreated",
  "objectTypeKeys": []
}
{
  "key": "anonymous_concept_created",
  "type": "anonymousConceptCreated",
  "objectTypeKeys": [
    "core_documentation_document_set"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeanonymousConceptCreatedstringYes
objectTypeKeysKeys of the object types for which the trigger is applicable.array of stringsYes

anonymousConceptPublished

An anonymous concept of the specified object type(s) was published.

{
  "key": "",
  "type": "anonymousConceptPublished",
  "objectTypeKeys": []
}
{
  "key": "anonymous_concept_published",
  "type": "anonymousConceptPublished",
  "objectTypeKeys": [
    "core_documentation_document_set"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeanonymousConceptPublishedstringYes
objectTypeKeysKeys of the object types for which the trigger is applicable.array of stringsYes

attributeChanged

Specified attribute type(s) were changed.

{
  "key": "",
  "type": "attributeChanged",
  "attributeTypeKeys": []
}
{
  "key": "attribute_changed",
  "type": "attributeChanged",
  "attributeTypeKeys": [
    "core_definition"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeattributeChangedstringYes
attributeTypeKeysKeys of the attribute types for which the trigger is applicable.array of stringsYes
Tip

This trigger also fires when a completed import causes this type of change.

automationFinished

Specified automation rule(s) finished running.

{
  "key": "",
  "type": "automationFinished",
  "automationKeys": []
}
{
  "key": "automation_finished",
  "type": "automationFinished",
  "automationKeys": [
    "cust_completed_attributes"
  ],
  "useAutomationResultData": true
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeautomationFinishedstringYes
automationKeysKeys of the automation rules for which the trigger is applicable.array of stringsYes
useAutomationResultDataIndicates whether the data from the finished automation rule will be included in this automation rule.booleanNo

cloneObjectFinished

Finished object cloning.

{
  "key": "",
  "type": "cloneObjectFinished",
  "applicationKeys": []
}
{
  "key": "clone_object_finished",
  "type": "cloneObjectFinished",
  "applicationKeys": [
    "core_documentation_app"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typecloneObjectFinishedstringYes
applicationKeysKeys of the application where an object was cloned.array of stringsYes

commentAdded

A new comment of specified comment type was added.

{
  "key": "",
  "type": "commentAdded",
  "commentTypeKeys": []
}
{
  "key": "comment_added",
  "type": "commentAdded",
  "commentTypeKeys": [
    "core_comment"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typecommentAddedstringYes
commentTypeKeysKeys of the comment types for which the trigger is applicable.array of stringsYes

commentChanged

A comment of specified type was changed.

{
  "key": "",
  "type": "commentChanged",
  "commentTypeKeys": []
}
{
  "key": "comment_changed",
  "type": "commentChanged",
  "commentTypeKeys": [
    "core_comment"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typecommentChangedstringYes
commentTypeKeysKeys of the comment types for which the trigger is applicable.array of stringsYes

commentDeleted

A comment of specified type was deleted.

{
  "key": "",
  "type": "commentDeleted",
  "commentTypeKeys": []
}
{
  "key": "comment_deleted",
  "type": "commentDeleted",
  "commentTypeKeys": [
    "core_comment"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typecommentDeletedstringYes
commentTypeKeysKeys of the comment types for which the trigger is applicable.array of stringsYes

commentReplyAdded

A new reply of specified comment type was added.

{
  "key": "",
  "type": "commentReplyAdded",
  "commentTypeKeys": []
}
{
  "key": "comment_reply_added",
  "type": "commentReplyAdded",
  "commentTypeKeys": [
    "core_comment"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typecommentReplyAddedstringYes
commentTypeKeysKeys of the comment types for which the trigger is applicable.array of stringsYes

commentReplyChanged

A reply of specified comment type was changed.

{
  "key": "",
  "type": "commentReplyChanged",
  "commentTypeKeys": []
}
{
  "key": "comment_reply_changed",
  "type": "commentReplyChanged",
  "commentTypeKeys": [
    "core_comment"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typecommentReplyChangedstringYes
commentTypeKeysKeys of the comment types for which the trigger is applicable.array of stringsYes

commentReplyDeleted

A reply of specified comment type was deleted.

{
  "key": "",
  "type": "commentReplyDeleted",
  "commentTypeKeys": []
}
{
  "key": "comment_reply_deleted",
  "type": "commentReplyDeleted",
  "commentTypeKeys": [
    "core_comment"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typecommentReplyDeletedstringYes
commentTypeKeysKeys of the comment types for which the trigger is applicable.array of stringsYes

conceptCreated

A concept for the specified object type(s) was created. The trigger does not include concepts created via automation rules using dynamic expressions.

{
  "key": "",
  "type": "conceptCreated",
  "objectTypeKeys": [
    "core_documentation_document_set"
  ]
}
{
  "key": "concept_created",
  "type": "conceptCreated",
  "objectTypeKeys": [
    "core_documentation_document_set"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeconceptCreatedstringYes
objectTypeKeysKeys of the object types for which the trigger is applicable.array of stringsYes

conceptPublished

A concept of the specified object type(s) was published.

{
  "key": "",
  "type": "conceptPublished",
  "objectTypeKeys": []
}
{
  "key": "concept_published",
  "type": "conceptPublished",
  "objectTypeKeys": [
    "core_documentation_document_set"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeconceptPublishedstringYes
objectTypeKeysKeys of the object types for which the trigger is applicable.array of stringsYes

ingestionFinished

Ingestion(s) for specified application(s) finished. Only newly added objects will trigger the automation, ingestion of changes to existing attributes will not trigger it.

{
  "key": "",
  "type": "ingestionFinished",
  "applicationKeys": []
}
{
  "key": "ingestion_finished",
  "type": "ingestionFinished",
  "applicationKeys": [
    "core_documentation"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeingestionFinishedstringYes
applicationKeysKeys of the applications for which the trigger is applicable.array of stringsYes

objectAdded

Specified object type(s) were added.

{
  "key": "",
  "type": "objectAdded",
  "objectTypeKeys": []
}
{
  "key": "object_added",
  "type": "objectAdded",
  "objectTypeKeys": [
    "core_documentation_document_set"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeobjectAddedstringYes
objectTypeKeysKeys of the object types for which the trigger is applicable.array of stringsYes

objectDeleted

Specified object type(s) were deleted.

{
  "key": "",
  "type": "objectDeleted",
  "objectTypeKeys": []
}
{
  "key": "object_deleted",
  "type": "objectDeleted",
  "objectTypeKeys": [
    "core_documentation_document"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeobjectDeletedstringYes
objectTypeKeysKeys of the object types for which the trigger is applicable.array of stringsYes

objectMoved

An object was moved in the hierarchy under a new parent or the sort order was changed.

{
  "key": "",
  "type": "objectMoved"
}
{
  "key": "object_moved",
  "type": "objectMoved",
  "objectTypeKeys": [
    "core_documentation_document_set"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeobjectMovedstringYes
objectTypeKeysKeys of the object types for which the trigger is applicable.array of stringsNo

objectRenamed

Specified object type(s) were renamed.

{
  "key": "",
  "type": "objectRenamed",
  "objectTypeKeys": []
}
{
  "key": "object_renamed",
  "type": "objectRenamed",
  "objectTypeKeys": [
    "core_documentation_document_set"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeobjectRenamedstringYes
objectTypeKeysKeys of the object types for which the trigger is applicable.array of stringsYes

relationAdded

Specified object relation(s) were added.

{
  "key": "",
  "type": "relationAdded",
  "relationTypeKeys": []
}
{
  "key": "relation_added",
  "type": "relationAdded",
  "relationTypeKeys": [
    "core_isMentioning"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typerelationAddedstringYes
relationTypeKeysKeys of the relation types for which the trigger is applicable.array of stringsYes
Tip

This trigger also fires when a completed import causes this type of change.

It also fires when a user adds an object link to a rich-text attribute, which creates an “is referencing” / “is referenced by” relation (once for each side). This applies to a normal save and to a bulk edit. It does not fire when dependencies are recalculated or when old-format tags are migrated.

relationDeleted

Specified object relation(s) were deleted.

{
  "key": "",
  "type": "relationDeleted",
  "relationTypeKeys": []
}
{
  "key": "relation_deleted",
  "type": "relationDeleted",
  "relationTypeKeys": [
    "core_isMentioning"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typerelationDeletedstringYes
relationTypeKeysKeys of the relation types for which the trigger is applicable.array of stringsYes
Tip

This trigger also fires when a completed import causes this type of change.

It also fires when a user removes an object link from a rich-text attribute, which deletes an “is referencing” / “is referenced by” relation (once for each side). This applies to a normal save and to a bulk edit. It does not fire when dependencies are recalculated or when old-format tags are migrated.

userRelationAdded

Specified user relation(s) were added.

{
  "key": "",
  "type": "userRelationAdded",
  "userRelationTypeKeys": []
}
{
  "key": "user_relation_added",
  "type": "userRelationAdded",
  "userRelationTypeKeys": [
    "core_steward"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeuserRelationAddedstringYes
userRelationTypeKeysKeys of the user relation types for which the trigger is applicable.array of stringsYes
Tip

This trigger also fires when a completed import causes this type of change.

userRelationDeleted

Specified user relation(s) were deleted.

{
  "key": "",
  "type": "userRelationDeleted",
  "userRelationTypeKeys": []
}
{
  "key": "user_relation_deleted",
  "type": "userRelationDeleted",
  "userRelationTypeKeys": [
    "core_steward"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeuserRelationDeletedstringYes
userRelationTypeKeysKeys of the user relation types for which the trigger is applicable.array of stringsYes
Tip

This trigger also fires when a completed import causes this type of change.

userSyncFinished

A user synchronization run finished. The trigger is evaluated once per completed run, not once per synchronized user. The users affected by the run enter the automation rule’s stream. If no users remain after the filters are applied, the automation rule performs no action, and the run still ends successfully.

Both filters are optional. Use syncSourceKeys to limit the rule to runs from specific sources, and changeTypeKeys to limit which affected users enter the stream. A value outside the supported values makes the package installation fail.

Actions that work with objects skip the user rows and count them as skipped in the run summary.

The dry-run preview of an automation rule does not support this trigger.

For synchronizations that run through the identity service, the users added, changed and removed by each run are listed in the log of the run’s task in Settings > General > Task log.

{
  "key": "",
  "type": "userSyncFinished"
}
{
  "key": "sync_added",
  "type": "userSyncFinished",
  "syncSourceKeys": [
    "azureAd"
  ],
  "changeTypeKeys": [
    "added"
  ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeuserSyncFinishedstringYes
syncSourceKeysKeys of the user synchronization sources for which the trigger is applicable. Empty or omitted means any source.array of strings: ldap, azureAd, google, externalNo
changeTypeKeysTypes of user change that enter the stream. Empty or omitted means all types. added: the user was newly created or restored. changed: the role, group membership or attributes of an existing user changed. removed: the user is no longer in the source and was deactivated.array of strings: added, changed, removedNo

workflowStateChanged

Workflow state(s) were changed.

{
  "key": "",
  "type": "workflowStateChanged",
  "workflowStateKeys": []
}
{
  "key": "workflow_state_changed",
  "type": "workflowStateChanged",
  "workflowStateKeys": [
    "core_documentation_document_set"
  ],
  "userRelationTypeKeys": [
    "core_steward"
  ],
  "multipleUsersApproval": true
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the trigger.stringYes
typeworkflowStateChangedstringYes
workflowStateKeysKeys of the initial workflow state.array of stringsYes
userRelationTypeKeysSpecifies the user relation type in which the user who changed the workflow state is.array of stringsNo
multipleUsersApprovalUsed in case of workflows that need multi-user approval. Determines whether the automation runs even if the workflow state was not changed (the workflow change has not been approved by all users).booleanNo
Tip

This trigger also fires when a completed import causes this type of change.