Servicenow integration with python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 01:21 AM
Hi Team,
I have a requirement to integrate our application with ServiceNow. We have an sdk for our product. Can we import our package and write our script in python and build our application? If yes please provide me an example to follow the procedure.
Thanks and regards,
Samhitha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 01:57 AM
HI @Samhitha_1
Maybe using mid-server is a way.
You can use mid-server files to drive you sdk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 05:58 AM
Thanks @newhand ! Could you please share the process or any link for this?... Actually I was watching one video (https://www.youtube.com/watch?v=soqVfhi4ptM) here they were using powershell whereas in our case while creating actions there is no option for integrations...Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 05:58 PM
HI @Samhitha_1
You can read this doc first。
It's about ecc_queue,servicenow instance use ecc_queue to commicate with mid-server。
Mid-server reads the queue to get the command in the queue and run the command,finally return the resut .
So , you can use the command to run any scripts or applications in the mid-server.
By the way,we call the scripts "mid server file", you can write it anywhere and just don't forget to put it in to the mid server。But i suggest to write it in the instance ,it can get managed and will be deployed to mid-server automatically 。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 06:28 AM
@Samhitha_1 In ServiceNow you can write python script. You can write it out side servicenow and send an API call from servicenow to trigger the python code
ServiceNow Community Rising Star, Class of 2023