Calling a Script Include to act as a Reference Qualifier on a List Collector

Jordan Humphrey
Giga Expert

I am working on a Service Catalog item. One of the requirements is to create a list collector with a reference qualifier filter that only displays users with Type="Internal" or "External" AND that each user is NOT a member of a group called "ExpiredUsers."

 

I know in dropdown variables, you can use the Dynamic Reference Qualifier, which allows you to call a Script Include. How would I do this for a List Collector to achieve this result?

1 ACCEPTED SOLUTION

Brian Lancaster
Tera Sage

There is a reference qualifier field on a list collector that you can call a script include from just like the dynamic reference qualifier on a reference field.

View solution in original post

2 REPLIES 2

Brian Lancaster
Tera Sage

There is a reference qualifier field on a list collector that you can call a script include from just like the dynamic reference qualifier on a reference field.

Jordan Humphrey
Giga Expert

I figured it out. I wasn't using the correct syntax to call the script.

 

It ended up being:

javascript: new getAllActiveUsersNotExpired().getAllNonExpiredUsers();

 

Boom, it worked. Thanks!