Value calculation

0
I'm trying to use a value from a new edit in a microflow. This value is not yet saved but it is only needed for a calculation.  Is it possible to do this in mendix. The basics behind my thought is that i want to know the value that is filled in, next i want to use that value to compare it to an existing one so that i can make sure its lower than the current stock. Please help
asked
1 answers
0

Hi Rick,

If you want to check and/or alter the value before it is committed, you can either do this in an OnChange Microflow, in your ‘Save’ microflow, or in a beforeCommit action. You can even retrieve the original state of the object from database to check against if that is what you need. In all these options, the object attribute thats editable in your newEdit screen will hold the value that the user entered.

answered