This content has been marked as final.
Show 2 replies
-
1. Re: question on Fork&Join
mrshan Sep 4, 2006 5:23 AM (in response to oodinary)I have the same problem,but I want the current token continue,and the other tokens end?
This is easier to do,but the other problem is that the taskInstances of the ended token can not be automatically canceled.
Can I only manually do this?if I manually do this,I find both taskInstance.cancel() and taskInstance.end() can not be used,because they will call the related event and action.Only taskInstance.setEnd(Date) can use?
I think that should offer a method like cancel which only cancel task but not to do related event and action.This is needed in the business. -
2. Re: question on Fork&Join
mrshan Sep 4, 2006 5:27 AM (in response to oodinary)"mrshan" wrote:
I have the same problem,but I want the current token continue,and the other tokens end.
This is easier to do,but the other problem is that the taskInstances of the ended token can not be automatically canceled.
Can I only manually do this?if I manually do this,I find both taskInstance.cancel() and taskInstance.end() can not be used,because they will call the related event and action.Only taskInstance.setEnd(Date) can use?
I think that should offer a method like cancel which only cancel task but not to do related event and action.This is needed in the business.