Testing a process flow against a virtual environment

Introduction

The initialise flow (advanced) option allows you to run a master process flow against any virtual environment that has a deployed version. Where applicable, you can also add new/override existing environment variables.

This runs the flow and replaces any components configured and deployed for the selected virtual environment.

Need to know

  • The virtual environment selector is only displayed if at least one virtual environment is deployed for your company profile.

  • All virtual environments with a deployed configuration version will be available for selection when testing flows with the initialise flow (advanced) option.

  • If the selected virtual environment is configured with replacement environment variables, these are displayed with an override option.

  • If no virtual environment is selected, you have the option to add new, temporary environment variables for this run (this can be useful for prototyping).

  • If the current (i.e. displayed) process flow version includes flow variables, these are displayed with an override option.

  • When a process flow is run against a virtual environment using the initialise flow (advanced) option, the deployed configuration for the given environment is applied.

Using the initialise flow (advanced) option

1

Access the required process flow

Access the first process flow version that you want to test, so it's displayed on the canvas. If necessary, use the versions panel in process flow settings to switch to the required flow version.

2

Select the initialise flow (advanced)

Select the initialise flow (advanced) option from the actions bar - for example:

The initialise flow (advanced) page is displayed:

Here, the left panel can be used to pass in a specific payload, and the right panel shows whether flow and/or environment values are present.

Please see the Need to know section above for more information on what causes these variables to be displayed.

3

Review flow variables (if applicable)

If a flow variables section is displayed, click the associated arrow to display any flow variables defined for the current version - for example:

If required, you can use the associated toggle option to override the current variable value - for example:

Any value specified here is applied for this run only

4

Review virtual environment variables (if applicable)

If a virtual environment variables section is displayed, it means that at least one virtual environment is deployed for your company profile. Click in the virtual environment field and select the environment that the current flow should run against - for example:

Any replacement environment variables configured for the selected virtual environment are listed below - for example:

If required, you can use the associated toggle option to override the current variable value - for example:

Any value specified here is applied for this run only

5

Run the process flow

Click the initialise flow button at the bottom of this page:

You may need to scroll down to access this option.

6

Check output

As the process flow runs, the live logs will show where any replacements (swaps) are made for the selected environment - for example:

Check the logs and generated payloads to ensure that results are as expected. When you're satisfied that the process flow is running correctly, you can deploy it to the virtual environment.

  • Testing a process flow against a virtual environment

Last updated