Francesco Pietrobelli [
http://community.jboss.org/people/francesco.pietrobelli] created
the discussion
"Re: obsolete id"
To view the discussion, visit:
http://community.jboss.org/message/625434#625434
--------------------------------------------------------------
yep... this is very strange!!!
are you sure to use org.jbpm.workflow.instance.WorkflowProcessInstance? because the code
for HumanTaskHandler that i'am actually using with jBPM5.1 is:
public void executeWorkItem(WorkItem item, WorkItemManager manager) {
WorkflowProcessInstance currentProcess = (WorkflowProcessInstance) ksession
.getProcessInstance(item.getProcessInstanceId());
if (currentProcess == null) {
log.error("Can't find current process instance relative to " +
item);
manager.abortWorkItem(item.getId());
return;
}
HumanTaskNodeInstance currentNode = (HumanTaskNodeInstance) JbpmUtility
.findNodeInstance(item.getId(), currentProcess);
if (currentNode == null) {
log.error("Can't find current node instance relative to " +
item);
manager.abortWorkItem(item.getId());
return;
}
...
...
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/625434#625434]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]