Hi all,
I have an EEM script written using CLI that includes a nested conditional. I have no problem running only one of the conditional. However, if I nest one conditional within the other, it just gives me this "Missing "end" action in conditional block" message. Here is the basic core structure of my script:
foreach RUN A LOOP
if CONDITION
BLAH BLAH BLAH
exit
break //if the condition in the if block returns true, I want to do something and break out of the entire foreach loop. Do I use them (exit and break) both or just one?
else
BLAH BLAH BLAH
exit
continue //again, do I need them both or just 'continue'?
exit //exit foreach loop
if CONDITION //another IF conditional
BLAH BLAH BLAH
exit
end
If nested conditional is allowed, is my script in the correct syntax?
Regards,
Angela