Update User record when user removed from group

Community Alums
Not applicable

Hello,

 

I want to run a script that updates the sys_user table, when the user is moved from a specific group, I have written a before BR on sys_user_grmember table when update or delete but the field on user record is not updating is there any way to update the field on user table when user removed the group?

 

Thanks,

Prudhvi

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

the business rule should be before delete and should work fine

Share your script

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

the business rule should be before delete and should work fine

Share your script

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader