Artifact Creation and Property Update Triggers Workflow Example
1 min
this example demonstrates how the creation of a new artifact, and the updating of an artifact property can be events that trigger actions this linear workflow includes four states and three connecting transitions (a) these transitions are straightforward, as they define the flow from one state to the next however, they implicitly coincide with triggered actions (b) the newartifacts element indicates there is at least one new artifact creation event that triggers an action the single newartifact element defines the individual new artifact creation event in this example, the newartifact element has two trigger elements defined within it these element blocks define the actions that will occur after the new artifact creation event (c) the first action is to send an email broadcast to a group, indicating a new artifact is ready for review (d) the second action is to send a message to an external application via a webhook click here http //help blueprintcloud com/storyteller/4 2/content/pdf/webhookpayload artifactcreation txt for an example of a webhook payload that is sent after a new artifact has been created these actions will always occur at the beginning of the artifact's workflow life cycle, when it is in a new state ("state a (new)") (e) the propertychange element indicates there is at least one artifact property update event that triggers an action (f) the single propertychange element block defines the action and conditions a standard artifact's property is changed, resulting in an email notification this action will always occur when the artifact is in state b or state c