export to csv in a workflow

Snow Tomcal
Tera Expert

Hi,

I have a multi row variable set in a request. I have found a way to export this data to a csv format by creating a report from the table "sc_multi_row_question_answer" and choosing the right columns . I want to export the data to a csv format and send it to another server (by using an API) in a workflow but unfortunately I don't know how.

Does anyone have an idea that might help me?

Thanks!

1 REPLY 1

Vasantharajan N
Giga Sage
Giga Sage

Step 1: Refer the link below which you can use it to generate the CSV file

https://www.servicenow.com/community/developer-articles/generate-an-attachment-via-custom-flow-desig...

Step 2:  Invoke your rest API with the attachment generated in Step 1.


Thanks & Regards,
Vasanth