How to send CSV files in the REST step of the flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2022 11:17 PM
Purpose
I want to send a CSV file in the REST step of the flow designer.
How to
The CSV file is located in sys_attachment.
(file type: text/csv)
「Get Attachments on Record」 to obtain CSV files.
(See Captcha for details.)
Send CSV file by specifying Type as FILE in Request Content.
Result
I cannot get a CSV file with Get Attachments on Record.
The count is set to 0.
So I can't pass it to the REST step.
How can I get the information from the CSV file and pass it to Request Content?
・Get Attachments on Record
・REST Step Settings
・Log of Get Attachments on Record
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 12:09 AM
Hi
You can use Script Action in flow and have server side code in it to generate CSV.
here for sample script, Please tweak as per your requirement :
Generate CSV file through script
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2022 08:09 PM
Hi
Glad to see my answer helped You.
Kindly mark the applicable answer as Correct & Helpful both such that others can get help.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2022 09:48 PM
I do not why but I could not mark the applicable answer as Correct, I thank you in the comments.
Thanks for your help.