Version: 1.7
Category: Process
Extended Category: String
Action Package: Standard Actions
Description
Replace/remove a value in attribute.
Parameter |
Description |
Example |
Session Attribute(s) with Origin Value: |
[Mandatory] The session attribute(s) that holds the origin value(s), in case there are multiple, separate them with “,”. In order to not overwrite an attribute, a new attribute might be specified by separating the names with “|”, ex: “Source1|Target1,Source2|Target2” |
description |
Result Attribute(s): |
[Optional] The result will be written to these attributes, separate the attribute names with “,”. If empty, the source attribute is overwritten. Only valid if a single session attribute has been specified for the origin value. |
descriptionModified |
Value to Search for in a String: |
[Mandatory] The origin value to search for in a string. Note that regular expressions can be used and characters like ‘- + * ? ( ) [ ] \ | $ ^ !’ must be escaped. Supports SESSION() and GLOBAL(). |
SESSION(givenName) |
Value to be Replaced is escaped: |
[Optional] (true/false) If the value to be replaced should be treated as escaped text, containing ex. \r, \n, \t etc. Default is false. |
true |
Use Cases
Example 1: Replace Title HR-Manager with HR Director
This action will replace HR-Manager with HR Director in the title attribute.
Parameter |
Value |
Session Attribute with Origin Value: |
title |
Value to Search for in a String: |
HR-Manager |
Value to be Replaced: |
HR Director |
Value to be Replaced: |
HR Director |
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