The CreatorCon Call for Content is officially open! Get started here.

show list of active users apart from logged in user

Somasekhar6
Tera Contributor

Hi team, I have one  Reference field on catalog  form labeled as Approver which refers to sys_user table it's show the all active users . it's showing logged in user as well in that approver  field . I want to show All users apart from logged in user in Approval field. How can I achieve that.

 

Thanks for your Time and support.

 

6 REPLIES 6

Danish Bhairag2
Tera Sage

Hi @Somasekhar6 ,

 

In your reference field u can add one more filter condition in reference qualifier along with active is true as Lastlogin time is not today (This will show users who are not logged in today & active).

 

Thanks,

Danish

 

Hi @Somasekhar6 ,

 

Something like this

 

DanishBhairag2_0-1700475975380.png

 

Thanks,

Danish

 

Thanks for your swift response @Danish Bhairag2  but that's not expected. as  it is a refence field by giving simple reference qualifier condition Active is true it's showing list of active users including current logged in user also I mean the Requestor name also in the approver field I want to show all active users in Approver reference field apart from current logged in user name.

Hi @Somasekhar6 ,

 

so wht u want is in your approver field on catalog item form which is reference field there all users which are active & not logged in those users should be visible?

 

Thanks,

Danish