10-16-2024 10:52 PM
i created a recipe for data transformation using JS snippet by workato, in this recipe i have a group of JSON object and i'm doing data transformation like converting firstName, lastName etc to - (based on requirement) using JS code.
(in this recipe i put the complete json data in logger)
now i want to use the csv data in place of direct data passing in logger message, how to do i don't have an idea.
i tried by parsing the csv data action but it's throwing error.
Solved! Go to Solution.
10-17-2024 03:37 AM
10-17-2024 07:39 AM
Hi @Patel0786 the proposed method will use just 2 tasks, no matter how many elements are in the JSON list. There’s no need for For Each or loops to generate the CSV file.
10-17-2024 10:17 PM
Hi @Patel0786 ,
I am just curious, whether you just wanted convert incoming payload to CSV contents?
Thanks and regards,
Shivakumara Avadhani