- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 01:48 AM
Hi
I created a new application and state in the form changes by the form buttons,
now i want to make" work in progress" button only visible to assignment group members, how can i manage that .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 01:58 AM
you can add a condition in a UI action like below;-
gs.getUser().isMemberOf(current.assignment_group);
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Ranjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 02:03 AM
Hi @Rajkumar Bommal ,
Navigate to System Definition -> UI Action - > Work In Progress
In condition field of UI Action Please Use Below Script
gs.getUser().isMemeberOf(current.assignment_group)
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
Thanks,
Astik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 01:57 AM
YOu need to add the condition on the this UI action, Go to OOTB action and you will see the condition YOu need to put condition.
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
04-10-2024 01:58 AM
you can add a condition in a UI action like below;-
gs.getUser().isMemberOf(current.assignment_group);
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Ranjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 02:03 AM
Hi @Rajkumar Bommal ,
Navigate to System Definition -> UI Action - > Work In Progress
In condition field of UI Action Please Use Below Script
gs.getUser().isMemeberOf(current.assignment_group)
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
Thanks,
Astik