srikant vege [
https://community.jboss.org/people/srikanthvege1] created the discussion
"Need help on JBPM workflow Timer event problem with session dispose."
To view the discussion, visit:
https://community.jboss.org/message/742674#742674
--------------------------------------------------------------
Hi,
Please somebody can help me on resolving the below problem. I am using JBPM 5.2 with
Tomcat 6.
I have to model a JBPM workflow and below are the requirements.
1. Workflow should wait for N days to complete (the value of N can be set dynamically
using process variable).
2. This workflow should have a signal event and this signal event can be called multiple
times within that N days time.
3. Once the time period is reach, process should be completed.
I tried this by using timer event (Please see the below diagram). In this diagram, once
the process is started, I am triggering the timer siganl from "Signal for timer
event" script node. This signal will trigger the timer event.
In my code I am disposing the session for every step. My problem is, timer is getting
expired when I dispose the session. I can't keep the session active for long days.
https://community.jboss.org/servlet/JiveServlet/showImage/2-742674-18762/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-742674-18...
Thanks
Srikant.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/742674#742674]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]