- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 12:54 AM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 01:10 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 01:10 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 04:10 AM
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