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.
Keep in mind that replacement connector instances for the selected virtual environment version might be for a live system! If in doubt, double-check the configuration for virtual environments before testing your process flow(s).
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, temporaryenvironment 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
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.
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.
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:

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:

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

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.
Related pages
Testing a process flow against a virtual environment
Last updated