- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-16-2020 11:25 PM
Hi all,
I am working on creating Flow Designer for Inbound Email and the target table is the custom table "Alert Record" which is in custom application scope. But I am getting error while creating a record in the table, but not able to get what's the error.
I am getting error in the Create Record part. It's working fine when I use the test option in flow designer, but when I send the email it's showing error in the execution details. Could anyone suggest how to debug the flow or fix the error.
Regards,
Mithun
Solved! Go to Solution.
- Labels:
-
flow designer
-
Notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-17-2020 05:44 AM
Hi all,
I was trying to Run As - User who initiates Session, and the user didn't have the access/role to create the record. Once the user was given the role it's working as expected.
Note:
When a flow runs as a user, the user needs permissions to run the actions executed by the flow. For example, if a user initiates a flow that creates a record, but the user does not have permissions to create the record, the flow stops execution with an error.
Flows that run as the user who initiates the session are safer because they do not execute with the elevated privileges of the System User.
If a flow needs to run with elevated privileges, a developer can set the Run As flow property to System User.
Thank you for all your responses.
Regards,
Mithun K R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-17-2020 01:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-17-2020 02:09 AM
Hi Mithun,
it just says error but not the error message
Ideally both table and flow are in same scope then it should not cause an issue
Did you check by having simple flow of just creating a record as single step?
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-17-2020 01:45 AM
HI,
Its worth trying to change the flow,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-17-2020 05:44 AM
Hi all,
I was trying to Run As - User who initiates Session, and the user didn't have the access/role to create the record. Once the user was given the role it's working as expected.
Note:
When a flow runs as a user, the user needs permissions to run the actions executed by the flow. For example, if a user initiates a flow that creates a record, but the user does not have permissions to create the record, the flow stops execution with an error.
Flows that run as the user who initiates the session are safer because they do not execute with the elevated privileges of the System User.
If a flow needs to run with elevated privileges, a developer can set the Run As flow property to System User.
Thank you for all your responses.
Regards,
Mithun K R

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-17-2020 06:27 AM
Hi Mithun,
Kindly mark my response correct if my suggestion helped you,
Thanks
Murali