Flow Designer giving error on Run As: System User
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2025 10:31 AM
We have a flow that is throwing an error in Create record for sys_user_grmember table.
Error:
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.
How can we eliminate the error that is happening on this flow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2025 08:22 PM
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.
user={"display":"Abraham Lincoln","value":"a8f98bb0eb32010045e1a5115206fe3a","table":"sys_user","sys_id":"a8f98bb0eb32010045e1a5115206fe3a"} group={"display":"Help Desk","value":"679434f053231300e321ddeeff7b12d8","sys_id":"679434f053231300e321ddeeff7b12d8"}
Regards,
Siva