look at the testcases in the source. many 'examples' of these kinds of things
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4178693#4178693
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178693
Hi Ronald,
Thanks for your response.
I read through the examples.
Shows create the process instance first, on same process manipulates the nodes
traversal.
I'm trying to get the process instance of the process already running.
I'm using the below code
JbpmConfiguration jbpmConfiguration =
The result you get is correct in combination with the wrong way of using it.
There is a difference between a definition and instance. You cannot use the id
of a definition to load an instance this way. Instances have there own id when
you start an instance
View the original post :
Hi Ronald,
Thanks for your response.
When I tried to get the Process Instance from the Process definition, I do get
the process Id, what I see in the Web Console.
Kindly help me to get the right APIs to get the ProcessInstance, So as I can
get the current status.
With Regs
:Ansari S.H
View
WHAT process instance? There can be hundreds, thousands of process instances
for ONE process definition... So gettging THE process instance is kind of hard?
Normal usage is that you have a 'business key' in your domain model and set
that in a process instance when you start it. You can
but if you want them ALL (which I cannot imagine in a running server) you can
use something like
jbpmContext.getGraphSession().findProcessInstances(processDefinitionId);
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4178783#4178783
Reply to the post :
Hi Ronald,
Thanks a lot, It works.
In our requirement, at any point of time that particular process will be having
one process instance or zero.
With Regs
:Ansari S.H
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4178953#4178953
Reply to the post :
by using the api??? But there can of course be multiple 'states' in in parallel
if you e.g. have forks or joins...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113726#4113726
Reply to the post :