PhenixID

Map Values in Attribute

Version: 1.6

Category: Process

Extended Category: String

Action Package: Standard Actions

Description

Map values in attribute from a table of values.

Parameter

Description

Example

Session Attribute with Origin Value:

The session attribute that holds the origin value.

carLicense

Mapping Table:

Syntax originValue|mappingValue,originValue2|mappingValue2, etc

1|One,2|Two,3|Three

New Session Attribute:

If a new session attribute should be added with the mapping value. If empty, origin attribute will be used.

wbemPath

Value Separator:

The value separator, default is comma (,).

;

Handle Multivalue Attribute:

If all values in a multivalue attribute should be mapped (true) or only the first value (false). Default: false.

true

Use Cases

Example 1: Map country to phone prefix

This action will map the country to the country code prefix for this country. The prefix will be stored in the session attribute PhonePrefix.

Parameter

Value

Session Attribute with Origin Value:

country

Mapping Table:

USA|+1,United Kingdom|+44,Denmark|+45,Sweden|+46

New Session Attribute:

PhonePrefix

Value Separator:

[BLANK]

Handle Multivalue Attribute:

[BLANK]


DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se