Powershell template pre-processing fields From the Pre Processing tab of the activity designer, you can define a script to run before the activity executes. Table 1. Pre-processing fields Field Description Input process script Script to run before the activity executes. Variables Variables from the fields on the activity form that are available to use as building blocks in the input process script. Click the arrow above the field to open the variables list. Click an item in the tree to add it to your script in the appropriate syntax. Each variable in the list matches the execution and input parameters you pass into the activity on the Inputs tab. All activity variables added in the Inputs tab are read-only and are expressed in the pre-processing script with this syntax: activityInput.variable. Before the activity executes and makes a call to the service or host, you can override the effective execution value of this variable by assigning values to the executionParam.variable_name execution parameter. Refer to the specific execution parameters for your template.