Replacement scripts

Introduction

Having chosen to configure script replacements for a virtual environment, a new replacement rule is displayed, ready for you to configure:

Having defined the first rule, you can add more - you must create one replacement rule for every script that you need to replace in every process flow that will run in this environment.

Defining replacement rules for a script

1

Select the required ORIGINAL script

Use the original dropdown list to select the first script in a 'master' process flow that must be replaced when this process flow runs in the given virtual environment - for example:

As you work through your replacement configuration, it's helpful to view related 'master' process flows in another browser tab. You can duplicate a Patchworks browser tab and navigate to a different page whenever needed.

2

Select the required ORIGINAL script version

Move down to the field below and choose which version of the selected script to apply - for example:

3

Select the required REPLACEMENT script

Use the replacement dropdown list to select the replacement script that must be used when this process flow runs in the given virtual environment - for example:

4

Select the required REPLACEMENT script version

Move down to the field below and choose which version of the selected script to apply - for example:

5

Confirm your selections

Click the create button (associated with this replacement rule) to confirm your selections:

The rule is added:

Once a rule is confirmed, it can't be edited. If you need to change a replacement rule, use the 'trash' icon to remove it and add a new one.

6

Add more replacement rules for scripts

To add another replacement rule for a script, click the top-right create button:

Update the new rule as required, then click the associated create button to confirm your selections:

Repeat as many times as needed to define all required script replacements for all process flows that will be running in this virtual environment.

If you don't want to define ALL script lookup replacements now, that's OK. For example, you might choose to add the minimum number of replacements needed for testing, then define remaining rules (in a new draft) later, after initial testing is complete.

Last updated