Skip to main content

notBetween

A Workflow Engine function that is the “negative” of the between function. It returns “true” if the object creation date is outside the specified range.

This function is available as a feature of the Add-ons v2.3.5 download and later.

This function is available for event, alert, and Situation workflows.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function notBetween takes the following arguments:

Name

Required

Type

Description

from

yes

string

Start time in hh:mm:ss 24hr format.

to

yes

string

End time in hh:mm:ss 24h format.

days

yes

object

Optional array of days in short form: "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat".

Use a blank array (“[ ]” )for all days.

Example

Use the following configuration to return "true" (continue the workflow) if the creation time is outside “business hours” on weekdays:

  • from : 08:00:00

  • to : 18:00:00

  • days : [ “Mon”, “Tue” , “Wed”, “Thu” , “Fri” ]

This appears in the UI as:

{"from":"08:00:00","to":"18:00:00","days":["Mon","Tue","Wed","Thu","Fri"]}