[jboss-user] [jBPM] - Re: Process Instance Variable within WorkItemHandler

Mauricio Salatino do-not-reply at jboss.com
Wed Jun 8 11:54:42 EDT 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: Process Instance Variable within WorkItemHandler"

To view the discussion, visit: http://community.jboss.org/message/609228#609228

--------------------------------------------------------------
Hi Amin,
Your procedure looks so complicated to me. You should use the Variable Persisntece Strategies to handle such situations. Are your expessions propietary? Do you need to do that kind of resolutions in runtime? or you can solve the same things with the current methods?
If you create a variable persistence strategy for handling your classes that are being persisted externally,  you shouldn't use the process instance ID to restore the information. You should use your own/external persisters (the one that handles the Class A and B) to restore the information about those classes using the ID that you pass to the work item handler.
Greetings.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/609228#609228]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110608/8ad5c7ba/attachment.html 


More information about the jboss-user mailing list