Enrichment Service Triggers
CUE supports a number of different triggers that make it possible to call enrichment services at different points in the editing/publishing process. There is also a timer-based trigger that will call an enrichment service repeatedly at a specified interval.
The triggers are:
before-save
-
Before saving, when the user presses the Save button. No properties required.
after-save
-
After saving, when the user presses the Save button. No properties required.
before-save-state-draft
-
Before saving, when the user changes the state to Draft. No properties required.
after-save-state-draft
-
After saving, when the user changes the state to Draft. No properties required.
before-save-state-submitted
-
Before saving, when the user changes the state to Submitted. No properties required.
after-save-state-submitted
-
After saving, when the user changes the state to Submitted. No properties required.
before-save-state-approved
-
Before saving, when the user changes the state to Approved. No properties required.
after-save-state-approved
-
After saving, when the user changes the state to Approved. No properties required.
before-save-state-published
-
Before saving, when the user changes the state to Published. No properties required.
after-save-state-published
-
After saving, when the user changes the state to Published. No properties required.
before-save-state-deleted
-
Before saving, when the user changes the state to Deleted. No properties required.
after-save-state-deleted
-
After saving, when the user changes the state to Deleted. No properties required.
editor-opened
-
A specified number of seconds after the content item is opened for editing. You must specify the number of seconds to wait as a property:
delay:
n. editor-recurring
-
At specified intervals for as long as the content item is open for editing. You must specify the length of the interval (in seconds) as a property:
interval:
n. on-click
-
When the user clicks a button in the content item. No properties required. For more information about this kind of trigger see the last example in Configuration Examples.