JavaScript probe template execution parameters

You use execution parameters to create the input process script in the Preprocessing form of the activity designer.

For descriptions of the JavaScript Probe command fields, see the table in Configure the JavaScript Probe execution command.
Note: You must use the executionParam. prefix with all variables in this table.
Table 1. JavaScript template execution parameters
Name Variable Type Usage
Script Type script_type Enumerated Type of script to run. The possible types are:
  • custom_javascript_typ
  • mid_script_include_type
Script script String Script that runs custom JavaScript when the script_type is custom_javascript_type.
Mid script include mid_script_include Reference The sys_id reference associated with the MID Server script include to call, when the script_type is mid_script_include_type.
Source source String Target host on which to run the script.
MidCapabilities midCapabilities String (comma separated) List of required MID Server capabilities.
Parameters parameters Array of JavaScript object Array of JavaScript objects, expressed with the executionParam. prefix. To add more name-value pairs to the parameters array, append them to the existing array. Create a JavaScript object with the following syntax, and add it to the executionParam.parameter array. This assigns additional parameters to the message:
var newParameter = {"name":"parameterName","value":"parameterValue"};
ValueCapabilities valueCapabilities Array of hashmap Capability values used to select the MID Server. For more information, see Set up domain separation for MID servers. If there are additional capabilities that are assigned by value, use this example to customize the MID Server selection: