WorkItemNodeInstance should not reset workItemId to -1 after completion
-----------------------------------------------------------------------
Key: JBRULES-2598
URL:
https://jira.jboss.org/browse/JBRULES-2598
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 5.1.0.M2
Reporter: Kris Verlaenen
Assignee: Kris Verlaenen
Priority: Minor
Fix For: 5.1.0.FINAL
If the workItemId is reset to -1, any listener will not be able to get info on the work
item that was executed. Instead of resetting to -1, the state of the work item should be
used to determine whether a work item is being executed or not (for cancellation).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira