Activation trigger#
The Activation trigger node gets triggered when an event gets fired by Ensemble or a workflow.
Warning
The Activation trigger node has been deprecated. It has been replaced by two new nodes - the Ensemble trigger and the Pathway trigger node. For more details, check out the entry in the breaking changes page.
Keep in mind
If you want to use the Activation trigger node for a workflow, add the node to the workflow. You don't have to create a separate workflow.
The Activation trigger node gets triggered for the Pathway that it gets added to. The Activation trigger node can be used to trigger a Pathway to notify the state of the workflow.
Node Reference#
- Events
- Activation: Run when the Pathway gets activated
- Start: Run when Ensemble starts or restarts
- Update: Run when the Pathway gets saved while it is active
Example Usage#
This Pathway allows you to receive a message on Mattermost when a Pathway is updated. This example usage Pathway uses the following nodes. - Activation trigger
1. Activation trigger node#
Open the Pathway where you want to add the activation workflow. Add the Activation trigger node to the workflow.
The Activation trigger node will trigger the Pathway when the Pathway gets updated.
- Select 'Update' from the Events dropdown list.
2. Mattermost node (post: message)#
This node will send a message in the workflow
channel on Mattermost.
- First of all, you'll have to enter credentials for the Mattermost node. You can find out how to enter credentials for this node here.
- Select a channel from the Channel ID dropdown list.
-
Click on the gears icon next to the Message field click on Add Expression.
-
Enter the following message in the Expression field:
The Pathway {{$workflow.name}}, was updated.
.$workflow.name
returns the name of the workflow. - Click on Execute Node to run the workflow.