My Synapse notebook returns an array, [1, 2]
I would like to Iterate through each element using foreach activity, How do I convert it to a array from string
, so foreach activity runs for each element.
to keep it simple, I have created pipeline as below (hard coded the values for now)
Here are the pipeline parameters
For each activity properties, I used @array
, but it is not parsing each element.
Here is the Set Variable1
activity, inside foreach activity.
When I debug it is taking still taking it as string.
Can someone please help me, how to iterate through each element?