Overview
The Timer component can be used in the following scenarios:
The Timer component is a useful tool for managing time-sensitive activities within the Appian platform.
Key Features & Functionality
Provides Timer and reverse timer functionality in Appian Applications.
Hi All, I have set reverse timer for 60 mins on interface after 60 mins exeption flow occur in process model but after 60 mins again timer getting started. is that expected behaviour for exception flow? Thanks in advance
Hi suyogk0001 ,
The timer will count up after reaching 0 if enableReverseTimer is set to true. This is an expected behavior.
Could you please elaborate your need so that we can suggest a solution.
Regards,
Praveen Santhosh.
Hi Praveen Santhosh
So what should I modify in my code so that my requirement will get fulfill?
It is the expected behavior. The timer will stop only when it reaches the limit 0 - DOWN and the specified time - UP or when providing STOP as a value to the action parameter.
By the screenshot, your local variable must be getting refreshed to 59 and hence the condition provided in for the action parameter will be evaluating to START when reloading or refreshing the page. Thus, the timer is starting automatically.
Hi Praveen it worked thanks but one issue is whenever I click back button of browser and again come back to screen timer is starting again, is it expected behavior?
From the screenshot you have shared, the enableReverseTimer parameter has been provided a a value true. Thus, once the timer reaches 0 (Direction - DOWN), the timer will again start counting up from 1.
If you do not want this behavior, please set the enableReverseTimer parameter to false. Please let us know if your requirement is satisfied.
For now I have added timer for 59 sec