[jboss-user] [jBPM] New message: "Re: jBPM 4.3 - Process Instance Description"

Walter Seymore do-not-reply at jboss.com
Thu Feb 11 03:49:26 EST 2010


User development,

A new message was posted in the thread "jBPM 4.3 - Process Instance Description":

http://community.jboss.org/message/525671#525671

Author  : Walter Seymore
Profile : http://community.jboss.org/people/WalterJS

Message:
--------------------------------------------------------------
Thanks Ronald,
 
I've already used the processInstanceKey for this, but as you stated, the value has to be unique and this just did not make sense to me, especially since this value is duplicated in the ID_ field. Another unfortunate consequence of using this field is that it cannot (should not) be changed during the life if the process. This might be necessary when the description should be augmented with new data from one of the tasks. The KEY_ field is never updated in the history table after it is created originally (as you'd expect).
 
We always have an external record that is associated with the process. We store this record's unique id in the processInstanceKey field and so we can use a secondary lookup to get the "instance description". Does this sound like a reasonable solution or is there a simpler way of doing this? (We could always use a variable in the process, but this variable will have to be copied to the history tables which is not happening at the moment).
 
Thanks
Walter

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/525671#525671




More information about the jboss-user mailing list