# TimerBlock

### Properties

Input - document which is needed to start the timer for different users separately.

| Block Property   | Definition                                                                            | Example Input                                                                                                                                                                                                                                                                                                                      | Status                                     |
| ---------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| tag              | Unique name for the logic block.                                                      | timerBlock                                                                                                                                                                                                                                                                                                                         |                                            |
| permissions      | Which entity has rights to interact at this part of the workflow.                     | Standard Registry.                                                                                                                                                                                                                                                                                                                 |                                            |
| defaultActive    | Shows whether this block is active at this time and whether it needs to be shown.     | Checked or unchecked.                                                                                                                                                                                                                                                                                                              |                                            |
| dependencies     | Establish workflow dependancies that need to be completed prior.                      | Select the appropriate block from the dropdown.                                                                                                                                                                                                                                                                                    | <mark style="color:red;">Deprecated</mark> |
| On errors        | Called if the system error has occurs in the Block                                    | <ul><li>No action</li><li>Retry</li><li>Go to step</li><li>Go to tag</li></ul>                                                                                                                                                                                                                                                     |                                            |
| stop Propagation | End processing here, don't pass control to the next block.                            | Checked or unchecked.                                                                                                                                                                                                                                                                                                              |                                            |
| Start Date       | date/time to start the timer                                                          | 16-05-2022 16:00 (UTC+04:00)                                                                                                                                                                                                                                                                                                       |                                            |
| End Date         | date/time to stop the timer                                                           | 16-05-2022 16:00 (UTC+04:00)                                                                                                                                                                                                                                                                                                       |                                            |
| Period           | specification of the period which which timer triggers (starting from the Start Date) | <p>Yearly</p><p>Monthly</p><p>Weekly</p><p>Daily</p><p>Hourly</p><p>Custom - advanced period</p><p>configuration</p><p>If ‘Period’ = ‘Custom’<br>Mask - cron mask for timer (example: <a href="https://crontab.guru/"><https://crontab.guru/></a>)<br>Interval (number) - trigger timer on every tick<br>(e.g. every two days)</p> |                                            |
| Custom Period    | open dialogue window to set Mask and Interval                                         | 0 12 \*\*\*\* 4                                                                                                                                                                                                                                                                                                                    |                                            |

### Events

| Property Name | Name in JSON | Property Value                                                    | Value in JSON                          | Description                                                                                                                     |
| ------------- | ------------ | ----------------------------------------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Event Type    | -            | <p>Input Event</p><p>Output Event</p>                             | -                                      | Type of the event - determines whether this is ingress or egress event for the current block.                                   |
| Source        | "source"     | Block tag(string)                                                 | "block\_tag"                           | The block which initiates the event.                                                                                            |
| Target        | "target"     | Block tag(string)                                                 | "block\_tag"                           | The block which receives the event.                                                                                             |
| Output Event  | "output"     | Event name(string)                                                | "event\_name"                          | Action or issue that caused the event.                                                                                          |
| Input Event   | "input"      | Event name(string)                                                | "event\_name"                          | Action which will be triggered by the event.                                                                                    |
| Event Actor   | "actor"      | <p>Event Initiator</p><p>Document Owner</p><p>Document Issuer</p> | <p>""</p><p>"owner"</p><p>"issuer"</p> | Allows to transfer control of the block (execution context) to another user. Empty field leaves control at the Event Initiator. |
| Disabled      | "disabled"   | True/False                                                        | true/false                             | Allows to disable the event without deleting it.                                                                                |

To know more information about events, please look at .
