Convert Demand to Incident rather than Defect

Dan Brown2
Kilo Sage

Hi,

We are using the PPM application in New York and when in the demand stage we can Create a Project or a Enhancements and a Change or a Defect. 

We don't use Defect - are we able to change this to Incident instead?  

How would be best to achieve this?

Cheers,

Dan

 

1 ACCEPTED SOLUTION

Noah Drew
ServiceNow Employee
ServiceNow Employee

Hi @Dan Brown !

This should be relatively easy to achieve.

You would first need to change the Choice value from Defect to Incident.

Then you will need to change the "Create Defect" related link to "Create Incident"

Then the related code to actually create the record is in the "AjaxCreateRelatedEntityFromDemand" Script Include. Notice the "createDefect" method. You could create a "createIncident" method with a similar structure but with the incident table and appropriate fields.

Hope that helps!

If it did, please mark as Helpful and consider setting the reply as the Correct Answer to the question, thanks!

View solution in original post

2 REPLIES 2

Noah Drew
ServiceNow Employee
ServiceNow Employee

Hi @Dan Brown !

This should be relatively easy to achieve.

You would first need to change the Choice value from Defect to Incident.

Then you will need to change the "Create Defect" related link to "Create Incident"

Then the related code to actually create the record is in the "AjaxCreateRelatedEntityFromDemand" Script Include. Notice the "createDefect" method. You could create a "createIncident" method with a similar structure but with the incident table and appropriate fields.

Hope that helps!

If it did, please mark as Helpful and consider setting the reply as the Correct Answer to the question, thanks!

Dan Brown2
Kilo Sage

Thank you - that is helpful