To handle exception/error we use try and catch block
with the use of sequence.
Remember Exit on
.
.
..........................................
. .
. .
SUCCESS or FAILURE
Exit on Success: If there is error in any
subordinate service it will be run.
Service1
Service2
Service3 (here is error)
Service4
Exit on Success will run only 1 services.
Exit on Failure: It will exit on that service which
has any error.
Service1
Service2
Service3 (here is error)
Service4
Exit on Failure will run only Service1 and
Service2.
Syntax:
Sequence (Main Block) [EXIT ON: SUCCESS]
Sequence (Try Block) [EXIT ON: FAILURE]
Sequence (Catch Block) [EXIT ON: DONE]
No comments:
Post a Comment