I think you are in a infinitive loop. Are you anywhere recalling that microflow? Are you committing again in this microflow?
The most common cause for stack overflow errors is if the microflow calls itself recursively. In an event handler, this can occur if you have a before commit event handler and you commit the object in the before commit flow. This leads to a situation where you commit an object, the before commit event handler is executed, which commits the object, which executes the event handler etc. You should not commit the input object in a before commit event handler – it gets committed after the event handler finishes anyway – or if you do, you should commit it without events.
Hi,
I’m trying a pretty Simple Microflow. Entity “OneTable” has two attributes “OneValue” and “OneCount”. I’m calculating the Records Count in the Entity “OneTable” and updating the Results in “OneCount” attribute. I’ve configured the Microflow in the Event Handlers to run “After” Moment.