<ISPIPELINE>
can be used to call a pipeline from an ISML template. The resulting pipeline dictionary of the executed pipeline is stored in the current pipeline dictionary, using a key provided by the attribute alias
.
<ispipeline pipeline = "( {String} | {ISML expression} )" [ params = "{ISML expression}" ] alias = "( {String} | {ISML expression} )" >
In this example, <ISPIPELINE>
executes the start node LoginCheck of pipeline MyTestPipeline
. Two parameters (param1, param2) are submitted to the pipeline via a Map object. The pipeline dictionary that results from executing MyTestPipeline-LoginCheck
is stored in the current pipeline dictionary under the resultDict
key.
<ISCreateMap mapname="ParameterName" key0="param1" value0="foo" key1="param2" value1="bar"> <ispipeline pipeline="MyTestPipeline-LoginCheck" params="#ParameterName#" alias="resultDict" />
pipeline
This attribute is required.
pipeline = String | ISML expression
This attribute specifies the name of the pipeline to be called. Allowed are text values and ISML expressions. If no start node is specified, the default start node name Start
is taken.
alias
This attribute is required.
alias = String | ISML expression
This attribute specifies the key under which the pipeline dictionary resulting from the execution of the called pipeline is stored in the current pipeline dictionary.
params
This attribute is optional.
params = ISML Expression
The attribute specifies the pipeline parameters. Allowed are ISML expressions only. The parameters can either be a java.util.Map
object implementation which is stored in the pipeline dictionary and contains all the parameter key-value pairs, or a parameter set which is defined manually using the paramMap(), paramEntry()and parameter()functions.