The Run Tool has the capability to set process environment variables at runtime, such as the Data Sync registry path.
To add the step to your Run Tool Project click onto the Add Step
button and select Set Process Environment Variable
from the list.
Enter in a name for the step and click OK.
This will then open the configuration window. Enter in the required parameters and click OK to add the step.
Setting | Description |
---|---|
Variable Name | The name of the variable being passed to the project. The DATASYNCREGISTRYPATH is available from the dropdown menu. |
Variable Value | The variable value to set. You can pass in a user setting as the value to be set at run time. |
Error if Value is Empty | Uncheck the checkbox if you do not want the step to fail if the value is empty. |
The step will then be added to the bottom of your project, move this to where you need it to be, set the run condition and save the project.