Scripted Rest api for incident create
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 01:26 AM
I am working a requirement where i want to create a incident and incident task when an request(JSON) received ,
Please suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 02:45 AM
Thank you for the clarification. You can make use of ServiceNow Table REST API to create incident and incident task. Please refer below link for creating incident using REST API explorer.
For creating Incident task, make use of Table API only in REST API explorer on the table "incident_task". Please refer below snip. Here, in the incident, pass the value of the sys_id of the incident created in the previous REST API call.
Thanks & Regards
Amit Verma
Amit Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 02:49 AM
My video will help you.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
