Steps to create a chain
When creating a chain, there are certain steps that need to be followed:
1. List the actions that the chain should perform.
2. Create the programs that perform separate actions.
3. Enable the programs so that they can be used in the chain.
4. Design the rules that the Scheduler must follow to work through the chain.
5. Check if a chain step depends on events from outside the chain.
6. Create the chain.
a. Use
evaluation_interval
when a step depends on something outside the chain.b. Leave
evaluation_interval
undefined when no external dependency exists.
7. Create the chain steps by calling the created and enabled programs.
8. Create the chain rules for every step with rules (at least) for success and failure.
9. Enable the chain.
10. Create a job that is going to run the chain.
Let's go through this list of actions in the upcoming sections.