Clearing Assigned To field when Assignment group is changed in list view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2019 12:55 AM
Hi,
Is there a way to clear the assigned to field when the assignment group is changes in list view. Currently that field is not getting cleared if we are changing the assignment group in list view and that field remains the same member even they are not belonging to the new assignment group.
Thanks in Advance.
Regards,
Devika.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2019 09:51 PM
Is there any way to achieve the above functionality using Data policy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2019 10:04 PM
Hi Devika,
you need to use before update business rule; since onchange won't work on list view
Data policy is used for data validation like a particular field should not be empty when record is inserted via import set or some API call. Data policy won't help here
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 12:12 PM
Hi,
Couple of ways to do this.
1) Before Update BR.
2) onCell Edit Client script.
3) Don't allow user to edit field on list and then write onchange script on Form.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 02:29 AM
Ashutosh Munot1 - Oncelledit client script will work on workspace ?
(assigned_to is empty when assignment group changes in list view in workspace). - how I can implement this in workspace.