urlwithparameters() Function

This function allows you to build a URL from an expression, using arrays of process and constant data.

Syntax

urlwithparameters( path, parameterNames, parameterValues )

Notes

parameterNames: (Text Array) The parameters to append to the URL.

parameterValues: (Text Array) The parameter values corresponding to the parameter names to append to the URL.

Returns

Textpath (Text)

Notes

Only arrays are accepted for the 2nd and 3rd parameters.

Arrays must be enclosed in curly brackets {}.

Parameter names are encoded to form a valid URL. For example, spaces are replaced with "%20".

The return value is a fully qualified or relative URL path that is not encoded or validated.

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

"<a href=" & urlwithparameters("/tio/viewPayments.do", {"claimNumber"}, {pv!claimNumber}) & ">View Payments</a>" returns View Payments

Open in Github Built: Thu, Feb 23, 2023 (02:59:22 PM)

On This Page

FEEDBACK