Using a Configuration Variable to Control a Process Flow

In this example, we demonstrate how a workflow can be adjusted during runtime with the help of a configuration variable value.

Assuming a company has a workflow, where they do not require a specific activity to be executed in a test environment, but they do want it to be executed in production. To achieve such a behavior, we create a model having a configuration variable. If this variable is set to a specific value, the activity foreseen for production only is executed, otherwise skipped. The variable is checked via a transition condition in the model. Testing the example is done in the Stardust Portal, where we change the variable in the Configuration Variables view.

You can create the model as described in one of the following chapters:

Or you can import the completed example models provided by Stardust. Therefore download the following ZIP file containing the configuration variables example models:

all-tutorials.zip

You find the models in folder config-variables.

Chapter Running the Workflow with Different Variable Values demonstrates the workflow depending on different configuration variable settings.