SXI Forum

A place to collect usefull tips, tricks and implementation strategies.

You are not logged in.

#1 22-11-2018 07:37:53

SeanR
Administrator
Registered: 20-11-2018
Posts: 150

XLayer Condition Operators

XLayer allows the user to configure different procedures based on various conditions during the integration process. This is done by conditionally executing alternate mappings within the Action Node.

Often it appears if the conditional statements are not working properly - here is why:

When using either the MATCHES or DOESNOTMATCH operator the value attribute is a Regular Expression so one needs to be mindful that any REGEX metacharacters must be escaped for the operation to work as intended
   
Following on from the MATCHES or DOESNOTMATCH discussion above one needs to be careful when setting the value attribute in the condition to extract its contents from another field in memory using the ~#~ notation for example ~#~MyField~#~. This field may contain a REGEX metacharacters in which the case the operation would not behave as intended. To get around this issue you would need to apply the MD5Hash rule to both fields that are used as the operands in the condition

The eq, lt, gt and ne operations ONLY work on NUMBERS

Offline

Board footer

Powered by FluxBB