How do I get the value of the reference qualifier with a script?

Meloper
Kilo Sage

Hi,

How do I get the value of the reference qualifier with a script?

For example, on our Incident Form, of course we have the Assignment Group FIeld.

Type = A or Type = B (Override Condition Builder of Task Field)

Now i need to use this filter in a Script.

I want to get the Value (Ref Qual) of this Field, because if we change this ref Qual, the script will work dynamic
and we dont have to change the new ref qual in the script too.

So is it possible to get the Ref Qual or the Value of Reference Qualifier?


On This picture it calls a Script include because we use an override for the inc Table.
find_real_file.png


1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

query dictionary override table and get the reference qualifier and then remove the prefix javascript:

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

query dictionary override table and get the reference qualifier and then remove the prefix javascript:

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Smart!