Running the Workflow with Different Variable Values
Now we will test our workflow in the Stardust Portal
with different values of the configuration variable.
Running the Workflow in Test Mode
First we run the model workflow with the default value TEST.
- Start your server and deploy the model. For details on how to deploy a model,
please refer to the chapter
Deploying a Workflow Model
of the Support Case Example.
- Start the Stardust Portal as described in the chapter
Logging to the Stardust Portal of the
End User Handbook.
Login as administrator (
motu/motu). You can use the Shift-F8 short key.
- In the Workflow Perspective, start the available process.
- Complete activity Starting Activity.

- Per default, the model is run in test mode as the default
value of the configuration variable is "TEST" (or different to "PRODUCTION").
Thus, the activity Activity Production Only is skipped
and activity Continue is opened.

Switching to Production Mode
To run the model workflow in production mode, we change the value
of our configuration variable to PRODUCTION.
Therefore we need to perform the following steps:
- Switch to the Configuration Variables view
in the Administration Perspective.

For details on this view, please refer to chapter
Viewing and Editing Configuration Variables of the
Stardust Portal guide.
- In the Value column, change the value of the variable to
"PRODUCTION".

- A red little star in the upper right corner of the Value
entry field indicates that the variable has been changed but not saved.
Click the Save icon
in the
upper-right corner to save the new configuration variable value:

- A dialog opens with the validation status of the configuration variable change.

- Click OK
- The red star now is no longer displayed, which indicates that the changed value has been saved.

- Now start the process again.
- Complete activity Starting Activity.
- The transition condition checks the value of the variable and
decides to run the activity foreseen for production. Thus, the next
activity opening is Activity Production Only.

- Completing this activity results in continuing with activity
Continue.
The value of the variable is stored in later versions of this
process model. In case you want to run the model again in test mode and skip the activity
for production, change the variable value to "TEST" accordingly.