Clearing Assigned To field when Assignment group is changed in list view

Devika3
Tera Guru

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.

8 REPLIES 8

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

for doing that you can define a Before Business Rule with following script in tab Advanced:

if(current.assignment_goup.changes())
   current.assigned_to ='';

If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

 

Any update on this?

If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

Any update on this?

If I have answered your question, please mark my response as correct.

Thank you very much

Cheers
Alberto

Naveen20
ServiceNow Employee
ServiceNow Employee

The client script Empty assigned_to on group change is doing it in the form view.

For list view you can check 

https://community.servicenow.com/community?id=community_question&sys_id=44cffa6ddb58dbc01dcaf3231f961983