]
Kris Verlaenen resolved DROOLS-188.
-----------------------------------
Fix Version/s: 6.1.0.Final
Resolution: Done
Marking as resolved as the linked JBPM JIRA is already resolved.
Link nodeId (from process definition) to WorkItem
-------------------------------------------------
Key: DROOLS-188
URL:
https://issues.jboss.org/browse/DROOLS-188
Project: Drools
Issue Type: Feature Request
Affects Versions: 5.5.0.Final, 6.0.0.CR1
Reporter: Alan Gairey
Assignee: Kris Verlaenen
Fix For: 6.1.0.Final
Attachments: drools-core-5.5.0.Final-changes.zip, drools-core-trunk-changes.zip,
kie-api-trunk-changes.zip, knowledge-api-5.5.0.Final-changes.zip,
knowledge-api-legacy5-adapter-trunk-changes.zip
This issue links to JBPM-3232.
I would like the node ID, from the process definition file (i.e. .bpmn or .rf file), to
be a field of a WorkItem. This requires changes to *knowledge-api* and *drools-core* as
well as the jBPM code base.
It's useful to know, when handling a WorkItem in a WorkItemHandler, which node from
the process definition is being run (particularly if the same task type is used multiple
times in the workflow).
I've attached the required changes, both for the 5.5.0.Final code, and also the
latest trunk.