Here's what I envision:
a process flow begins with a start state and carries on until it hits a task-node. The
task node compels some sort of external actor (presumably a human being) to get the latest
task instances and, going through each one, to start, stop it.
However, no matter what i do i can't seem to get start() and end() to insert values
into the database. Ive tried taskinstance.setEnd(new java.util.Date());
ive tried making sure to save the task instance / process instance after each method call,
and i continue to be disappointed. worse still, i dont know how to use
ctx.getTaskMgmtSession().findTaskInstances to get only task instances that arent be
already worked on (presumably this is all task instances with the same actorid whose
start() method has been called).
Essentially, I want to know how to make sure the same task never comes uup more than once.
Thanks!
Any help in clearning this up would be extroardinarily helpful, thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092326#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...