Not using WS Human Task Handler, just a custom work item handler (since not
every long running process is a human task):
Is there a way to use a Variable Persistence mechanism, to automatically
persist an ID of the work item that causes a flow to suspend [ puts it in a
wait state ]? This way when the flow resumes all we have to do is
processInstance.getVariable("workItemId") to get exactly _that_ work item ID
that needs to be completed.
[ I understand this can be done manually from the a custom work item
handler, but then a different approach is used, different tables get
updated, artificial relationship between session / processInstance and
workItem needs to be manually established, etc.. + we would not be able to
do "processInstance.getVariable("workItemId")" ]
Thank you,
/Anatoly
--
View this message in context:
http://n3.nabble.com/Drools-Flow-WORK-ITEM-ID-as-a-flow-variable-tp680939...
Sent from the Drools - User mailing list archive at
Nabble.com.