<?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 How to add an and/or conditional in a recipe in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-add-an-and-or-conditional-in-a-recipe/m-p/7943#M3334</link>
    <description>&lt;P&gt;Team&lt;/P&gt;&lt;P&gt;I am trying to add an and/or condition for a recipe line item that is part of an auto flow I am using to populate a field in another system. The formula for the line in template input is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cost CenterID fx Line: cost center or profit center Step 1 .include?("CC") Line cost center or project Step1:Skip&lt;/P&gt;&lt;P&gt;How do I update this formula so that is also allows "PC" entries?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have tried :&amp;nbsp;&lt;SPAN&gt;Cost CenterID fx (Line: cost center or profit center Step 1 .include?("CC") or .include?("PC")? Line cost center or project : Step 1:Skip&lt;BR /&gt;and am getting an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have attached the screenshot of this from workato. Thanks&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Conditional.png" style="width: 872px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1577i1A6A93FA12F6A0C5/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Conditional.png" alt="Conditional.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 09:57:03 GMT</pubDate>
    <dc:creator>k_ai</dc:creator>
    <dc:date>2024-10-04T09:57:03Z</dc:date>
    <item>
      <title>How to add an and/or conditional in a recipe</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-add-an-and-or-conditional-in-a-recipe/m-p/7943#M3334</link>
      <description>&lt;P&gt;Team&lt;/P&gt;&lt;P&gt;I am trying to add an and/or condition for a recipe line item that is part of an auto flow I am using to populate a field in another system. The formula for the line in template input is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cost CenterID fx Line: cost center or profit center Step 1 .include?("CC") Line cost center or project Step1:Skip&lt;/P&gt;&lt;P&gt;How do I update this formula so that is also allows "PC" entries?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have tried :&amp;nbsp;&lt;SPAN&gt;Cost CenterID fx (Line: cost center or profit center Step 1 .include?("CC") or .include?("PC")? Line cost center or project : Step 1:Skip&lt;BR /&gt;and am getting an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have attached the screenshot of this from workato. Thanks&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Conditional.png" style="width: 872px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1577i1A6A93FA12F6A0C5/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Conditional.png" alt="Conditional.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 09:57:03 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-add-an-and-or-conditional-in-a-recipe/m-p/7943#M3334</guid>
      <dc:creator>k_ai</dc:creator>
      <dc:date>2024-10-04T09:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add an and/or conditional in a recipe</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-add-an-and-or-conditional-in-a-recipe/m-p/7950#M3335</link>
      <description>&lt;P&gt;Team, I fixed this. Just needed to put () around the updated code and us || instead of "or". Tested it, now working and ready for Production! thanks all&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 14:27:56 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-add-an-and-or-conditional-in-a-recipe/m-p/7950#M3335</guid>
      <dc:creator>k_ai</dc:creator>
      <dc:date>2024-10-04T14:27:56Z</dc:date>
    </item>
  </channel>
</rss>

