Pass file as input to a Subflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited an hour ago
I am creating a subflow that needs to append to a file opened in the parent flow. The file is a CSV, created using Begin File. I am not finding a way to pass this file into the subflow as input. Any ideas how to do this, please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
@ILYA STEIN , If you are above Yokohama release then we have a input called 'File Attachment' in the subflows. I have never really used it, but you can try this in your scenario.
I believe that we still have a limtation to this to add a single attachment per record.
Kindly refer the docs here - https://www.servicenow.com/docs/bundle/yokohama-build-workflows/page/administer/flow-designer/refere...
If you are dealing with multiple attachments , then you need to lookup the attachment table in your flow and pass the attachment sys_id/s to the subflow. I know this would involve multiple steps but that's the only solution I think at this moment.
If my response has helped you , kindly mark it as helpful and accept the solution.
Regards,'
Nayan