[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-20 Thread cwad0000
ah, thanks folks for clearing it up.

The trick with adding both a timer and due date seems to serve the purpose fine 
for me, many thanks for that.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-19 Thread cwad0000
I want to be able to extract the information for each task, when it was 
created/started/when it is due
(to be able to show this information in a todo list for the user and as overall 
information for managers, e.g. highlight all tasks where the due date is 
overdue etc)

In the jbpm_taskinstance I have all this info, which would mean that I wouldnt 
have to lookup the timers (which I think will be a pain, if I am wrong, please 
provide any pointers how it could be done).
Unfortunately I cannot find a single example that actually uses the due date in 
 a taskinstance.

Is this duedate deprecated? I would be thankful for any information.

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

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


---
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: how to use duedate? (in a task, NOT timer)

2006-04-19 Thread kukeltje
isn't there anything in the testcases?

Ronald

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-19 Thread michaelholtzman
You specify the due date in the process definition as a duration (e.g., 2 
hours), and when the task instance is created it converts it to the actual 
date/time. You can use TaskInstance.getDueDate() to retrieve the calculated 
date.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-19 Thread [EMAIL PROTECTED]
The following event types are supported by jBPM:
task-create
task-assign
task-start
task-end
There is no task-due event. Unlike the events above, firing a task-due event 
would require interaction with the scheduler. Some time ago I wrote a quick and 
dirty patch to support a task-due event, but did not integrate it into the main 
jBPM codebase because there are other ways to get the same effect (e.g. a timer 
on the task). In fact, my solution sets up a timer internally. 

cwad, would that do the job for you? If so, please file a feature request 
in our issue tracking system and assign it to me. 

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-19 Thread michaelholtzman
That's exactly what I am doing.

I am inserting the due date (duration) in the process definition as BOTH the 
task instance due date AND the expriration time on a timer on the task. The 
absolute due date (i.e., a real date) shows in the UI and my task fires when 
the due date expires.

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-12 Thread cwad0000
Thanks, but I do NOT want to use the timer functionality, I want to use the 
duedate on the task as I had in my example.

That will set the due date in jbpm_taskinstance, but I cannot find any 
documentation how that due date is used.
I would expect that some kind of event is thrown, but I cannot find any 
information about it.

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

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


---
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: how to use duedate? (in a task, NOT timer)

2006-04-12 Thread fptoth
Hi,

Sorry, I missed that in your first post.

I am curious (I'm a beginner) as to why a timer wouldn't work for you.

Thanks,

Fred


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

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


---
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: how to use duedate? (in a task, NOT timer)

2006-04-11 Thread fptoth
Hi,

The websale example does exactly this in one of its nodes:


  | task-node name=evaluate web order
  | task swimlane=salesman
  |   timer duedate=20 seconds repeat=10 seconds
  | action class=org.jbpm.websale.RemindActor
  |   swimlaneNamesalesman/swimlaneName
  | /action
  |   /timer
  |   controller
  | variable name=item access=read/
  | variable name=quantity access=read/
  | variable name=address access=read/
  | variable name=comment/
  |   /controller
  | /task
  | transition name=ok to=salefork /
  | transition name=more info needed to=fix web order data /
  |   /task-node
  | 

See jbpm/src/process.examples/websale.par/processdefinition.xml

The code for RemindActor is also there.

Fred


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

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


---
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