Value resolver – Abstract
Purpose: Replaces invalid or special characters within a transferred URL with universal characters.
Tooltip
Usage: The URL encoding value resolver applies URL encoding (“percent encoding”) to a string passed as an input value.
Note: If the input value is not a character string, the string image is processed instead. The result may vary depending on the context (client/server).

The URL encoding resolver applies the URL encoding ('percentage encoding') to a character string passed as an input value.
URL encoding replaces selected characters with two-digit hexadecimal codes (00-FF), each preceded by a percent sign (%).
The 'encoded' character string only uses ASCII characters that can be used in the string value of a URI parameter, for example, without overlapping with syntactically relevant characters of the URI ('.', '?', '/', '&', '=', etc.).
Groups of up to three hex codes can also be used to encode all characters of the UTF-8 string.
Simple examples:
Input value (String) | URL encoding | Comments |
|---|---|---|
|
| The ampersand (&) is coded as |
|
| In addition to the ampersand (&), the surrounding spaces must also be 'masked' using the hex value |
|
| The equal sign (=) is coded as |
|
| The space appears as |
|
| German special characters (ä, ö, Ü and ß) are replaced by UTF-8 codes with two hex bytes each. |
|
| Here, a complete URL (including query parameter 's' with a value of 'API') was encoded so that the characters ':', '/', '?', and '=' were replaced by the corresponding ASCII hex codes. |
|
| Here, the parameter value for the search already contains URL code (for the space in the search text 'No code'), so that the already encoded percent sign (%) is encoded again. Instead of the space, the character string |
►IMPORTANT◄ If the input value is not a string (String), the string image of the input value is encoded. One of the factors determining the structure of the character string used as a string image is the data type of the input value. However, a specific mapping rule can apply for each execution context (client vs. server), which may also take localizations in the Localization or Company specific localization into account. The following table illustrates these influences using two examples:
Configuration example | Execution context | String image | Comments | ||
|---|---|---|---|---|---|
Input value from the dynamic enumeration Company type:
| Server (e.g. Event handling) | irrelevant |
|
| no character 'recoded' |
Client (e.g. Client Workflow) | Deutsch ( |
|
| The umlaut 'Ä' in the string image is replaced by the corresponding UTF-8 hexadecimal values (C3 and A4) in 'percentage coding'. | |
English ( |
|
| no character 'recoded' | ||
The input value is a
| Server (e.g. Event handling) | irrelevant |
|
| Default formatting of the server for time information (in the original time zone and UTC with time incl. millisecond) with 'recoded' special characters (space as +, colon, slash, brackets). |
Client (e.g. Client Workflow) | Deutsch ( |
|
| Default date-time format of the client (localizations for the Current locale | |
English ( |
|
|

