FYI - I wanted to determine how END PROCESS works if sub-processes are involved, so I did some testing.
END PROCESS only ends the CURRENT process. If the process that was ended is a sub-process, control returns back to the process that called it to process any additional rules.
When I searched the User Guide for END PROCESS, no listing was found.
END PROCESS clarification (New in version 8.5)
END PROCESS clarification (New in version 8.5)
Tom - V8.8 build 3137 - MySql / PostGres
Re: END PROCESS clarification (New in version 8.5)
thats exactly how I would want it to work.
its basically the same as a REPORT ERROR, except no Msg and no cancel of the transaction.
Its to help to speed up a big list of IF statements, or multiple rules with IFs.
Once you have found your rule, and did something, you can END so Aware doesn't have to process all the other rules.
its basically the same as a REPORT ERROR, except no Msg and no cancel of the transaction.
Its to help to speed up a big list of IF statements, or multiple rules with IFs.
Once you have found your rule, and did something, you can END so Aware doesn't have to process all the other rules.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: END PROCESS clarification (New in version 8.5)
^^ Exactly, Jaymer. Well said.
I just wanted to be 100% sure before I updated some of my existing processes with this. I use a lot a sub-processes.
I just wanted to be 100% sure before I updated some of my existing processes with this. I use a lot a sub-processes.
Tom - V8.8 build 3137 - MySql / PostGres