[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-29 Thread osama.abdelkarim
I have an extended question related to this topic?

Is it possible to make the process instance continue exection after a join node 
based on a condition (possibily in a script) instead of waiting for all child 
tokens?

I have seen a undocumented attribute in the code of Join Node that allows 
adding a script in Join Node. I tried to use it but it failed 
:http://www.jboss.com/index.html?module=bbop=viewtopict=78135

Is there an alternative choice for this? Are there any plans to support it in 
future releases?

Thank you,



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933523#3933523

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933523


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-24 Thread rafaelle
[EMAIL PROTECTED] wrote : a token that arrives in an end state causes the 
process to be ended.
  | 
  | that is the definition of the end state.
  | 
  | if you want all concurrent paths to finish before the process is ended, use 
a join before the end state.

Then ... if a token arrives to an end-state, the process instances is saved as 
ended in the database, breaking concurrents path of execution?? Or it will 
wait until other tokens reach a wait-state (as a task ...) ??

I think this is not a good behaviour to end all the process instance. It should 
end that execution path only, shouldn't it?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3932357#3932357

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932357


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-24 Thread [EMAIL PROTECTED]
it could be an option in a end-state to specify that only the token that 
arrives in the end state should be finished.

but i don't see why a join in front of the end state is insufficient for you.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3932403#3932403

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932403


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-23 Thread mennen
Does anyone know a better solution to end the tasks (children of the fork) 
after the process had ended , other than the following method?
  
  |   Collection listTasks = pi.getTaskMgmtInstance().getTaskInstances();
  |   if (listTasks.size()0) {
  | for (Iterator iter = listTasks.iterator(); iter.hasNext(); ) {
  |   
  | TaskInstance ti = (TaskInstance) iter.next();
  | if (!ti.hasEnded()) {
  |   ti.setSignalling(false);
  |   ti.cancel();
  |   ti.setEnd(new java.util.Date());
  |   log.debug(task instance  + ti.getName() +  has ended);
  |   Token tk = ti.getToken();
  |   tk.end();
  |   log.debug(token  + tk.getName() +  has ended);
  | }
  | }
  |   } 

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3932141#3932141

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932141


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-23 Thread mennen
Is it a bug that once you get to an end state (the process is supposedly 
finished) that there are still active children of the fork??

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3932193#3932193

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932193


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-23 Thread kukeltje
See the Jira for bugs, and if you do, you'd  find 
http://jira.jboss.com/jira/browse/JBPM-392

Ronald

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3932208#3932208

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932208


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-22 Thread [EMAIL PROTECTED]
a token that arrives in an end state causes the process to be ended.

that is the definition of the end state.

if you want all concurrent paths to finish before the process is ended, use a 
join before the end state.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931795#3931795

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931795


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-22 Thread mennen
[EMAIL PROTECTED] wrote : if you want all concurrent paths to finish before 
the process is ended, use a join before the end state.

Thank you for your reply. All i want to do is end the process, and i tried to 
end it, and there are tokens (children of the fork) that are still active even 
after the process end. I can see the tasks on the tasklist of the user.

In order so kill thoses tasks, i had to do it manually:

 

  
  |   Collection listTasks = pi.getTaskMgmtInstance().getTaskInstances();
  |   if (listTasks.size()0) {
  | for (Iterator iter = listTasks.iterator(); iter.hasNext(); ) {
  |   
  | TaskInstance ti = (TaskInstance) iter.next();
  | if (!ti.hasEnded()) {
  |   ti.setSignalling(false);
  |   ti.cancel();
  |   ti.setEnd(new java.util.Date());
  |   log.debug(task instance  + ti.getName() +  has ended);
  |   Token tk = ti.getToken();
  |   tk.end();
  |   log.debug(token  + tk.getName() +  has ended);
  | }
  | }
  |   }

I don't know if there is another way, a simpler way, to do it.

I have a question though: are the children of the fork still active after the 
process end because i have more than one end state?

Thanks in advance,

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931818#3931818

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931818


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-21 Thread mennen
patrickdalla wrote : OK,
  | 
  | I had the same problem.
  | 
  | I want two flows of wark that works in parallel. But the first that ends, 
ends the process. 
  | 
  | Is it possible?

same question

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931776#3931776

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931776


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-17 Thread [EMAIL PROTECTED]
You are right! ;-)

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3930920#3930920

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930920


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-17 Thread patrickdalla
OK,

I had the same problem.

I want two flows of wark that works in parallel. But the first that ends, ends 
the process. 

Is it possible?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3930962#3930962

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930962


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user