HR Admin group not able to add the user into the group.

Prithvi Ramesh1
Mega Sage

Since the HR Admin role has been removed from the System Admin privileges, we are encountering issues when assigning HR Admin access during user creation. The flow continues to run under the System user, which no longer has HR Admin rights—resulting in assignment failures.
We are seeing errors in the flow, such as: "Error while inserting a record: null."

 

Screenshot of the step -

PrithviRamesh1_0-1754991593777.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Prithvi Ramesh1 

This is by design and OOTB behavior.

Use Dedicated User with HR Admin role for this.

Why not configure the flow to Run as User who initiated the session instead of System user?

OR

You can use script with GlideRecord to insert group membership or create scheduled job which runs with HR Admin role user so that the user is allowed to insert record.

-> Ensure HR Admin role is granted to at least 1 user

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

@Prithvi Ramesh1 

This is by design and OOTB behavior.

Use Dedicated User with HR Admin role for this.

Why not configure the flow to Run as User who initiated the session instead of System user?

OR

You can use script with GlideRecord to insert group membership or create scheduled job which runs with HR Admin role user so that the user is allowed to insert record.

-> Ensure HR Admin role is granted to at least 1 user

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