Restricting Assignment Group choices based on logged in user

Madhan007
Tera Contributor

Hello all,
I have an Assignment Group Field referencing to Group (sys_user_group) table . But I want to display only the groups that Requester is part of.

And if the Requester is part of only one group, it has to be Auto populated. 
How can i achieve it ? please pour your insights.

Thanks in advance

1 ACCEPTED SOLUTION

Hi @Madhan007 ,

 

You cant call both function in single reference qualifier and you wanted to auto populate the Group if user has single group so you have to call it in default value of the same field  otherwise autopopulate will not work .

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

View solution in original post

7 REPLIES 7

Hi @swathisarang98 , Thanks for the Reply. but How can I call getGroups() and getSingleGroup() in the same Reference Qualifier?

Hi @Madhan007 ,

 

You cant call both function in single reference qualifier and you wanted to auto populate the Group if user has single group so you have to call it in default value of the same field  otherwise autopopulate will not work .

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

Thank you @swathisarang98 ! it worked