Version: 1.7
Category: Process
Extended Category: Numeric
Action Package: Extended Actions
Description
Compares two attributes that contains a date or a numeric value.
Parameter |
Description |
Example |
Attribute Comparison |
The comparison of two attributes. Supports > < >= <=. Ex. attribute1<attribute2 or attribute1>=attribute2. |
whenCreated<Millenium |
Attribute to Set |
The name of the new attribute that will contain the values below depending on the comparison. |
createdBeforeY2K |
Value to Set in Attribute |
The values that will be set to the new attribute depending on the comparison. Use format: value1|value2. value1 will be used if comparison is true, value2 will be used if comparison is false. Default: true|false. |
YES|NO |
Attribute Type |
The type of the values to be compared. May be GeneralizedTime, MicrosoftTime, UnixTime or Numeric. Default: GeneralizedTime |
Numeric |
Use Cases
Example 1: Check if the account is created before Y2K
Check if account is created before Y2K by comparing whenCreated from the user with the static attribute Millenium, which is 2000-01-01 in GeneralizedTime format.
Parameter |
Value |
Attribute Comparison |
whenCreated<Millenium |
Attribute to Set |
createdBeforeY2K |
Value to Set in Attribute |
[BLANK] |
Attribute Type |
[BLANK] |
The result will end up in the session attribute createdBeforeY2K
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