-
1. Re: Are these features Supported in jBPM ??
kukeltje Nov 21, 2005 2:09 PM (in response to klsateesh)1) create your own hibernate query for this
2) We do not actively support migrating process instances. If you are sure all process variables required for a new version are available, you could 'migrate' it by changing some values in the database. In my personal opinion I would not like to have processes running several years, just because of this issue. E.g. a company I did some work for we created a long lasting dossier with several short lived processes acting on it. That way the problems of process instance migration disappear.
Migrating the database and accompanying process definitions once a new jBPM version comes out, will be supported by jBPM, just not upgrading the running process instances to a newer version of the process
3) You could reassign the task to that individual user. That wat is 'locked' -
2. Re: Are these features Supported in jBPM ??
klsateesh Nov 22, 2005 11:11 AM (in response to klsateesh)Hi,
I need to have the Creator and Assigner Attributes in the Task Instance..
I am wondering why we don't have this basic feature Or am i missing some thing here..
When you assign a task to a User/Role , it is required to show who assigned that Task !!
I thought of using these values in the Context Instance using the below code:
taskInsatnce.getToken().getProcessInstance().getContextInstance().setVariable("comments",strComments,taskInsatnce.getToken());
But from the jBPM documentation Context is about process variables !!
So how can we store the Variables specific to TaskInstance.. If i store the Variable using the Above Code they might get persisted and are related to the Token. But this Token might have more than one Task Instance ..how to get the Info Specific to a TaskInstance ?
If we extend the TaskInstance and all the Attributes and the methods which are specific to our app what are all the Places that i need to make this change apart from the Hibernate Config File..
Thanks
Sateesh