<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use AND Operator with IF condition in Formula Mode in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-use-and-operator-with-if-condition-in-formula-mode/m-p/5436#M2401</link>
    <description>&lt;P&gt;You can use a "ternary operator", which is basically an "if" statement. It has this syntax:&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;logical_condition ? result_when_true : result_when_false&lt;/LI-CODE&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;1 == 1 ? "true!" : "false!" ## &amp;gt;&amp;gt; "true!"&lt;/LI-CODE&gt;&lt;P&gt;The AND operator is "&amp;amp;&amp;amp;" and the OR operator is "||"&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;1 == 1 &amp;amp;&amp;amp; 0 == 1 ? "true!" : "false!" ## &amp;gt;&amp;gt; "false!"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2023 16:47:56 GMT</pubDate>
    <dc:creator>gary1</dc:creator>
    <dc:date>2023-10-18T16:47:56Z</dc:date>
    <item>
      <title>How to use AND Operator with IF condition in Formula Mode</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-use-and-operator-with-if-condition-in-formula-mode/m-p/5431#M2397</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to use an AND operator with IF ELSE in the Formula mode in Workato.&lt;BR /&gt;&lt;BR /&gt;Trying to do something like:&lt;/P&gt;&lt;P&gt;IF condition1=TRUE&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;AND&amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;Condition2=True&lt;BR /&gt;Value&lt;BR /&gt;&lt;BR /&gt;Can someone please assist on this.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 13:43:44 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-use-and-operator-with-if-condition-in-formula-mode/m-p/5431#M2397</guid>
      <dc:creator>zaygum</dc:creator>
      <dc:date>2023-10-18T13:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use AND Operator with IF condition in Formula Mode</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-use-and-operator-with-if-condition-in-formula-mode/m-p/5436#M2401</link>
      <description>&lt;P&gt;You can use a "ternary operator", which is basically an "if" statement. It has this syntax:&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;logical_condition ? result_when_true : result_when_false&lt;/LI-CODE&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;1 == 1 ? "true!" : "false!" ## &amp;gt;&amp;gt; "true!"&lt;/LI-CODE&gt;&lt;P&gt;The AND operator is "&amp;amp;&amp;amp;" and the OR operator is "||"&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;1 == 1 &amp;amp;&amp;amp; 0 == 1 ? "true!" : "false!" ## &amp;gt;&amp;gt; "false!"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 16:47:56 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-use-and-operator-with-if-condition-in-formula-mode/m-p/5436#M2401</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2023-10-18T16:47:56Z</dc:date>
    </item>
  </channel>
</rss>

