Free cookie consent management tool by TermsFeed

joinarray() Function

Function

joinarray( array, separator )

Concatenates the elements of an array together into one string and inserts a string separator between each element.

Parameters

Keyword Type Description

array

Any Type Array

An array of elements to be concatenated.

separator

Text

A string that will be inserted between each element of the given array.

Returns

Text

Usage considerations

Acceptable array types

This function works with any array type, performing a string conversion on each element if necessary.

Understanding results

If no separator value is defined, then a default empty text is used.

If an array with only one element is entered as the array argument, the function will return only the element without the separator value.

Examples

joinarray(pv!processVar3, "|") returns 1|2|3|4 where pv!processVar3 is a process variable which holds the number array {1, 2, 3, 4}

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
Process Reports Compatible
Process Events Compatible

Feedback