The Zurich release has arrived! Interested in new features and functionalities? Click here for more

I am trying to get the condition for assignment group member to use the UI action

Kumar_a43
Tera Contributor

I am trying to create new action for which assignment group member should have access to click or use that UI action

 

Can you suggest me how to create the Condition for that.

1 ACCEPTED SOLUTION

Mark Manders
Mega Patron

Something like this:

current.assignment_group && gs.getUser().isMemberOf(current.assignment_group)

Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

2 REPLIES 2

Mark Manders
Mega Patron

Something like this:

current.assignment_group && gs.getUser().isMemberOf(current.assignment_group)

Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Ehab Pilloor
Mega Sage

Hi @Kumar_a43,

You could use the following code in the condition:

gs.getUser().isMemberOf(current.assignment_group)

 

Then depending on what you want your UI Action to do, you can code it accordingly.

 

If you found my response helpful, please mark it as Solution and Helpful. This will help me and the community.

 

Thanks and Regards,

Ehab