Free cookie consent management tool by TermsFeed calisworktime() Function
calisworktime() Function


calisworktime( datetime, calendar_name )

This returns whether or not the given Date and Time is within working hours, according to the calendars defined for the system.


Keyword Type Description


Date and Time

The Date and Time to test.



This optional parameter accepts the name of a system calendar; otherwise, the default calendar is used.



Usage considerations

Passing a calendar name allows you to validate working time using an alternate system calendar, if you have multiple calendars configured.

See also: Process Calendar Settings


calisworktime(datetime(2011,12,13,20,0,0)) returns false

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Incompatible
Offline Mobile Incompatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Compatible
Process Events Compatible
Open in Github Built: Thu, Jun 13, 2024 (05:06:58 PM)

calisworktime() Function