Dave, we have several examples of this in the FATS Domino system and I can show you how we elected to handle it.
Briefly, within the <paralleliterate> we set a "status of this operation" variable to a value which signifies success, and each sub-operation within that block is conditionalized with "...if I haven't failed yet, then do this...". It does add some conditionality (which, I acknowledge, you state you are trying to avoid) but not too much; at least these are not nested cascading if/else blocks which would cause the indentation/readability to become problematic. --------------------------------------------------------------------------------------- Joe Veilleux IBM/Lotus Domino Server Quality Engineering 550 King Street Littleton MA 01460 Email: joeveill...@us.ibm.com "David Miller" <david_mil...@not esdev.ibm.com> To staf-users@lists.sourceforge.net 05/28/2010 11:54 cc AM Subject [staf-users] Question on "paralleliterate" and "continue" I have a use case where I want to use a "paralleliterate", and within that perform several operations. For each of these operations I want to check for errors, and if an error occurs, end that "thread" (not proceed to perform any further operations for that thread, but leave the other threads to proceed). Normally, with a sequential "iterate", I would use a "continue" in the error path to do that. I tried the "continue" within a "paralleliterate" and it yielded: |--------------------------------------------------------------------------| | | | | | | | Unhandled "Continue" condition found at end of job. | | | |--------------------------------------------------------------------------| Is there some other way to do this other than having lots of nested if/elses to handle the error checking after each operation? Dave ___________ David J. Miller Notes/Domino Automation Development Team 978-399-6023 (t/l 333-6023) david_mil...@notesdev.ibm.com ------------------------------------------------------------------------------ _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: pic32756.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users