Service Request requester and approver should not be the same person

Steven31
Tera Contributor

Hi,

I'm building a service request to allow requester to manual select approver from user table. However I want to restrict requester to select ownself as approver. Any suggestion how can I build it? Thanks.

1 ACCEPTED SOLUTION

palanikumar
Giga Sage

Hi,

You can add following reference qualifier to your approver variable. Once this is added current user will not be listed in the variable

javascript:"sys_id!=" + gs.getUserID();

Thank you,
Palani

View solution in original post

6 REPLIES 6

Steven31
Tera Contributor

I've used Reference qualifier to eliminate requester name from selection, thanks.

palanikumar
Giga Sage

Hi,

You can add following reference qualifier to your approver variable. Once this is added current user will not be listed in the variable

javascript:"sys_id!=" + gs.getUserID();

Thank you,
Palani