Dynamic Configuration
When defining automation which needs to interact with external systems or you need to make the workflow execution configurable, static workflows may prove challenging to use.
You can define a settings
module where you can define all of the configurable parameters your automation requires.
This can be anything from URL addresses to login credentials and access tokens.
When storing access tokens and other credentials, make sure to properly configure access control. |
Figure 1. The screenshot outlines a basic example of the
settings
module.Inside your workflow, simply fetch the record from the settings
module and configure your execution using it’s values.
Figure 2. The screenshot outlines a basic example of a workflow that utilizes the
settings
module.You can find the source code for the workflow here.