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