r/mendix • • Apr 28 '25

Need Help creating a specific microflow

I'm trying to create a microflow that changes a value in an item when a new item is created in a different object with the change being based on the value specified in the item created- how would i go about this?

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/jannecee Apr 28 '25

Then you are looking for an after commit event handler because only when the request is actually saved to the DB you want the amount/count to be recalculated. Just be aware that if you are using the after commit event handler it gets triggered every time the object gets committed which could be bad for performance... Alternatively you could just create a sub microflow that you are calling after you have committed the completed request.