SetVarFromListMerge: combine list entries into variables
Tag: SetVarFromListMerge
The SetVarFromListMerge function concatenates a list of SetVar into a single variable.
Tag Attributes
Attributes | Value Description |
---|
ListName | Target list name |
Separator | Non-empty text to use as delimiter of the list entries - Optional |
Example Scripts
CODE
<SetVarFromListMerge ListName="litsFromMerge" separator=":"/>
|
CODE
<ytriaAutomation application='sapio365' title='TEST - ISSUE ERROR LOOP EXECUTE' targetmodule='Users'>
<List Name="listFromMerge" Action="SetVar" var3="blue" var4="42"/>
<List Name="listFromMerge" Action="SetVar" var3="green" var4=""/>
<List Name="listFromMerge" Action="SetVar" var3="red" var4="666"/>
<List Name="listFromMerge" Action="SetVar" var3="yellow"/>
<SetVarFromListMerge ListName="listFromMerge" separator=":"/>
<Echo value="=====> var3={%var3%}"/>
<Echo value="=====> var4={%var4%}"/>
</ytriaAutomation>
|