[jboss-jira] [JBoss JIRA] Commented: (JBPM-710) Cancelling a task will signal token over default transition

Ronald van Kuijk (JIRA) jira-events at jboss.com
Mon Jul 24 17:34:11 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBPM-710?page=comments#action_12339990 ] 
            
Ronald van Kuijk commented on JBPM-710:
---------------------------------------

Proposal to add:

  /**
   * cancels this task, takes the specified transition.
   */
  public void cancel(Transition transition) {
    this.isCancelled = true;
    this.isOpen = false;
    end(transition);
  }

  
  /**
   * cancels this task, takes the specified transition.
   */
  public void cancel(String transitionName) {
    this.isCancelled = true;
    this.isOpen = false;
    end(transitionName);
  }

Testcases still need to be added

> Cancelling a task will signal token over default transition
> -----------------------------------------------------------
>
>                 Key: JBPM-710
>                 URL: http://jira.jboss.com/jira/browse/JBPM-710
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>    Affects Versions:  jBPM 3.1.2
>         Environment: jBPM 3.1.2, Windows XP, WSAD 5.1.2, jdk 1.4.2_05
>            Reporter: Chris OBrien
>         Assigned To: Ronald van Kuijk
>
> Cancelling a task still calls .end();     This will cause the task to set all the time stamps appropriately, but then just signal the token over the default transition.
> What happens if someone wants to cancel a task but go down a specific route, or not follow any transition, and remain where it is?
> Also, this is in regards to JIRA-654 which was marked as fixed, but I am unclear as to if it was, or how.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list