cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to see formula mode in Add items to List Batch Action

amit_mohanty88
Deputy Chef II
Deputy Chef II

I have a usecase where i need to call a rest service get response which contains repeating element node so i am capturing the response in Add items to List (Batch) Action . While adding the source list in Add Item to list one of the repeating element i want to put a condition if source repeating element size is zero loop should not happen . how to do this . Currently issue am getting is if source element node size is zero then in Add items to List (Batch) Action the output of the element is coming [] . Screenshot attached . Basially i dont need the elment itself instead of elment coming as [] looping.png

loopingoutput.png

 

 

 

5 REPLIES 5

amit_mohanty88
Deputy Chef II
Deputy Chef II

Thank you all for your Response i created Response as text/plain so using string formula gsub able to remove [] . The caller system accepts text/plain and converts to application/json to the source .