I experience strange behavior with HasValueChanged.
I described it in the attachment.
Can someone help?
if I'm correct we where running in the same issue in one of our applictions we have developed (I haven't a system to test at the moment). The issue is the order of the AND clause. when you change Status = "Batch overname" AND HasValueChanged('Status') into HasValueChanged('Status') AND Status = "Batch overname" it gives you the same result. To be sure that it is working properly, you better can use a variable that is stroring the reuslt of HasValueChanged('Status').
The input must have been evaluated before running this function.
True if the value of val has changed since last evaluated during the analysis; otherwise returns False.
If val is an expression that this function has not yet evaluated during the analysis, then the function returns False.
If val is an attribute that this function has not yet evaluated during the analysis, then the function finds the previous recorded value and compares the current value to that previous value. If there is no previous value, then the function returns False.
What exactlyis the definition of “evaluate”.
The first action in the analyses is reading the ‘status’ and put it is a local variable.
But apparently that is not enough???
This is a bug and we will work on fixing it soon. Using variable might be a reasonable workaround for now.
Retrieving data ...