Design Tools & Output Technologies - JDE1 (MOSC)

MOSC Banner

Named Event Rule terminate execution

edited Feb 25, 2014 10:43AM in Design Tools & Output Technologies - JDE1 (MOSC) 3 commentsAnswered ✓
I am designing a named event rule and doing validation at the beginning. 
I am checking values so they exist.  The way I've exited the NER if to nest if statements, but I am wondering if there is way to stop execution completely without having to use nested if's

Example

Current Method

IF (something exists) 
    IF(somethingelse exists)
        //begin execute of program
    Else
   set datastructure value to indicate invalid data
Else
set datastructure value to indicate invalid data

disadvantage to this is that you can get pretty deep quickly with if statements


Preferred Method
If(somethingIsNotValid)
    stop execution
    set datastructure value to indicate invalid data

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center