Skip to main content

CALC

Return a calculated value from the rules engine, such as week-to-date hours, number of breaks taken, length of a break

Example Usage​

CALC(hours_worked.week) -> weekly worked hours
CALC(hours_worked.day) -> daily worked hours
CALC(hours_worked) -> current segment worked hours
CALC(test) -> "CalculatedResult" // test

Overview​

Function signature
CALC(item)

Category
Calculated

Return data type
None

Arguments​

NameDataTypeList Options                          Description
itemstringCalculated result to lookup