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-1745170000878.png

Error:

pjftenorio_1-1745170054744.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-1745170137201.png

 

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

 

 

1 REPLY 1

J Siva
Tera Sage

Hi @pjftenorio 
This error occurs when you attempt to create a record that already exists. This means the user you are trying to add to the specific group is already a member of that group. So you need to revist your steps 3 & 4.
PFB test results from my PDI.

JSiva_0-1745205556169.png

user={"display":"Abraham Lincoln","value":"a8f98bb0eb32010045e1a5115206fe3a","table":"sys_user","sys_id":"a8f98bb0eb32010045e1a5115206fe3a"}
group={"display":"Help Desk","value":"679434f053231300e321ddeeff7b12d8","sys_id":"679434f053231300e321ddeeff7b12d8"}

JSiva_1-1745205661428.png

 

 Regards,
Siva