Question about features
by Abid Hussain
Hello everybody,
my company is currently evaluating BPM tools for one of our costumers. It seems
that jBPM may be a good choice for a medium sized company.
I would be happy if someone could help me out with my questions about jBPM/jPDL.
Especially I'm wondering about capabilities of integrating some flexibility in
the modeled processes.
- The process sequence is unfortunately not always the same depending on the
current business scenario. Is it possible to skip modeled tasks resp. change the
process sequence at runtime?
- Let's look at the following scenario. A product has already been delivered and
the customer has paid, so the process sequence has terminated. Now half a year
later the customer has a complaint which makes it necessary to "reactivate" the
process an step in a certain process stage again. Is this case somehow possible
with jPDL without defining an extra process for this scenario?
Would be happy if anyone could enlighten me...
Regards,
Abid Hussain
--
Abid Hussain
17 years, 2 months
[JBoss jBPM] - Re: Ad-hoc one of workflow piece
by pjacobsen
Ronald.... thanks for the reply & I gotcha on the terminology.
I had seen the milestone pattern before but I'm not sure if that meets my need? I don't really know when & where in the process definition the user will need to essentially pause the current execution.... perform some arbitrarily complex one-off process... and then return execution to their originally definition afterward. I think the disconnect for me is that my one-off process will not be defined in the original process or the flow.
Examples
For this process definition:
start --> task 1 --> task 2 --> node 3 --> task 4 --> end
We normally expect for the process instance to be just that. But on some occasions users need to be able to define any process that needs to be executed during only one particular instance of the process definition above. For example... while our token in on task 1.... they might say i need the following to execute after node 3 completes but before task 4 starts:
task x --> node y --> task z
making the execution:
start --> task 1 --> task 2 --> node 3 --> (execute sub process above then return) -- > task 4 --> end
or maybe for another instance they need the following to execute after task 1 completes but before task 2 starts:
task m --> task n --> node o --> node p
making the execution
start --> task 1 --> (execute sub process above then return) -- > task 2 --> node 3 --> task 4 --> end
Ultimately my problem is that not only is in not part of the flow... but really it's not a part of the definition either. It's a one-off process definition that needs to be executed at some point in a process instance (essentially pausing it... and then letting it continue after completion).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203821#4203821
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203821
17 years, 2 months
[JBoss jBPM] - [size=18][b]subProcessDefinition not found[/b][/size]
by kasabov
I have process that invoke sub process using process state. I test the process with JUnit. When start test it says - ERROR (GraphElement.java:295) - action threw exception: can't create a process instance when processDefinition is null. This is because can't find the sub process definiton. How can I bound sub process definition to parent process definition. This is my code in JUnit test
| ProcessDefinition definition = ProcessDefinition
| .parseXmlInputStream(new FileInputStream("jpdl\\parent\\processdefinition.xml"));
| ProcessDefinition definitionSub = ProcessDefinition
| .parseXmlInputStream(new FileInputStream("jpdl\\sub\\processdefinition.xml"));
| ProcessState st = (ProcessState)definition.getNode("Sub process Invoke");
| st.setProcessDefinition(definitionSub);
| ProcessInstance instance = new ProcessInstance(definition);
| instance.signal();
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203761#4203761
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203761
17 years, 2 months