- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 05:07 AM
Hi,
I am trying to download a csv to Mid Server using flow designer. This csv is added as an attachment to one of change ticket.
With the help of get attachment on record action, I am able to fetch the desired sys_id of the csv, but i am unable to export it to Mid Server.
Any help would be appreciated.
Thanks in advance.
Best Regards,
Aditi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 06:04 AM
Hi,
I am not aware on how to achieve via Flow designer.
but steps for another approach
1) create mid server script include and function inside it
2) it would accept base64encoded data which will be passed via the script to trigger mid server script include
3) mid server script include function would use java packages call to create file with that by decoding the received data
refer the links below
How to send attachment files to MID Server
Send CSV file from MId-Server (/Midserver/agent/exports) to Network Server (Shared Folder)
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 05:19 AM
Hi Aditi,
I don't see any direct step in Flow Designer to send attachment to Mid Server.
you can try to check the script step
You can also use another route of building mid server script include etc
refer below link
Send CSV file from MId-Server (/Midserver/agent/exports) to Network Server (Shared Folder)
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 05:59 AM
Thank you
But I want to send csv file only to Mid Server and not to any other server. Could you please provide solution for the below :
- extract csv attachment from a particular change ticket
- upload to mid server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 06:04 AM
Hi,
I am not aware on how to achieve via Flow designer.
but steps for another approach
1) create mid server script include and function inside it
2) it would accept base64encoded data which will be passed via the script to trigger mid server script include
3) mid server script include function would use java packages call to create file with that by decoding the received data
refer the links below
How to send attachment files to MID Server
Send CSV file from MId-Server (/Midserver/agent/exports) to Network Server (Shared Folder)
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2020 10:48 PM
Hope you are doing good.
Let me know if I have answered your question.
If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader