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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | Type of the trigger. | string | Yes |
| Keys of the changed properties. The second mandatory property depends on the selected trigger type. | array of strings | Yes |
Supported type values
| Trigger type | Description |
|---|---|
| anonymousConceptCreated | An anonymous concept of the specified object type(s) was created. |
| anonymousConceptPublished | An anonymous concept of the specified object type(s) was published. |
| attributeChanged | Specified attribute type(s) were changed. |
| automationFinished | Specified automation rule(s) finished running. |
| cloneObjectFinished | An object cloning operation finished. |
| commentAdded | A new comment of the specified comment type was added. |
| commentChanged | A comment of the specified type was changed. |
| commentDeleted | A comment of the specified type was deleted. |
| commentReplyAdded | A new reply of the specified comment type was added. |
| commentReplyChanged | A reply of the specified comment type was changed. |
| commentReplyDeleted | A reply of the specified comment type was deleted. |
| conceptCreated | A concept for the specified object type(s) was created. Excludes concepts created via automation rules using dynamic expressions. |
| conceptPublished | A concept of the specified object type(s) was published. |
| ingestionFinished | Ingestion(s) for the specified application(s) finished. Only newly added objects trigger the automation. |
| objectAdded | Specified object type(s) were added. |
| objectDeleted | Specified object type(s) were deleted. |
| objectMoved | An object was moved in the hierarchy under a new parent, or its sort order changed. |
| objectRenamed | Specified object type(s) were renamed. |
| relationAdded | Specified object relation(s) were added. |
| relationDeleted | Specified object relation(s) were deleted. |
| userRelationAdded | Specified user relation(s) were added. |
| userRelationDeleted | Specified user relation(s) were deleted. |
| userSyncFinished | A user synchronization run finished. Runs once per completed run and passes the affected users to the automation rule. |
| workflowStateChanged | Workflow 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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | anonymousConceptCreated | string | Yes |
objectTypeKeys | Keys of the object types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | anonymousConceptPublished | string | Yes |
objectTypeKeys | Keys of the object types for which the trigger is applicable. | array of strings | Yes |
attributeChanged
Specified attribute type(s) were changed.
{
"key": "",
"type": "attributeChanged",
"attributeTypeKeys": []
}{
"key": "attribute_changed",
"type": "attributeChanged",
"attributeTypeKeys": [
"core_definition"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | attributeChanged | string | Yes |
attributeTypeKeys | Keys of the attribute types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | automationFinished | string | Yes |
automationKeys | Keys of the automation rules for which the trigger is applicable. | array of strings | Yes |
useAutomationResultData | Indicates whether the data from the finished automation rule will be included in this automation rule. | boolean | No |
cloneObjectFinished
Finished object cloning.
{
"key": "",
"type": "cloneObjectFinished",
"applicationKeys": []
}{
"key": "clone_object_finished",
"type": "cloneObjectFinished",
"applicationKeys": [
"core_documentation_app"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | cloneObjectFinished | string | Yes |
applicationKeys | Keys of the application where an object was cloned. | array of strings | Yes |
commentAdded
A new comment of specified comment type was added.
{
"key": "",
"type": "commentAdded",
"commentTypeKeys": []
}{
"key": "comment_added",
"type": "commentAdded",
"commentTypeKeys": [
"core_comment"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | commentAdded | string | Yes |
commentTypeKeys | Keys of the comment types for which the trigger is applicable. | array of strings | Yes |
commentChanged
A comment of specified type was changed.
{
"key": "",
"type": "commentChanged",
"commentTypeKeys": []
}{
"key": "comment_changed",
"type": "commentChanged",
"commentTypeKeys": [
"core_comment"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | commentChanged | string | Yes |
commentTypeKeys | Keys of the comment types for which the trigger is applicable. | array of strings | Yes |
commentDeleted
A comment of specified type was deleted.
{
"key": "",
"type": "commentDeleted",
"commentTypeKeys": []
}{
"key": "comment_deleted",
"type": "commentDeleted",
"commentTypeKeys": [
"core_comment"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | commentDeleted | string | Yes |
commentTypeKeys | Keys of the comment types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | commentReplyAdded | string | Yes |
commentTypeKeys | Keys of the comment types for which the trigger is applicable. | array of strings | Yes |
commentReplyChanged
A reply of specified comment type was changed.
{
"key": "",
"type": "commentReplyChanged",
"commentTypeKeys": []
}{
"key": "comment_reply_changed",
"type": "commentReplyChanged",
"commentTypeKeys": [
"core_comment"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | commentReplyChanged | string | Yes |
commentTypeKeys | Keys of the comment types for which the trigger is applicable. | array of strings | Yes |
commentReplyDeleted
A reply of specified comment type was deleted.
{
"key": "",
"type": "commentReplyDeleted",
"commentTypeKeys": []
}{
"key": "comment_reply_deleted",
"type": "commentReplyDeleted",
"commentTypeKeys": [
"core_comment"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | commentReplyDeleted | string | Yes |
commentTypeKeys | Keys of the comment types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | conceptCreated | string | Yes |
objectTypeKeys | Keys of the object types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | conceptPublished | string | Yes |
objectTypeKeys | Keys of the object types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | ingestionFinished | string | Yes |
applicationKeys | Keys of the applications for which the trigger is applicable. | array of strings | Yes |
objectAdded
Specified object type(s) were added.
{
"key": "",
"type": "objectAdded",
"objectTypeKeys": []
}{
"key": "object_added",
"type": "objectAdded",
"objectTypeKeys": [
"core_documentation_document_set"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | objectAdded | string | Yes |
objectTypeKeys | Keys of the object types for which the trigger is applicable. | array of strings | Yes |
objectDeleted
Specified object type(s) were deleted.
{
"key": "",
"type": "objectDeleted",
"objectTypeKeys": []
}{
"key": "object_deleted",
"type": "objectDeleted",
"objectTypeKeys": [
"core_documentation_document"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | objectDeleted | string | Yes |
objectTypeKeys | Keys of the object types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | objectMoved | string | Yes |
objectTypeKeys | Keys of the object types for which the trigger is applicable. | array of strings | No |
objectRenamed
Specified object type(s) were renamed.
{
"key": "",
"type": "objectRenamed",
"objectTypeKeys": []
}{
"key": "object_renamed",
"type": "objectRenamed",
"objectTypeKeys": [
"core_documentation_document_set"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | objectRenamed | string | Yes |
objectTypeKeys | Keys of the object types for which the trigger is applicable. | array of strings | Yes |
relationAdded
Specified object relation(s) were added.
{
"key": "",
"type": "relationAdded",
"relationTypeKeys": []
}{
"key": "relation_added",
"type": "relationAdded",
"relationTypeKeys": [
"core_isMentioning"
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | relationAdded | string | Yes |
relationTypeKeys | Keys of the relation types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | relationDeleted | string | Yes |
relationTypeKeys | Keys of the relation types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | userRelationAdded | string | Yes |
userRelationTypeKeys | Keys of the user relation types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | userRelationDeleted | string | Yes |
userRelationTypeKeys | Keys of the user relation types for which the trigger is applicable. | array of strings | Yes |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | userSyncFinished | string | Yes |
syncSourceKeys | Keys of the user synchronization sources for which the trigger is applicable. Empty or omitted means any source. | array of strings: ldap, azureAd, google, external | No |
changeTypeKeys | Types 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, removed | No |
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
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the trigger. | string | Yes |
type | workflowStateChanged | string | Yes |
workflowStateKeys | Keys of the initial workflow state. | array of strings | Yes |
| userRelationTypeKeys | Specifies the user relation type in which the user who changed the workflow state is. | array of strings | No |
| multipleUsersApproval | Used 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). | boolean | No |
This trigger also fires when a completed import causes this type of change.