Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Creating a change request from Problem

gianluca5
Giga Contributor

HELP ITSM SIMULATOR

 

 We want the Problem state to be set as "Pending change" when a change request is created from a problem record.

 

1. Add the Problem State choice of 'Pending change'

 

2. Problem state should be set as "Pending change" when a change request is created using the UI action "Create Normal Change" or "Create Emergency Change"

6 REPLIES 6

Hi Guichard C,

Thats because you are updating the UI action for the incident. The task is related to Problem. Update the UI action for Problem.

 

Please Mark it helpful/correct if it helps.

 

 

1. Gogo problem>create new>State>Show choice list>create new "Pending Chane" > give it value of 108 or higher
2. Go to the 2 UI actions as stated in the simulator and add that line of code on the 3rd row:

var changeRequest = ChangeRequest.newNormal();
    current.state =108; //replace 108 with actual value of "pending change" you created
    changeRequest.setValue("short_description", current.short_description);

VladimirYordan_0-1711040937758.png