- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2022 02:27 AM
Would you teach me how to solve the below question.
To enforce the organization's change management policy, an emergency change should only be able to be created from P1 or P2 incidents.
1. Edit the Change Landing Page to disable the ability to raise an Emergency change through that method.
Hint: Navigate to Change > Change Models
2. The Create Emergency Change UI action should be modified to only be visible on P1/P2 incidents
Hint: Make sure you open and modify the UI action related to the Incident [incident] table!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2022 04:37 AM
Hello Inoue,
For the first task - type in the "change model" in the application navigator as per the below screenshot, open the record where you will get list of models from there just search for emergency and open it. In this record uncheck "A" and save it.
For the second task open Ui Action with the filter stated as per the below screenshot. Open the record and in condition just add the below code highlighted one is modification done.
"current.incident_state != IncidentState.CLOSED && gs.hasRole("itil,sn_change_write") && gs.fieldExists('incident', 'rfc') && current.rfc.nil() && (current.priority==1 || current.priority==2)"
After this, you know the process just hit validate and you are done with this task.
Happy Learning !!
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks & Regards,
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2022 04:37 AM
Hello Inoue,
For the first task - type in the "change model" in the application navigator as per the below screenshot, open the record where you will get list of models from there just search for emergency and open it. In this record uncheck "A" and save it.
For the second task open Ui Action with the filter stated as per the below screenshot. Open the record and in condition just add the below code highlighted one is modification done.
"current.incident_state != IncidentState.CLOSED && gs.hasRole("itil,sn_change_write") && gs.fieldExists('incident', 'rfc') && current.rfc.nil() && (current.priority==1 || current.priority==2)"
After this, you know the process just hit validate and you are done with this task.
Happy Learning !!
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks & Regards,
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2022 07:38 PM
Hi, Viraj
Thank you for replying.
I was able to do as you said.
Regard,
Inoue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 03:18 AM
Hi Viraj,
An thanks for posting this excellent solution. Succinct and to the point. Keep up the good work.
Regards,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 11:23 PM
Hello,
Please also let us know how to implement similar thing in Agent workspace view for P1/P2 inc-> Emergency CHG