urlwithparameters() Function

Function

urlwithparameters( parameterNames, parameterValues )

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

Parameters

Keyword Type Description

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)

Usage considerations

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

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Partially compatible

Can be used with Appian Portals if it is connected using an integration and web API.

Offline Mobile Partially compatible

Can be used with offline mobile if it is loaded at the top of the form.

Custom Record Field Expressions Incompatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

Open in Github Built: Fri, Sep 23, 2022 (01:18:20 PM)

On This Page

FEEDBACK