Flow Designer giving error on Run As: System User

pjftenorio
Tera Expert

We have a flow that is throwing an error in Create record for sys_user_grmember table.

pjftenorio_0-1745170743619.png

 

Error:

pjftenorio_1-1745170743612.png

 

Although we are encountering this error, the group was still added in users' profile so this does not make sense.

In our properties, the Run As is set to System User as well. 

pjftenorio_2-1745170743628.png

 

 

How can we eliminate the error that is happening on this flow?

7 REPLIES 7

pjftenorio
Tera Expert

Hi @Ankur Bawiskar / @Robert H ,

 

In the Step 3, I am checking the approver if the user has ITIL or Business Stakeholder role. Then in Step 4, I am checking if there is no record for the approver/user then that will be the time I will be adding the group to the user.

 

Also, the group was added the same time it had an error, so it means that it was still created.

pjftenorio_0-1745255667855.png

pjftenorio_1-1745255761321.png

 

 

Hello @pjftenorio ,

 

You want to add the user to a group, so your step #3 needs to check if the user is already in that group.

That information can be found in the Group Members [sys_user_grmember] table, not in the User Role table.

So please change that step to check the correct table.

 

If the error persists please check the System Log for more clues, as suggested earlier.

If you say the Group is actually being created by the Flow when the error happens there might also be something wrong with your step #2

 

Regards,

Robert

jcmings
Mega Sage

Any chance your group contains a role that requires a certain permission to assign?