Table of Contents
Prompt For Multiple Pipeline Parameter Values
This command prompts a dialog for the user to create multiple pipeline parameters with the specified parameter values. The Prompt for Pipeline Parameter Value command can be used to prompt for just one value.
Pipeline Command
The Prompt For Pipeline Multiple Parameter Values command can be found in the Pipeline Workshop within the Pipeline Control folder as so:
Prompt_For_Multiple_Pipeline_Parameter_Values /PIPELINE_PARAMETER_NAME= /DATATYPE= ! /DEFAULT_VALUE= ! /DEFAULT_VALUE_COUNT=1 ! /PROMPT_TEXT=Modify Pipeline Parameters ;
Command Parameters
The following table shows the command parameters that can be used to define the command and their descriptions:
| Parameter | Description |
| Prompt Text | The prompt given to the user |
| Pipeline Parameter Name | The name(s) of the parameter value(s) to be set |
| Default Value | Specify the default data value |
| Default Value Count | Specify the number of default values |
| Datatype | Specify the parameter's data type (valid types are Boolean, float, string, and integer) |
Dialog
Example 1: Prompting 2 Parameter Values
This example will prompt the user for 2 values. The resulting pipeline parameters PARAM1 and PARAM2 will contain the inputs from the dialog. In this example, PARAM1 is an INTEGER type with 1 as the default value and PARAM2 is an INTEGER type with 2 as the default value.
The completed command should look like the following:
Prompt_For_Multiple_Pipeline_Parameter_Values /PIPELINE_PARAMETER_NAME=PARAM1+PARAM2 /DATATYPE=int+int /DEFAULT_VALUE=1+2 ;
Example 2: Modifying Default Value Count
Using the DEFAULT_VALUE_COUNT parameter:
Prompt_For_Multiple_Pipeline_Parameter_Values /PIPELINE_PARAMETER_NAME=SCOTT+SCOTT2 /DATATYPE=string+int /DEFAULT_VALUE=one+two+3+4+5+6 /DEFAULT_VALUE_COUNT=2+4;




