How to export a particular csv which is added as an attachment to a particular change request to Mid Server

Aditi6
Tera Contributor

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. 

find_real_file.png

Any help would be appreciated.

Thanks in advance.

Best Regards,

Aditi

 

 

1 ACCEPTED SOLUTION

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

10 REPLIES 10

ashish9
Tera Contributor

Hi Aditi,

 

Can you share exact steps or screenshot for help or Please share it on the link https://community.servicenow.com/community?id=community_question&sys_id=960e9b32db257c90aa66a9fb13961951

 

Thanks

Ashish