Table of Contents

, , ,

NEXT_SEQUENCE_TIME

Description

Defines a time sequence that starts at a particular minute of a particular hour and then occurs every few minutes. Returns “Yes” if the current time coincides with the sequence occurrence.

Syntax

NEXT_SEQUENCE_TIME (id, start, interval)

Cannot be used in the condition of a FIND action.

Parameters

identifier of the time sequence (any text that has to be unique across all sequences), minutes of the hour when the sequence starts and time interval of the sequence in minutes

Returns

Yes/No: 'Yes' if the current time falls on an occurrence of the sequence.

Example

IF NEXT_SEQUENCE_TIME('SEQ1',0,15) = 'Yes' THEN 
   DoSomething 
/* this will return Yes at 00, 15, 30 and 45 minutes of every hour */ 

CURRENT_MINUTE, CURRENT_HOUR, MINUTE