You are on page 1of 11

Data Lookup Rule

Presented by –Pratiksha Kiran Chaudhari

Pratiksha KC
Agenda

 What is Data Lookup rules


 How to create data lookup rules in ServiceNow?
 Difference between data lookup rules & assignment rule

Pratiksha KC
What is Data Lookup in ServiceNow?

 Data Lookup is a way to populate information based on rules. It allow


administrators to specify the conditions and fields where they want data
lookups to occur. 

- For example, on Incident forms, there are priority lookup rules for the
sample data that automatically set the incident Priority based on the
incident Impact and Urgency values.

Pratiksha KC
How to create Data Lookup Rule?
Let’s Take One Example :

Pratiksha KC
 Create a custome Data Lookup table :
Create a custom table to store lookup data.

Custom data lookup table

Field: Values:
Label DataLookup(AssignmentGroup)
Table name u_datalookup_assignmentgroup
Extends table (Data Lookup Matcher Rules)
dl_matcher – backend name

Add a data lookup value to the data lookup table


1. catgory
2. subcategory
3. Assignment group
Pratiksha KC
Pratiksha KC
Create a data lookup definition record
Data lookup requires a definition record that specifies how to set one or more
field values when specified conditions are met.
1. Navigate to System Policy > rule > Data Lookup definition
2. Click New
3. Click Data Lookup rule
4. Fill the records in Form.

Pratiksha KC
Pratiksha KC
 Add the Records for creating values for data Lookup in custom table as given
in usecase:

Pratiksha KC
Difference between Data Lookup Rule and
Assignment Rule.

 Lookup rules run onChange when the lookup values match the rule, it
Immediately sets its Setter , Where Assignment rules run on insert/update
the records.

 Assignment rules can use a script to set the setter Field , where lookup
rules require an exact match.

Pratiksha KC
Thank You!!!!!

Pratiksha KC

You might also like