<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://www.xlayer.co.za/forum/extern.php?action=feed&amp;tid=53&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[SXI Forum / XLayer Condition Operators]]></title>
		<link>https://www.xlayer.co.za/forum/viewtopic.php?id=53</link>
		<description><![CDATA[The most recent posts in XLayer Condition Operators.]]></description>
		<lastBuildDate>Thu, 22 Nov 2018 05:37:53 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[XLayer Condition Operators]]></title>
			<link>https://www.xlayer.co.za/forum/viewtopic.php?pid=73#p73</link>
			<description><![CDATA[<p>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.</p><p>Often it appears if the conditional statements are not working properly - here is why:</p><p>When using either the MATCHES or DOESNOTMATCH operator the value attribute is a <a href="https://en.wikipedia.org/wiki/Regular_expression" rel="nofollow">Regular Expression</a> so one needs to be mindful that any <a href="https://www.hscripts.com/tutorials/regular-expression/metacharacter-list.php" rel="nofollow">REGEX metacharacters</a> must be escaped for the operation to work as intended<br />&#160; &#160; <br />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 <a href="https://www.hscripts.com/tutorials/regular-expression/metacharacter-list.php" rel="nofollow">REGEX metacharacters</a> 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</p><p>The eq, lt, gt and ne operations ONLY work on NUMBERS</p>]]></description>
			<author><![CDATA[dummy@example.com (SeanR)]]></author>
			<pubDate>Thu, 22 Nov 2018 05:37:53 +0000</pubDate>
			<guid>https://www.xlayer.co.za/forum/viewtopic.php?pid=73#p73</guid>
		</item>
	</channel>
</rss>
