Python Script integration with ServiceNow

Rishi8
Kilo Explorer

Hello!

We have couple of python scripts which we want to integrate with ServiceNow. So basically we need a kind of input FORM and use such input as variable and execute python script in back-end.

I would be happy to provide more details if required.

Regards

Rishi

 

13 REPLIES 13

stevenfroggattk
Tera Guru
Hi Rishi, Did you manage to implement this? I have the same requirement but can only find documentation on creating records in ServiceNow using Python. Not executing Python scripts using ServiceNow as an Input form for variables etc. Any guidance you can provide would be much appreciated. Thanks Steve

Hi Steven,

Good day,

Did you get any clue/how to do on executing Python scripts using ServiceNow as an Input form for variables? If you have please share the information.

Regards,

Kumar

Hi Pradeep, 

 

I never fully implemented the solution but the only method I found was to pass the variables to a powershell script then get this to call the python script using the same variables. It did work but i'm sure it's not the best solution...

 

Thanks

 

Steve

Hi Steven,

 

I have followed the same way like you mentioned:

1.created a new mid server script .py 

2.Trying to run

But,it is not running.Do I have to install python also or anything else.

 

Kindly,help me on this as I am stuck on this issue this last one week and no solution is available online

 

Regards,

Munender

Learner3
Kilo Explorer
 

Hi,

 

I want to new to servicenow and trying to insert , update or extract the data from rest api using python only

Can anyone help me on an urgent basis?

 

Thanking you in advance