Automatically generate a problem from priority 1 incident

cjhampton
Kilo Explorer

All,

I need to generate a Problem Record when an incident is classified as a priority 1.   I've tried using a client script to call the oob create problem ui action, but I would like this to happen in the background.   Anybody have a script that does this?

1 ACCEPTED SOLUTION

You are welcome.



Kindly mark answer as correct / helpful if it solves your problem


View solution in original post

19 REPLIES 19

cjhampton
Kilo Explorer

First, let me just say thanks to all of you for your responses.



I've executed the business rule and it works great.   However, I don't see the linkage between the incident I am generating the problem from.   Is there something else I need to do here to build the linkages?


PRB.PNG


Could you please share screenshot where you are expecting to see problem record of incident form.


It should be available   incident form.


Hi Curtis,



OOB there is a UI action "create problem" which creates a problem ticket and relates to the incident. You can have a look on it and modify your code accordingly. Just replace the instance name with yours in the below link.


https://YOURINSTANCENAME.service-now.com/sys_ui_action.do?sys_id=2f43c471c0a8006400a07440e49924c2&sy...


I tried the code in demo instance https://demo005.service-now.com/login.do and it worked perfect for me.


Problem record got linked to incident automatically.


i have the same problem. Unable to see the linkage of the problem in the inicident . Did you find the way to rectify this