Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Refernce qualifier on Lookup select box

Martines
Tera Expert

HI community, 

 

I have record producer with two variables. Leave type and Leave type detail. Both of them are look up select box type. 

 

 When I choose value from Leave type I want that reference qualifier will filter leave type detail options according the Leave type value.  but when I paste into reference qualifier current.variables.leave_type i got nothing.   

 

Do you have any idea why I got no value in current.variables.leave_type ? Thank you for help

1 ACCEPTED SOLUTION

Martines
Tera Expert

I found a solution. The problem was that on a leave_type variable I have Look up value field as SYS_ID.  In the backend this field is a choice type field. So I changed the SYS_IS value to backend name of the field which is u_leave_category.  Then in my leave_type_detail variable I can receive value from current.variables.toString();

View solution in original post

15 REPLIES 15

Martines
Tera Expert

I found a solution. The problem was that on a leave_type variable I have Look up value field as SYS_ID.  In the backend this field is a choice type field. So I changed the SYS_IS value to backend name of the field which is u_leave_category.  Then in my leave_type_detail variable I can receive value from current.variables.toString();