I’m trying to convert those attribute values whichever has comma into an array.
Attribute A has values - "ABC" and "ABC","DEF" and "ABC","DEF","GHI".
Desired output -
“ABC”
["ABC", "DEF"]
["ABC", "DEF",”GHI”]
Any inputs are appreciated. Thanks very much!
Tagging @danilo_fme , @david_r
Best answer by daveatsafe
Hi @fmeuser_gc,
Please use a Tester to test if Attribute A contains a comma. Route the Passed output to a StringConcatenator to add the square brackets to the beginning and end of the attribute value.
You could also do the same operation using a conditional operation in an AttributeManager:
Please use a Tester to test if Attribute A contains a comma. Route the Passed output to a StringConcatenator to add the square brackets to the beginning and end of the attribute value.
You could also do the same operation using a conditional operation in an AttributeManager: