Setup Delegate for only Self

AshishDas
Regular Contributor II
Regular Contributor II

Hi,

We have a requirement to setup delegates:

End users can setup delegate for only self and

Managers can set up delegate for their reportees and self

For manager I have included the following query but it shows all users instead of just his reportees.

AshishDas_0-1689932801304.png

Any help?

4 REPLIES 4

naveenss
All-Star
All-Star

Hi @AshishDas ,

Use this configuration under Admin > global config > Request > Delegate. 

naveenss_0-1689933270185.png

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Also, under the SAV roles please use the below query for "For whom can the user setup delegate"

select a from Users a where a.id = ${user.id} OR a.manager = ${user.id}

Let me know if this helps!

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

AshishDas
Regular Contributor II
Regular Contributor II

Thanks Naveen for the prompt reply.

This works for end user that is raise deegation for self.

 

However, for managers it still shows all users. It should show only his reportees under the parent user dropdown.

Hi @AshishDas ,

Did you try out the query mentioned above for "For whom can the user setup delegate"?

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.