How to include Reference qualifier in Script Include and use in the Reference Qualifier override

Piyush Dwivedi
Tera Contributor

How to include Reference qualifier in Script Include and use in the Reference Qualifier override

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Piyush Dwivedi 

simply create script include function and call it in dictionary override like this

I assume script include returns comma separated string of sysIds

javascript: 'sys_idIN' + new ScriptInclude().functionName();

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

I have just copied the filter condition of a table in reference qualifier, now please guide me how i can include this is script include and then call it in Reference qualifier override?

@Piyush Dwivedi 

Sorry but you didn't share what you tried so far? share screenshots scripts etc

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

@Piyush Dwivedi 

not sure why you created duplicate questions when discussion already going on this thread.

 

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