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.

  1. 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.
  2. 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.
  3. In the Workflow Perspective, start the available process.
  4. Complete activity Starting Activity.

  5. 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:

  1. 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.
  2. In the Value column, change the value of the variable to "PRODUCTION".

  3. 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 Save in the upper-right corner to save the new configuration variable value:

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

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

  7. Now start the process again.
  8. Complete activity Starting Activity.
  9. 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.

  10. 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.