<?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 character comparaison with IF condition in Formula Mode? in Community Chat</title>
    <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8641#M539</link>
    <description>&lt;P&gt;Hi &lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11321"&gt;@Prudvi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your solution not works in most cases, Say if the word is prefixed or suffixed with "CAN," it still returns "CAD."&lt;/P&gt;&lt;P&gt;For exmmple:&lt;BR /&gt;- "DECCAN" matches and results in "CAD."&lt;BR /&gt;- "CANBERRY" also returns "CAD."&lt;/P&gt;&lt;P&gt;While I understand that we are aiming for accurate input matching, our solution should be more optimized to handle such cases effectively.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar K A&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 15:00:59 GMT</pubDate>
    <dc:creator>shivakumara</dc:creator>
    <dc:date>2025-01-30T15:00:59Z</dc:date>
    <item>
      <title>How to use character comparaison with IF condition in Formula Mode?</title>
      <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8615#M536</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;With Automation studio, I need to do a character comparaison in Formula Mode.&amp;nbsp; My currency code in Epicor is CAN but I need to save CAD in currency code of HudSpot.&lt;/P&gt;&lt;P&gt;I need to do something like this:&lt;/P&gt;&lt;P&gt;CurrencyCodeField = "CAN"? "CAD" : "USD"&lt;/P&gt;&lt;P&gt;I tried this but it doesn't work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 15:48:52 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8615#M536</guid>
      <dc:creator>SylvainA</dc:creator>
      <dc:date>2025-01-29T15:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use character comparaison with IF condition in Formula Mode?</title>
      <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8624#M537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11437"&gt;@SylvainA&lt;/a&gt;,&lt;BR /&gt;Did you try using &lt;STRONG&gt;"match?"&lt;/STRONG&gt; formula.(&lt;A title="MatchFunction" href="https://docs.workato.com/formulas/string-formulas.html#match" target="_blank" rel="noopener"&gt;MatchFunction&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;datapill.match?(/CAN/)?"CAD":"USD"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have created a variable and using match function, I am validating if the variable contains the CAN.&lt;BR /&gt;If true passes CAD and false passes USD.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 10:54:13 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8624#M537</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-01-30T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use character comparaison with IF condition in Formula Mode?</title>
      <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8640#M538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11437"&gt;@SylvainA&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Here is solution:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="If condition check.PNG" style="width: 500px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1782i498379B9586FF34E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="If condition check.PNG" alt="If condition check.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;I prefer to add one more condition to have optimize solution to avoid the wrong response&lt;BR /&gt;&amp;lt;Input&amp;gt; == "CAN" : "CAD" : &amp;lt;input&amp;gt; == "USD" ? "USD" : "Wrong Input"&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="More optimized if.PNG" style="width: 540px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1783i64626D2E385885B5/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="More optimized if.PNG" alt="More optimized if.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar K A&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 14:58:31 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8640#M538</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-01-30T14:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use character comparaison with IF condition in Formula Mode?</title>
      <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8641#M539</link>
      <description>&lt;P&gt;Hi &lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11321"&gt;@Prudvi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your solution not works in most cases, Say if the word is prefixed or suffixed with "CAN," it still returns "CAD."&lt;/P&gt;&lt;P&gt;For exmmple:&lt;BR /&gt;- "DECCAN" matches and results in "CAD."&lt;BR /&gt;- "CANBERRY" also returns "CAD."&lt;/P&gt;&lt;P&gt;While I understand that we are aiming for accurate input matching, our solution should be more optimized to handle such cases effectively.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar K A&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 15:00:59 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8641#M539</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-01-30T15:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use character comparaison with IF condition in Formula Mode?</title>
      <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8642#M540</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/8685"&gt;@shivakumara&lt;/a&gt;,&lt;BR /&gt;Thanks for pointing out.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 14:58:05 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8642#M540</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-01-30T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use character comparaison with IF condition in Formula Mode?</title>
      <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8646#M541</link>
      <description>&lt;P&gt;Thank you for your quick answer&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/8685"&gt;@shivakumara&lt;/a&gt;&amp;nbsp;but ... it still doesn't work.&amp;nbsp; I tried the easiest way to keep it simple.&lt;/P&gt;&lt;P&gt;&amp;lt;Input&amp;gt; == "CAN" ? "CAD" : "USD"&lt;/P&gt;&lt;P&gt;and I receive this error msg&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"status":"error","message":"Property values were not valid: [{\"isValid\":false,\"message\":\"USD== \\\"CAN\\\" ? \\\"CAD\\\" : \\\"USD\\\" was not one of the allowed options: [label: \\\"CAD\\\"\\nvalue: \\\"CAD\\\"\\ndisplay_order: 0\\nhidden: false\\nread_only: false\\n, label: \\\"USD\\\"\\nvalue: \\\"USD\\\"\\ndisplay_order: 1\\nhidden: false\\nread_only: false\\n, label: \\\"EUR\\\"\\nvalue: \\\"EUR\\\"\\ndisplay_order: 2\\nhidden: false\\nread_only: false\\n]\",\"error\":\"INVALID_OPTION\",\"name\":\"devise___currency\",\"localizedErrorMessage\":\"USD== \\\"CAN\\\" ? \\\"CAD\\\" : \\\"USD\\\" ne faisait pas partie des options autorisées&amp;nbsp;: [label: \\\"CAD\\\"\\nvalue: \\\"CAD\\\"\\ndisplay_order: 0\\nhidden: false\\nread_only: false\\n, label: \\\"USD\\\"\\nvalue: \\\"USD\\\"\\ndisplay_order: 1\\nhidden: false\\nread_only: false\\n, label: \\\"EUR\\\"\\nvalue: \\\"EUR\\\"\\ndisplay_order: 2\\nhidden: false\\nread_only: false\\n]\",\"propertyValue\":\"USD== \\\"CAN\\\" ? \\\"CAD\\\" : \\\"USD\\\"\",\"portalId\":452734}]","correlationId":"0d7d8ca1-1894-4f9f-8b25-25e0bc7924f4","category":"VALIDATION_ERROR"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 22:20:08 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8646#M541</guid>
      <dc:creator>SylvainA</dc:creator>
      <dc:date>2025-01-30T22:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use character comparaison with IF condition in Formula Mode?</title>
      <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8647#M542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11437"&gt;@SylvainA&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Could you please include the Workato formula you used so that I can review it? (Include screenshot of your source and formula you have used)&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumar K A&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 03:43:42 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8647#M542</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-01-31T03:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use character comparaison with IF condition in Formula Mode?</title>
      <link>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8792#M677</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/8685"&gt;@shivakumara&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Sorry, Your answer was correct.&amp;nbsp; The problem was that I wrote a formula but in a &lt;STRONG&gt;text mode&lt;/STRONG&gt;.&amp;nbsp; I simply &lt;STRONG&gt;switch to formula mode&lt;/STRONG&gt; and it was a success.&amp;nbsp; It's my fisrt formula, I will learn.&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sylvain&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 18:42:58 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/how-to-use-character-comparaison-with-if-condition-in-formula/m-p/8792#M677</guid>
      <dc:creator>SylvainA</dc:creator>
      <dc:date>2025-01-31T18:42:58Z</dc:date>
    </item>
  </channel>
</rss>

