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

Function

tointervalds( value )

Converts a value to Interval (Day to Second).

Parameters

Keyword Type Description

value

Any Type

Value to convert.

Returns

Interval (Day to Second)

Usage considerations

Limitations

The duration data type is not available for storing activity classes or process variables, but it is useful for reporting process and task metrics.

Using the value parameter

The value parameter accepts Integer, Decimal, Text, fixed, Boolean, Time, Date, Datetime, timestamp, complex, fraction, and Array data types.

Understanding results

Multiple parameters return an Interval (Day to second) Array.

Examples

tointervalds("11h 10m 30s") returns 111030::00:00:00.000

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
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

tointervalds() Function

FEEDBACK