on 06-14-2007 9:54 PM
You can cancel the process by using deadline branch. No need of control step in the deadline branch. If your wants he can implement the control step to raise the exception or alert. Please correct me if I am wrong
thanks
kumar
Kumar,
No, you need control step inside the Deadline branch to cancel the process. If the particular time expires, how come BPM know to proceed further, the BPM will be errored out in this case. There are lot of diff bte BPM errored out and the process has been cancelled.
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahmad,
You are most welcome, also please correct me if my point of view is wrong!!
@Kumar : In the deadline branch its not only necessary to keep control step u can keep any other step so after the completion of that step it will come out of the block and continue executing the steps next to block.
Ahmad ,the one which I mentioned above is it correct?
Best regards,
raj.
To cancel the process...The only available step is "Control Step"......
When you use the deadline branch,it only raises the exception....It means it just intimates that exception has occured...Now its your duty to handle that...the handler you use here is "Control Step"...
If you don't raise any exception your BPM will be hanging out there with error and your system resources will be wasted....
Let me explain you using simple template...
In Java...you use..
try{
if(some codntion)
Throw exception abc
}
catch
{
if(exception abc)
cancel the process
}
So "block" step is like try block...time you specify in deadline branch is condition...if it satisfied you are throwing the exception abc (thats the timeout exception for us)and the code you write in the catch block is handler for that exception...thats nothing but control step in our case...
Hope this explains...
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
wrong post
thanx
ahmad
Message was edited by:
Ahmad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.