- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-10-2022 12:22 AM
When right-clicking on a Catalog Task, the Assign to me menu option should only be present if the user is a member of the group the Task is assigned to..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-10-2022 03:23 AM
Hello,
As I told you will always see the assign to me button but when you try to assign it will give the alert error you cannot hide it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-10-2022 12:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-10-2022 01:05 AM
The Assign to me is a UI action and you need to configure its condition to check whether the user is member of the current assignment group.
For example
gs.getUser().getMyGroups().indexOf(current.assignment_group); should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-10-2022 01:23 AM
Hello,
The Assign to me UI action on catalog task is coming from the task table UI action. The Catalog task does not have it's own UI action of the same name so if you directly apply the condition it will apply on all task table, to prevent that do the below:-
Go to the UI action Assign to me of task table:-
Change the table to catalog_task and click on insert and stay
Then apply the below condition in the condition field:-
gs.getUser().isMemberOf(current.assignment_group)
So now when you try to assign any catalog task which does not belong to you you will get the error:-
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-10-2022 02:21 AM
Thanks saurav same thing. i have done but still showing Assign to me.it's should hidden if he is not a group member..