Archived User Group Membership Table

shahiedsali
Tera Contributor

Hello guys, 

I have this custom script that archives user group memberships (sys_user_grmember). The script works, as it does moves the group membership records to the archived table (ar_sys_user_grmember). However, when I refer to the archived table (ar_sys_user_grmember), the 'user' and 'group' fields are empty. But looking into the XML, it does have the 'user' and 'group' information. Is there something I have to configure in order for it to have the referenced values in the 'user' and 'group' fields? Any help will be greatly appreciated! 😭

 

Custom script:

Screenshot 2026-02-06 at 9.00.36 PM.png

 

Archived user group membership table (ar_sys_user_grmember):

Screenshot 2026-02-06 at 9.03.08 PM.png

 

XML:

Screenshot 2026-02-06 at 9.03.39 PM.png

 

System Definitions > Tables > Archive Group Member:

Screenshot 2026-02-06 at 9.09.43 PM.png

1 REPLY 1

Tanushree Maiti
Kilo Sage

Are you able to view user and group field value in the archive table?

If No , Just check if you have any ACL like

ar_sys_user_grmember.user

ar_sys_user_grmember.group 

If yes, check if that ACL causing the issue 

Please mark this response as Helpful & accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: