Flow Designer Not Triggering on Newly Created Record in Same Table

Goody hightech
Tera Contributor

I have a Flow Designer with a trigger set to 'Record Created' on the table 'u_table_fd'.
In one of the actions in this Flow Designer, I create a new record on the same table ('u_table_fd'), but the Flow Designer doesn't run on this new record.

What can I do?

4 REPLIES 4

Viraj Hudlikar
Giga Sage

Hello @Goody hightech 

 

This is because to avoid recursion as your flow will just go infinite loop on creating records, so ServiceNow engineers have carefully taken care of it from background.
Now to check how this work, I just tried to replicate same in my PDI and looking more on flow context logs I found one error line saying same. You can open flow context record and expand the action which creates record on same table as mentioned by you and see for logs section where you will find error message as showcase below:

VirajHudlikar_1-1742321509112.png

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

So, is there any solution to this problem?
The new record in my FD is created only if the conditions are met, so for me, it is not an infinite loop.

I wanted to create the record and run the flow on it.

Hello @Goody hightech  -

 

No, I don't think there is solution on this. As I also tried to put condition to avoid such loop issue but still ServiceNow detected it and the error shared earlier comes up.
You can raise HI Support Case if needed and see if any options available.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hello @Goody hightech 

 

This knowledge article help with your use case.  KB1002849

I had a similar issue with a flow calling within the same flow, and the recursion error did pop up.

 

I opted to have the record creation inside a subflow.  This forum post also helped. 

 

https://www.servicenow.com/community/developer-forum/recursive-catalog-item/m-p/3091437

 

Cheers,

-Gam