It is covered in the video: ZAP Chat 12 Automation Framework Part 6 - Delays and Active Scan.
The time parameter supports the formats hh:mm:ss, mm:ss and ss, so "5" is 5 seconds,
"1:30" is one minute and 30 seconds and "2:20:30" is 2 hours, 20 minutes and 30 seconds.
The conditions supported are:
org.zaproxy.addon.automation.jobs.DelayJob.setEndJob(true);
automation / action / endDelayJob
- type: delay # Pause the plan for a set period of time or event (file created, static method called, API end point called)
parameters:
time: # String: The time to wait, format any of ['hh:mm:ss', 'mm:ss', 'ss'], default: 0
fileName: # String: Name of a file which will cause the job to end early if created, default: empty
enabled: # Bool: If set to false the job will not be run, default: true
alwaysRun: # Bool: If set and the job is enabled then it will run even if the plan exits early, default: false