[JBoss jBPM] - jbpm-console 4.4.GA and
by ericcart
I've just configured a jboss-4.2.2.GA and jbossesb-4.4.GA.
All works OK..... but when I try to deploy a processdefinition.xml at jbpm-console .... I'm getting: "Error deploying process: An exception of type "org.jbpm.jpdl.JpdlException" was thrown. The message is: [[ERROR] no processdefinition.xml inside process archive]"
This is the processdefinition.xml:
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition xmlns="" name="TEST">
|
|
| <start-state name="start-state1">
| <transition to="end-state1"></transition>
| </start-state>
|
|
| <end-state name="end-state1"></end-state>
|
|
| </process-definition>
No exceptions at the log file, no other errors.
I've run several tests, all stuff seems to be Ok and working (my own applications included).
What 's happening ?
Thanks in advance,
Eric
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171401#4171401
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171401
16 years, 3 months
[JBoss jBPM] - Re: workaround for StackOverflow exception
by petia
I have a problem with setting a timer on a Task Node.
I have defined the following process
<?xml version="1.0" encoding="UTF-8"?>
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="timer-test">
| <swimlane name="Initiator">
| <assignment actor-id="admin"></assignment>
| </swimlane>
|
| <start-state name="start-state1">
| <task name="start task" swimlane="Initiator"></task>
| <transition to="TaskA"></transition>
| </start-state>
|
| <task-node name="TaskA">
| <task name="TaskA">
| <assignment actor-id="petia"></assignment>
| </task>
| <timer duedate="10 seconds" transition="skipB"></timer>
| <transition to="TaskB" name="execute B"></transition>
| <transition to="end-state1" name="skipB"></transition>
| </task-node>
|
| <task-node name="TaskB">
| <task name="TaskB">
| <assignment actor-id="petia"></assignment>
| </task>
| <transition to="end-state1"></transition>
| </task-node>
|
| <end-state name="end-state1"></end-state>
| </process-definition>
|
The idea is that if the timer in Task Node TaskA expires the process will be ended (and the Task Node TaskB skipped).
However, when running the process and the timer expires, the transition skipB is not executed (as specified in the code) and the process stalls at Task Node TaskA (which appears in the tasks list, but without an "End" button available for it).
I am running jBPM 3.2.3. From the discussions above I can see that there have been some problems with timers on State Nodes which have been fixed in 3.2.4. Does this apply to my problem with timers on task nodes? Have anyone else had similar problem or am I doing something wrong?
Help is appreciated. Thanks in advance.
Kind regards, Petia
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171251#4171251
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171251
16 years, 3 months
[JBoss jBPM] - Should I Use Jboss JBPM for this
by umerfar
We are in R&D phase for a given project and we have to develop the underlying conceptual model. I am not sure whether this is appropriate section to put this question, i apologize in advance.
Scenario
There will be number of templates, each template may have number of activities and activities are assigned to a User, Role or a Group. Attachements (Questionnaires and Documents) can also be attached with any activities.
Any Client who comes for this system is handled as a Case (A new Use Case). This case will be assigned a particular template and then the process will be followed according to the activities assigned in template. This case is visible to the User, Role or a Group attached with Activities.
For example, a template may have an activity for "register user" and then "interview user" and then "request manager for approval" type of and all these activities are EDITBLE in the system by the admin i.e and admin can add "email verification" activity before "manager approval". At each activity there will be a pre-defined state of the system i.e: Started, Pending, Approved, Rejected.
I can put the conceptual diagram for the system on your request.
My first question is
Should or can we use Jboss jBPM for it? I am not able to decide it yet. Since the activities and the intercommunication between roles, activities and cases is giving me a green signal that its a workflow.
My second question is
I have read in the jboss-jpdl documentation, in section 3.4. Task assignment example
"Because of the separation between the jBPM
workflow engine and the organisational model, an expression language for calculating actors would always be too
limited"
So can't we assign task to the users or role graphically useing jpdl graphic designer and we have to write the custom code for that?? i am asking this because it is an important requirement for our applicaiton.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171184#4171184
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171184
16 years, 3 months