Parameterize the Process Execution
A graph is a network of operators connected to each other using typed input ports and output ports for data transfer. Users can define and configure the operators in a graph.
There are two ways to provide values to the substitution parameter. You can provide values at runtime (when you execute the graph) or reference the value of another configuration parameter from the same operator.
To define a substitution parameter, provide the value to the configuration parameter in the format, ${parameter_name}.
Here, parameter_name is the name of the substitution parameter.
- If the name of the substitution parameter matches the name of a configuration parameter of the operator, the modeler executes the process with the value of that configuration parameter having the same name as that of the substitution parameter.
- If the name of the substitution parameter does not match the name of any
configuration parameter of the operator, then you can provide value to it at
runtime.
For example, the operator configuration parameter, Path can be defined with the value URL://${name}. In this example, name is the substitution parameter and you can define the Path value by providing value to name at runtime.