Error occured while inserting record: Error during insert of incident in flow Designer servicenow

Nikhil63
Tera Expert

Hi Team,

I am getting the below error while creating an incident in Flow Designer.

 

Error - error occurred while inserting record: Error during insert of incident

 

Does anyone have any idea how we can resolve it?

 

Screenshot 2024-04-01 at 4.33.16 PM.png

3 REPLIES 3

Uttkarsh S
Tera Contributor

Hi @Nikhil63,

 

Can you please check in the flow properties, what is the value set in for 'Run as':

 

UttkarshS_0-1711970325308.png

 

If it is 'User who initiates session', try changing it to 'System User' and run the flow again. This issue usually happens due to insufficient roles assigned to the user from whom the flow is getting triggered.

 

 

Please mark the answer correct/helpful if it helps your query.

Cheers,

Uttkarsh

Hi @Uttkarsh S ,

 

Thanks for the reply.
I checked the properties and Run as is 'System User'

Check the below article and discussion and see if it helps:

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0856507

 

https://www.servicenow.com/community/developer-forum/quot-error-occured-while-inserting-record-error...

 

Please mark the answer correct/helpful if it helps your query.

Cheers,

Uttkarsh