Unkown error when trying to delete record on the sys_user_grmember table

RobDoyle
Giga Guru

I am currently having issues with adding / removing users from one of our groups.

We have a scoped app made for HR and not the HR module. 

We have a flow that triggers when a user becomes inactive. so it looks up the record in the sys_user_grmember table and for each record we want it to delete the record.

This flow works for global and our other Owner Support scoped app groups but not for HR

There is no business rules in place and I have checked all the ACL's and they look fine 

I have also looked at the cross scope privileges and they match the other scoped app so I am really not sure now why it will not delete the record 

If i go directly into the table i can add and remove manually no issues just the flows cannot.

I have attached screenshots of the error log and the error in the flow executions 

6 REPLIES 6

Zach Koch
Giga Sage
Giga Sage

I don't see any attached screenshots. May be able to help troubleshoot if you can provide those.

 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

RobDoyle
Giga Guru
 

This KB article should help you as it is what seems to be happening.

KB0996223 

 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

I have tried to follow this and added an action in with the condition of inherited=false and it doesn't find any records as all users are given roles based off the group they are in so no non-inherited roles exist against the user.