This workflow will carry out the operations required for automated checking for an update to the Doctor Drafts workflow based on a number of criteria. The workflow is called when other flows complete, and can be called directly.
When called, it may examine when the last check was carried out and the frequency of checks to determine if a new check should be made.
It will not carry out a check if no Internet connection is available. If a connection is available, the Doctor Draft website is queried for the latest version number which is compared against the local version number. If the remote version number on the website is greater than the local workflow version number, then this signifies an update is available.
When an update is found a notification will be made (visual and audible), and optionally a notification (visual) may be made if no update is found.
The following variables can be passed in and will be processed by the flow.
| ||If this variable is set to |
| ||The frequency (in days) to check for updates. -1 will be never, |
| ||This is set the numeric date representation of when a check was last completed - e.g. 31 December 2021 would be |
| ||Set this to the path of the sound file to play when an update is found. It defaults to |
The following variables are set-up by the flow.
| ||This is set to the current date on occasions where a check is completed - e.g. 31 December 2021 would be |
- Post Notification.