We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to add multiple conditions in reference qualifier

Shahida
Kilo Contributor

I have condition(javascript: 'u_full_name=' + curreant.variables.hostname_requested_for.name)   in reference qualifier.However I want to other condition like u_chassis=x^ORu_chassis=y^u_lsa_event_duration=10 in the same reference qualifier.How to acheive this?

 

 

Thanks in advance

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

Hi,

do this

javascript: 'u_full_name=' + curreant.variables.hostname_requested_for.name + '^u_chassis=x^ORu_chassis=y^u_lsa_event_duration=10';

Regards
Ankur

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

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron

Hi,

do this

javascript: 'u_full_name=' + curreant.variables.hostname_requested_for.name + '^u_chassis=x^ORu_chassis=y^u_lsa_event_duration=10';

Regards
Ankur

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

Hi Ankur,

 

I tried this but it didn't work

so what worked for you?

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

Hi..

I have similar doubt... want a query with a combination of user table record and form variable record...is it possible?

primary owner variable has the condition (user_contact_type = employee) and want backup owner as

(user_contact_type = employee and backup owner ! = primary owner)