How to fix Error occurred while inserting record: Error during insert of sys_user_grmember

Anastasia Ty-Ch
Tera Contributor

Hi guys,

 

good day!

 

We have created an automation to automatically add users to a group using flow design. So after users submitted a request via catalog form, the RITM will ask for approval and once approved it will create an SCTASK. Then it will automatically add users to the group. Once the user has been added to the group, the SCTASK will automatically closed and then the RITM.

However, we have this error that we can't figure out the cause. We checked and we can confirm that users are successfully added to the group even though there's an error but don't know why we keep getting the error. And because of this, the SCTASK and RITM tickets won't closed automatically.

 

Manage Group Error.png

1 REPLY 1

Ramz
Mega Sage

Hi @Anastasia Ty-Ch ,

How are you sending the user and group info to the create record action?

 

Use 'lookup records' step and send that to the create record action.

 

Please mark my answer helpful if it resolved your query.Thanks