Run a batch or shell of an external system

__17
Tera Expert


I would like to run a batch or shell on an external system using the flow content created by the flow designer.

I want to run the OS of the external system on Windows or Linux, but I am thinking about how to implement it.
Does anyone have a good idea?

example)
Once the incident record is created, I would like to run a specific batch or shell against the target system.
After drafting a record, I want to execute the process after approval without executing the process until it is approved.

Can it be achieved using REST in Integration HUB?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

there is a powersheel step

PowerShell step

also check these links

how to run powershell script in midserver from flow designer

Creating a Powershell step in Flow Designer

Regards
Ankur

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

there is a powersheel step

PowerShell step

also check these links

how to run powershell script in midserver from flow designer

Creating a Powershell step in Flow Designer

Regards
Ankur

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

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

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