While re-reading some of the threads on optimizing BPM’s, I got to thinking…
Does the order that the condition statements are in, dictate the order they are processed?
For example, in the pict below, a simple check of the ttShipHead.ShipStatus field is done. The second condition (which is AND’d with the first) is more complex, requiring a query to be executed.
I did trace this out before when doing a performance eval. Based off the trace and the results (duration) it appears to short circuit. For example, when the first condition was false the duration was 3ms and 26ms when the first condition was true and second false - just with a condition only in a BPM. Ran multiple times for verification.