How do I conditionally override the Reference Qualifier?

Injila Ahmed
ServiceNow Employee
ServiceNow Employee

I want to override the Reference Qualifier from a parent table, but I want to run the Reference qualifier of the child table conditionally, if the condition is false I want it to run the Reference Qualifier of the parent table.

 

Thanks in advance!

1 ACCEPTED SOLUTION

Vasantharajan N
Giga Sage
Giga Sage

use Dictionary Override qualifier as javascript: <condition> ? <true qualifier> : <Parent qualifier>


Thanks & Regards,
Vasanth

View solution in original post

3 REPLIES 3

Vasantharajan N
Giga Sage
Giga Sage

use Dictionary Override qualifier as javascript: <condition> ? <true qualifier> : <Parent qualifier>


Thanks & Regards,
Vasanth

Chandra Sekhar6
Tera Guru

Use dictionary entry 

Rameswar1
ServiceNow Employee
ServiceNow Employee

1. Call a script include through the overridden ref qual on the child, have the conditional dependency scripted in the script include or

2. Create a new field on the child with the same label (with its own ref qual); if the condition does not match, have this field shown on the form instead. Won't recommend this though, as this could have an impact on reporting etc.