Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to trigger powershell script from Servicneow workflow?

Gopika P S
Mega Contributor

how to trigger powershell script from Servicneow workflow?

7 REPLIES 7

Since I'm new to powershell, I have some doubts regarding this..

Actual requirement is > Read variables from SN RITM
> Call Powershell script and pass the variables as parameters
> Read the response back and persist values
> Exceptions should be parseable and captured in workflow

Is the Run script is enough for this?

Hi ,

I also have basic idea of powershell

But I found one article which has similar kind of implementation which might help you

https://community.servicenow.com/community?id=community_article&sys_id=0cf18778dbb348d4f7fca851ca961...

Thanks,

Valmik

Hi @Gopika P S ,

Hope you are doing well !

Can you please mark any one of the reply as correct it will help future readers and it will close the tread as well.

Thanks,

Valmik