Using Dynamics 365 with the new On Exit of stage workflow parameter, upon exiting a stage I run a workflow that sweeps the record and child records for any issues. If child records havve issues they roll up (forced rollup) to an integer on the record the BPF is running on. I then check that integer and if it's >1, I stop the workflow with an error.
When Dynamics processes all of this when the user clicks Next Stage, I never get the business process error message and it lets the user navigate to the next stage. I would have hoped that if an "on exit" workflow fails that the message would be rendered to the UI and not let the user navigate to the next Stage. ;-(
The business scenario I'm trying to solve is checking for exceptions before a payment record can be set to APPROVED. The check for exceptions happens when the user changes stages.