Timer

The Timer component generates an event after a set interval, with an option to generate recurring events. The server-based component raises an Elapsed event in your application, once or repeatedly, after the number of milliseconds specified in the Interval property have passed.

For example, for a critical server that must be running uninterrupted, a service using a Timer component can be created to check the server periodically to ensure it is running. If the Elapsed even occurs after the Timer interval, the service can attempt to restart the server or notify an administrator.

Properties

The key properties for the Timer component include:

  • Interval. Specifies the amount of time, in milliseconds, after which the Elapsed event is to be raised.

Events

Events can be configured for the Timer to specify the behaviour of the control. For example, an action can be triggered when the specified timer interval has elapsed and the timer is enabled using the Tick property.

For information on configuring events and other components of the design using a script, see: Working with Scripts.

Adding a Timer

When you drag a Timer component from the Toolbox to a form in Flow Designer, it will appear as an entry in the design space. You can select the control and configure it using the Properties pane.

More information on the Timer component can be viewed at the link to Microsoft® Documentation.