Delay logic
  • 16 Oct 2019
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Delay logic

  • Dark
    Light
  • PDF

Used to delay the task in the node for the specified time.

delay

Time interval (delay) is specified the field Limit the time of the task in the node.

After the time expires, the task goes to the specified node.

This value can be specified with:

  • exact number and unit of measurement - seconds (min 30), minutes, hours, days.

delay_const

  • task parameter:

delay_param

This task parameter must contain date/time in unixtime format.
At the specified time the task goes to a specified node.

unix_param

  • function $.unixtime() to get the Unix timestamp of the exact time

delay_func

If the process is highly loaded, value 60 seconds for Delay logic is recommended

Example of a dynamic timer for each task

See an example, where:

  • variable date is converted to unixtime fo specifying in Delay logic (the format is DD.MM.YYYY hh:mm:ss)
  • variable offset_GMT is used to correct value to Corezoid server time zone.

What's Next