Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Trying to concatenate multiple variables (and delimit them with some character) in a flow service to obtain a single string.
Create a Variable in the pipeline out. Ex. temp
Set the Value and check the perform variables substitution.
Here is what you do after that make sure all your variables exist in the pipeline.
%var1% Your Delimeter %var2% Your Delimeter %var3%
This way you dont have to go through concat step. You can use as many variables you want in this.
HTH.
MS.
There’s a built in service:
Check WmPublic.pub.string.makeString.
Check your Built-in-services Guide…
Why not use a Java Flow service…pass all the variables in, use simple java concatenation, and pass the variable out. Its simple, and faster than using regular mapping functions in flow. The documentation with the IS server has examples on how to write java flow services.
-Zia
Thank you guys, wrote Java method to do that, I think that’s the best approach. Andrey.