Attempting to use Data Lookup Definitions to set a RISK field - Change Application form UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2017 03:31 PM
Hi there - a relative newbie SN administrator, so apologies if I ask trivial question to ya'll experts. I've used ServiceNow extensively from a process perspective but it's my first time taking a shot at administrating this beast (SNOW).
So here's the question I have:
I am wanting to auto set a field called "RISK" on the Change form which will be driven based on values selected in two other fields, "IMPACT" and "COMPLEXITY". I've consulted some friends and they told me that the 'easiest' way to do this would be via 'Data Lookup Definitions". I've been doing readings on SN Wiki, forums, YouTube, and other website so I understand how this works. When I get to actually building it out, I am failing and I wanted to know if my steps are correct.
Here are the steps taken:
CHANGE FORM UI
- Created a new choice field called 'Complexity' with values (1 - Complex, 2 - Somewhat Complex, 3 - Not Complex)
- Created a second choice field called 'Impact' with values (1 - High, 2 - Medium, 3 - Low)
- Created a third choice field called 'Risk' with values (1 - High, 2 - Medium, 3 - Low)
CREATED NEW TABLE
- Created a new table called 'Risk Data Lookup' which extends the [dl_matcher] table.
- I then preceded to create fields called 'Risk', 'Complexity', and 'Impact' and set them as 'Choice'.
- Then I populated the 'Risk', 'Complexity', and 'Impact' choices in the newly created table [Risk Data Lookup] with the same choices as #2, #3, & #4
- I then clicked on the 'show list' link under the 'related links' in the [Risk Data Lookup] table
- I set the Complexity + Impact = Risk in accordance to the below matrix:
CREATED NEW DATA LOOKUP DEFINITION
- Created a new data lookup definition called 'Risk Lookup'
- 'Source table' set to [Change Request] and 'Matcher table' set to [Risk Data Lookup]
- 'Matcher Field Definitions' and 'Setter Field Definitions' set as below:
... but for whatever reason, when I get to the Change UI form and try to see if this works (when I set the Complexity = High and Impact = High), the Risk field doesn't change. I am sure I missed 'something' and wondering if ya'll can have a look and let me know where I 'messed up'. I've been at this for the past 3 days (for a few hrs).
Appreciate your help very much.
Cheers!
Noel
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2017 07:38 PM
I just tried doing so and no go. To be specific, here's what I did:
1. On the Change UI form, I had to create a new 'impact' field since the existing 'Impact' field was set as an Integer and it didn't look like i can change that.
2. The new 'Impact' field is called 'u_impact'
3. I went to my custom 'Risk Lookup' table and mapped the newly created 'Risk', 'Impact', and 'Complexity' fields to the 'Change_Request', 'Risk', 'Impact', and 'Complexity' fields (deleted the previously entered in values).
3. In the 'Risk Lookup' table, I clicked on 'Show List' and set the conditions between 'Impact' and 'Complexity' as depicted in my original post (the Risk Assessment table).
Let me know if I should try something else or if I should start from scratch.
Thanks again.
Noel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2017 04:33 PM
3. In the 'Risk Lookup' table, I clicked on 'Show List' and set the conditions between 'Impact' and 'Complexity' as depicted in my original post (the Risk Assessment table). - can you screen shot where Show List is that you're clicking on, I don't see that, but see no reason for it.
After you create the new table, extended from dl_matcher, you add fields to the table from Form Layout, and map those field choices to your choice fields like below. I added 3 fields: Impact, Probability, and Risk Score.
Your Lookup Rules list looks something like this:
Then you create the Lookup definition, define which are the Matcher fields, and which is/are the setting fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2017 11:43 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2017 12:35 PM
Oh ok - those are the lookup rules. Just a different way to get there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2017 12:59 PM
Yes, I noticed that after I posted my response to your question. Thus far, does it look like I missed something?
Something to consider (I think) - I looked at the out of the box, 'Priority Data Lookup' table and noticed that the 'Impact' table column has the following 'Choice List Specification':
.... which I find weird that it's being linked to the 'Category' field on the Incident form. Shouldn't it be the 'Impact' field on the 'Incident [incident]' table? Even the 'Priority' and 'Urgency' fields are mapped to the 'Category' on the 'Incident [incident]' table.
I only ask because I was using the 'Priority Data Lookup' as a benchmark to help me with the 'Risk Data Lookup' table I wanted to create.
Sorry one last thing I noticed... do you think the name of the table matters? The out-of-the-box Data Lookup definitions for 'Assignment Lookup' and 'Priority Lookup' both have prefix of dl_[tablename] but the newly created lookup table that I created, has a different name. See screen shot below: