Used to define the Timers.


# Attribute name Description
1 Name Name
2 Type

Types of timer:

  1. Interval
  2. Time
  3. Date
  4. DateAndTime

3 Value

Use UTC format:

  • 12/16/2014 12:50:00
  • 12/17/2014
  • 12:51:00

For type Interval: value with milliseconds, seconds, minutes, hours and days. For example "1d 2h 4m 30s" - one day two hours four minutes thirty seconds or "5m 30s", "14d", "12h", "10m", "10s" etc. You are able to use following names. d, day or days to specify interval in days. h, hour or hours to specify interval in hours. m, minute or minutes to specify interval in minutes.  s, second or seconds to specify interval in seconds. ms, millisecond or milliseconds to specify interval in milliseconds. If the interval is specified as just a numeric value, it is interpreted as the interval in milliseconds.

For custom culture use: WorkflowRuntime.SchemeParsingCulture.

4 Do not override timer if exists Do not reset the timer, if the previous Activity was with the same timer.

Please note that to run the timers the runtime must be configured with the timer manager. Use following lines of code to configure the runtime with the default timer manager.

_runtime.WithTimerManager(new TimerManager())