How to configure a timer with formula ?

363 views
Skip to first unread message

yves.deveyrac@etrali;com

unread,
Mar 23, 2015, 12:20:07 PM3/23/15
to suppor...@runmyprocess.com
Hello,

2 questions on timer :
- I use a formula with a ${delay} process variable in a timer event and it works fine. But is it possible to configure it so that it stops after a certain number of iterations or when a ceertain condition is met ? I tried to set the delay at null but it didn’t stop the timer.

- Is it possible to configure a timer so that the task is automatically aborted after a certain time ?


Regards
Yves

Shobhit Tripathi

unread,
Mar 23, 2015, 5:12:06 PM3/23/15
to suppor...@runmyprocess.com
Hi,

1. Yes. Giving below example for better understanding.

a) If you want to make a timer to work (on a certain number of iteration or certain condition) then you need to create variable like "Count" at the beginning of the process(like start event or any activity) and initiates it (like 0). 
b) Then use a gateway for assigning the task back to the next activity.

c) Take a manual activity which will create a task and assigned to a person. If he/she is not responding on a certain time interval then a timer will be triggered (this is intermediate timer attached with the manual activity). Here you have to configured the timer activity for delay. i.e. you have to set this as per your requirement and with increment the counter variable(at timer event's output variable).
d) Now you have to use a Gateway(EX-OR/Split) where you have to put all the conditions (like on a certain condition process iteration will be stop/perform any action). So for this you need to use condition like counter<=2 (depends on requirement) then process will be ended if it reaches this condition otherwise you have to reassign the task back to the manual activity (i.e. continue iteration). (see the attachment).

2. If you want to end any process on certain time interval then you have to configure an intermediate timer via formula(which contains or calculate specific time). So that after reaching that specific time, intermediate timer will be triggered and end(or task will be skipped) then you can perform desired action afterwards.

Hope this will help you.

-- 
Thanks & Regards,
Shobhit
Fujitsu- RunMyProcess

Yves

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/b12b060d-5732-49a4-97fd-d15198300b66%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.




Timer_counter.png
Reply all
Reply to author
Forward
0 new messages