- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 09:17 AM
I am working on the ITSM simulator for Madrid version in the Now Learning portal and am having a problem solving this.
I have gone to the "Create Emergency Change" UI action for the Incident (incident) table, but cannot figure out how to get the correct solution. I have tried a number of different things, but none have been validated in my simulator.
I would appreciate the exact answer that I should have with steps explaining your solution so I can learn from this instead of getting frustrated because I don't understand. Thank you.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 11:03 AM
It should be: && (current.priority == 1 || current.priority == 2)
add that to the original statement. If priority is 1 or 2 this will evaluate to true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 11:21 AM
Thank you Michael.
Why did I not have to use "incident_priority" like the "incident_state" argument?
I looked at configure dictionary on the State field on the incident form and saw the field name = state. Therefore, I just did the same for the priority field name. Why did I not need to do this format?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 11:24 AM
incident_state is actually a field whereas incident_priority is not. The field is called priority.
BTW - there is also a State field on incident too but best practices is to use incident_state. The 2 fields should sync with each other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2019 11:38 AM
I also tried the solution you provided, but I had used priority incorrectly (current.incident_priority == 1 ||current.incident_priority == 2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2023 05:56 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 04:56 AM
Hi,
I tried this and run perfect.
current.priority == 1 || current.priority == 2 &¤t.incident_state != IncidentState.CLOSED && gs.hasRole("itil,sn_change_write") && gs.fieldExists('incident', 'rfc') && current.rfc.nil()