[JBoss-user] [JBoss jBPM] - [jBPME][3.1.1] Nodes : state or task-node

2006-05-30 Thread ephemeris-lappis
Hello. According to the user guide, the two node types are similar, except that the task-node represents a human activity that will be managed in the users todo lists. From the same guide, i've understood that both nodes are wait states that need a signal to make the process go further. I've d

[JBoss-user] [JBoss jBPM] - [jBPM][3.1.1] Transition with condition in decision

2006-05-30 Thread ephemeris-lappis
Hello. I've been testing using simple JPDL examples. I've understood a transition can be selected according to a condition expressed in a condition node. Here an example of my tests : | | | | | | | In these lines the two transition tags contain a name at

[JBoss-user] [JBoss jBPM] - Re: [jBPME][3.1.1] Nodes : state or task-node

2006-05-30 Thread ephemeris-lappis
OK : a task in the task node seems to work, and stops the process execution untila signal is received... I will read the documentaion again for more about tasks, wait states and signals... Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947757#3947757

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Transition with condition in decision

2006-05-30 Thread ephemeris-lappis
I've searched the forum for something about that, but i'm sorry : it seems that nothing matches. Indeed i've also read something about a new behaviour of the default transition that seems to be the first one in the decision block in the recent version. This is not exactly my problem : i've just d

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Transition with condition in decision

2006-05-30 Thread ephemeris-lappis
Yes, i already had the solution you say : let the transition with its name ! But i think this point should be clarified in the documentation (and/or schema) for those that are going to do the same and spend time looking why this don't work... Thanks anyway. View the original post : http://www.

[JBoss-user] [JBoss jBPM] - [jBPM][3.1.1] Unassigned tasks

2006-06-07 Thread ephemeris-lappis
Hello. I've understand that assigned tasks can be listed, either for an exact actor id, or a pool of actors. This two ways are presented as repectively push or pull models. I've not found a way to list unassigned tasks, either for a given process instance, a given process definition or the who

[JBoss-user] [JBoss jBPM] - [jBPME][3.1.1] Transition in timer

2006-06-08 Thread ephemeris-lappis
Hello. I'm not sure i understand the user guide about transition in timer. In the following example, a timer is defined with a transition attribute. On timeout, the script is executed as expected, but the process stays on the same state, ignoring the given transition... | |

[JBoss-user] [JBoss jBPM] - Re: [jBPME][3.1.1] Transition in timer

2006-06-08 Thread ephemeris-lappis
I've tried this, but i doesn't change anything... The timer fires, but the transition is not activated. And, if the java code produces a signal on the root token, the next node is the normal transition, not the transition that is supposed to be selected by the timer... | |

[JBoss-user] [JBoss jBPM] - Re: [jBPME][3.1.1] Transition in timer

2006-06-08 Thread ephemeris-lappis
OK : that was the mistake ! Muchisimas gracias ! Now i have another problem with the java code : the main program keeps a reference on the current process instance, its root token, etc. When the timer has fired and the transition has been activated as expected (since it works !), the persisten

[JBoss-user] [JBoss jBPM] - Re: [jBPME][3.1.1] Transition in timer

2006-06-08 Thread ephemeris-lappis
OK. I'll post a new topic... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949898#3949898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949898 ___ JBoss-user mailing list

[JBoss-user] [JBoss jBPM] - [jBPM][3.1.1] Nodes : reload process instance state

2006-06-08 Thread ephemeris-lappis
Hello again ! A first application java code may keep a reference on a given process instance. In parallel, other applications, or timer execution may change the process state, activating transition, changing variables, etc. What is the best way to refresh the process instance for a new operatio

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Nodes : reload process instance state

2006-06-08 Thread ephemeris-lappis
OK. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950036#3950036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950036 ___ JBoss-user mailing list JBoss-user@

[JBoss-user] [JBoss jBPM] - [jBPM][3.1.1][GPD] Exception when re-opening a process file

2006-06-15 Thread ephemeris-lappis
Hello. I was trying to use the GPD eclipse plugin to design a test process definition. In fact, i have first open an existent process file i've previously hand-written. After moving the nodes on the diagram, i've just saved the changes, and close the file. At this time, le GDP has generated two

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1][GPD] Exception when re-opening a process f

2006-06-15 Thread ephemeris-lappis
I got it ! The problem is just another consequence of unamed nodes : in this case, the problem seems to be the start node that has no name, and perhaps transitions in the same case. I think the documentation, the xml schema and tools should both check names and ensure all elements are correctl

[JBoss-user] [JBoss jBPM] - [jBPM][3.1.1][GPD] How associate tasks and swimlanes

2006-06-15 Thread ephemeris-lappis
Hello again. The GPD allows us to create swilanes on one hand, and task-nodes and task on the other hand. Is there a way to draw the swimlanes and associate assigned tasks ? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951235#3951235 Reply to the

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1][GPD] How associate tasks and swimlanes

2006-06-16 Thread ephemeris-lappis
May be a nice thing !... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951278#3951278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951278 ___ JBoss-user mailing list JBos

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Timer with calculated 'duedate'

2006-06-18 Thread ephemeris-lappis
Hello. What may be the best way to define a timer on a node with a calculated timeout ? Indeed, the value of the attribute 'duedate' should be calculated at run time depending on process variables and according to complex business rules. Thanks for an idea... View the original post : http://w

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Timer with calculated 'duedate'

2006-06-19 Thread ephemeris-lappis
I will try to use a custom action to set the timer value. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951825#3951825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951825 __

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Timer with calculated 'duedate'

2006-06-20 Thread ephemeris-lappis
I've been looking for a way to retrieve the timer in my current state from the executionContext of a custom action, but i've not found any ! Could you please give me lead ? Another question : in the action code, if the timer timeout is changed, should i explicitly try to save it, using a jbpm c

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Timer with calculated 'duedate'

2006-06-20 Thread ephemeris-lappis
More questions ! I've changed my test code that used a state node with a task-node just as in your example. Now, it seems the timer fires twice : my timer action writes a message on system out twice. But it seems the transition from the timer task is done only once. The full jpdl is at the en

[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Timer with calculated 'duedate'

2006-06-20 Thread ephemeris-lappis
Hello again. Indeed, the ExecutionContext has a getTimer method, but it seems it always returns null. Has it has no javadoc, i'm not sure this is the good way to retrieve the timer of a task. Perhaps it just works when you use it from a timer action... I'd prefer use only the jBPM API, and avo

[JBoss-user] [JBoss jBPM] - [jBPM][3.1.1] Get a timer instance with API

2006-06-22 Thread ephemeris-lappis
Hello. How can i retrieve a timer instance with the API, in particular during an ActionHandler invocation, for example on the "task-create" event for a given task ? Is the whole task created when the action is called ? I've been trying several methods, among them, the getTimer of the Executio