-
1. Re: jBPM4 History/Log implementation.
tom.baeyens Jul 8, 2009 3:29 AM (in response to shekharv)certainly it is our ambition to realize these capabilities in 4.1 or 4.2.
the most difficult part will be to manage DB schema and data migration as we build out those features.
How we'll tacke that will still have to be figured out in the next 2 months. -
2. Re: jBPM4 History/Log implementation.
tom.baeyens Jul 8, 2009 3:31 AM (in response to shekharv)i've created https://jira.jboss.org/jira/browse/JBPM-2393
you can keep track of progress there -
3. Re: jBPM4 History/Log implementation.
shekharv Jul 9, 2009 5:18 AM (in response to shekharv)Tom,
I've had only a few minutes of looking at the recent changes, and they look great!
Just wanted to drop in the line to appreciate the quick response, -
4. Re: jBPM4 History/Log implementation.
tom.baeyens Jul 9, 2009 6:06 AM (in response to shekharv)shekharv, a big thanks for bringing that up. now, with these last additions, i feel that jbpm 4 is ready to stand up and be a respected replacement for jbpm 3.
keep pushing us! you're contribution of signalling this vital hole was really great. -
5. Re: jBPM4 History/Log implementation.
kukeltje Jul 9, 2009 6:12 AM (in response to shekharv)Shekharv,
Not only this contribution is appreciated, but also the contribution on helping out in the user forum. Oh and the 'thank you' above also helps :-)
Ronald -
6. Re: jBPM4 History/Log implementation.
shekharv Jul 9, 2009 4:17 PM (in response to shekharv)Thanks Guys,
Ronald, kudos to your great work manning the forums single handedly for what seems to be a long time! -
7. Re: jBPM4 History/Log implementation.
kukeltje Jul 9, 2009 5:58 PM (in response to shekharv)You are welcome. I just hope someone can give me my total number of posts some day. Should be around 10.000 I think
-
8. Re: jBPM4 History/Log implementation.
rams.rapol Nov 18, 2009 12:57 AM (in response to shekharv)Hi,
I noticed that whenever fields like duedate on a task are changed, the dbversion column gets incremented. However there's no entry in history detail table to see old and new values.
Also in history task impl class we may be losing reference to detail before persisting it.public void updated(TaskImpl task) { if ( (assignee==null && task.getAssignee()!=null) || (assignee!=null) && (!assignee.equals(task.getAssignee())) ) { addDetail(new HistoryTaskAssignmentImpl(assignee, task.getAssignee())); this.assignee = task.getAssignee(); } if (priority!=task.getPriority()) { addDetail(new HistoryPriorityUpdateImpl(priority, task.getPriority())); this.priority = task.getPriority(); } if ( (duedate==null && task.getDuedate()!=null) || (duedate!=null) && (!duedate.equals(task.getDuedate())) ) { addDetail(new HistoryTaskDuedateUpdateImpl(duedate, task.getDuedate())); this.duedate = task.getDuedate(); } } // details ////////////////////////////////////////////////////////////////// public void addDetail(HistoryDetailImpl detail) { detail.setHistoryTask(this, nextDetailIndex); nextDetailIndex++; }
Env:jbpm 4.0 jboss 5.1.0 Oracle 10g
-
9. Re: jBPM4 History/Log implementation.
kukeltje Nov 21, 2009 11:09 AM (in response to shekharv)please add this kind of info in the jira issue corresponding history updates
-
10. Re: jBPM4 History/Log implementation.
kalairajan Feb 25, 2010 4:53 AM (in response to shekharv)Bug !!!
JBPM version : 4.4-SNAPSHOT
org.jbpm.pvm.internal.history.model.HistoryTaskImpl
Newly created HistoryDetail is not added to the collection of the HistoryTaskImpl(Highlighted).
public void updated(TaskImpl task) {
if ( (assignee==null && task.getAssignee()!=null)
|| (assignee!=null) && (!assignee.equals(task.getAssignee()))
) {
addDetail(new HistoryTaskAssignmentImpl(assignee, task.getAssignee()));
this.assignee = task.getAssignee();
}
if (priority!=task.getPriority()) {
addDetail(new HistoryPriorityUpdateImpl(priority, task.getPriority()));
this.priority = task.getPriority();
}
if ( (duedate==null && task.getDuedate()!=null)
|| (duedate!=null) && (!duedate.equals(task.getDuedate()))
) {
addDetail(new HistoryTaskDuedateUpdateImpl(duedate, task.getDuedate()));
this.duedate = task.getDuedate();
}
}// details //////////////////////////////////////////////////////////////////
public void addDetail(HistoryDetailImpl detail) {
detail.setHistoryTask(this, nextDetailIndex);
details.add(detail);
nextDetailIndex++;
} -
11. Re: jBPM4 History/Log implementation.
kukeltje Feb 25, 2010 3:57 PM (in response to kalairajan)See my previous answer... add this kind of info to the issue in jira...