Assign to me UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 06:15 AM - edited 03-12-2024 01:21 AM
Hi ServiceNow Community,
I'm trying to configure the UI Action "assign to me" for incident table to match some requirements. I want that when user click on it some checks be performed:
1- If a user is member of only one group then the fields assignment group and assigned to are populated with the corresponding values
2 If a user is member of more than one group a list of all the groups to whom he is belonging to should be displayed asking him to pick the corresponding group then update the two fields (assignment group and assigned to).
Could you please help ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 11:38 AM
Hi @anas_m
It is OOTB, given by ServiceNow. only issue is it hidden on form level.
Enable it on form, and work done.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 01:54 AM
Hi @Dr Atul G- LNG ,
Thanks for your answer, however it's not what I'm looking for. I want to match those two prerequisites when I click on the UI Action
1- If a user is member of only one group then the fields assignment group and assigned to are populated with the corresponding values
2 If a user is member of more than one group a list of all the groups to whom he is belonging to should be displayed asking him to pick the corresponding group then update the two fields (assignment group and assigned to).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 04:05 AM
Hi @anas_m
Check this:
Something simliar for baseline solution.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 06:01 AM
Hi @Dr Atul G- LNG ,
Thank you for the response, finally I was able to do it like that
current.assigned_to = gs.getUserID();
current.assignment_group = gs.getMyGroups();
Regards