-
1. Re: Setting a whole process istance timer
edsdev Sep 28, 2012 8:31 AM (in response to andy00)Not sure that I quite understand your question, but I will answer as best I can.
Create a Varaible for your workflow that is of type Date/Calendar/JodaTime/whatever you want/need
Initialize that date in your first step (or add a step for initialization) (or pass it into your workflow already initialized as a parameter)
In each step of your workflow add your logic for the due date check.
-
2. Re: Setting a whole process istance timer
andy00 Sep 28, 2012 10:40 AM (in response to edsdev)edsdev thanks for your answer, but I would like to avoid check that state of the timer in every node.
I solved creating a timer (create-timer tag) in an action event of a node, then deleting it (cancel-timer) in another node. I had a doubt beacuse documentation says timers are deleted automatically on node leaving, but with create-timer tag it seems they are "persistent" during the process flow.