how to make caller field on incident table dependent on department table?

Jenifer D
Giga Contributor

Hi,please provide solution for given question asap.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use advanced ref qualifier for this

What's your exact requirement?

Example: show caller from department ABC then apply like this

javascript: 'department.name=ABC';

Regards
Ankur

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

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use advanced ref qualifier for this

What's your exact requirement?

Example: show caller from department ABC then apply like this

javascript: 'department.name=ABC';

Regards
Ankur

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

I want to show only callers of HR department when I set value HR in department field which is reference custom field on incident form.

Yesterday you mentioned using a reference qualifier was not allowed (requirement from your end). I did reply for an explanation from you on why not using a reference qualifier... no reply unfortunately.

So why is it allowed now?

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi,

so department is custom field on incident form then you can enhance like this

I assume u_department is the field name and is of type reference

javascript: 'department=' + current.u_department;

Regards
Ankur

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