- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 06:39 PM
Hello,
I have requirement to trigger a batch file residing on MID server to be executed when user create a request from a service Catalog. Is it possible to do that?
How can we execute a .bat file on MID server from a workflow?
Please provide some guidance.
Thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2017 01:58 AM
i think you need to use powershell activity
How to run batch file using orchestration workflows?
http://www.jamsscheduler.com/2012/04/24/how-to-execute-a-bat-file-within-a-powershell-job/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 06:58 PM
Please check this: Can I execute bat file on MID Server by servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 07:48 PM
Hi Shishir,
Requirement is to execute through workflow. Please advise.
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2017 01:58 AM
i think you need to use powershell activity
How to run batch file using orchestration workflows?
http://www.jamsscheduler.com/2012/04/24/how-to-execute-a-bat-file-within-a-powershell-job/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2017 08:03 PM
Thanks Harsh,
That worked for me.