Skip to content

FormatMultivaluedList Function

Nilesh Ghodekar edited this page Jun 5, 2017 · 6 revisions

Syntax

List<string> FormatMultivaluedList(format:string, value1:list or object[, value2:list or object,....])

Description

Formats the multivalued list as per the specified format string.

Remarks

If any input parameter is null, an exception is thrown. As of build v2.16.1028.0, if more than one value lists are supplied as parameters, they will be treated as if they are of the length equal to that of the largest list with null as additional items. If one of the parameters supplied is a single / non-list object, e.g. a string, that parameter will be treated as if it is a list of length equal to that of the largest list filled with each item being the same object.

In build v2.16.0130.0, the function expected a single parameter to be of either string or List type. In build v2.16.0710.0, the function supported more than one List objects as input parameters. All lists were expected to be of equal lengths.

Supported Version

2.16.0130.0 and later

Examples

/FormatMultivaluedList("/Person[Email='{0}']", [//WorkflowData/Emails])

/FormatMultivaluedList("/Person[Manager='{0}' and ObjectID=/Group[ObjectID='{1}']/ExplicitMember]", [//Delta/Owner/Added/ObjectID], [//Target/ObjectID])

Clone this wiki locally