Using PowerShell script in flow designer need to send an attachment to mid server from ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 08:00 PM
Hello Everyone,
I am generating an attachment (CSV Format) using flow designer and would like to send that attachment to mid server through flow designer. In order to configure this I need to create a mid server script file and write a power shell script to send the file to mid server through flow designer.
Any help is appreciated.
Regards,
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 08:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 02:29 AM
Hi @sree31
Below posts could be helpful :
https://www.gyanbucket.com/2023/06/text-file-and-mid-server.html
Alternatively, you can also pass the csv content as a param to your PowerShell script and can make use of Write-CSV cmdlet to write the CSV file on the mid server using the Integration Hub PowerShell Step.
Thanks and Regards
Amit Verma
Amit Verma
