For a parallel all the tasks are started at the same time (each task has its
own thread.) This means if a task fails within a parallel the other tasks
are not affected.

For a sequential only one task is started at a time. So if one task fails
the remaining tasks are cancelled. This can be changed by setting
continueOnFailure to true.


Craig

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Gunnar
Sent: Wednesday, 26 January 2011 12:10 a.m.
To: ccnet-user
Subject: [ccnet-user] What happens to the other task when a task fails?

Hi,
I have a question about parallel and sequential tasks. What happens to
the other task when a task fails in the sequential part? Will this
stop?

This is the construct for this case.
<parallel>
        <tasks>
                <sequential>
                        1. task
                </sequential>
                2. task
        </tasks>
</parallel>

Best regards,
Gunnar

Reply via email to