Hi.,
    I want to DELETE/CANCEL a taskinstance, so that the whole workflow process 
should come to end or should not exist anymore. I tried the following ways:
   1. taskInstance.getTaskMgmtInstance().getProcessInstance().end()
   2. taskInstance.getTaskMgmtInstance().removeTaskInstance    (TaskInstance)
   3. taskInstance.setEnd(new Date())

 But the problem is, if i use getTaskList() then i'm getting the ended 
TaskInstances.

Which is the correct way to Delete/Cancel ?

Any help is appreciated.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917650#3917650

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917650


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to