<?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: Workato Environment Detector in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9315#M3824</link>
    <description>&lt;P&gt;We've done this sort of thing based on the User Name in the recipe properties.&amp;nbsp; Our user name in our shared workspace is workato-dev, workato-test, and workato (for prod), so we check if the username has dev, test, or prod.&amp;nbsp; I *THINK* the environment name might be in there too, but I'd at least start with the recipe properties.&amp;nbsp; I know we didn't build anything custom for it.&lt;/P&gt;&lt;P&gt;You'll also see an "is test" flag in the recipe properties... that's not a reference to the environment, rather a reference to if you're running the recipe in Test mode or not.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 16:44:04 GMT</pubDate>
    <dc:creator>mppowe</dc:creator>
    <dc:date>2025-03-20T16:44:04Z</dc:date>
    <item>
      <title>Workato Environment Detector</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9215#M3795</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Salesforce background, and one of the abilities that Salesforce provides is being able to know if you're working in a Sandbox (testing environment) or in Production. This is helpful because I would create automation that checked what environment type the automation was running. One automation in particular sent notifications to Slack. If running in a Sandbox, then the notifications were sent to test channels; otherwise, the notifications would be sent to the correct business channel. This was helpful to keep testing in a non-distracting channel for the rest of the business.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering if there is a similar ability within a recipe. I am sending slack notifications again, and I'd like to dynamically send them to testing channels or business channels without skipping tasks if I'm in production or my dev environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 15:05:51 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9215#M3795</guid>
      <dc:creator>kevinNel</dc:creator>
      <dc:date>2025-03-19T15:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Workato Environment Detector</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9307#M3819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11624"&gt;@kevinNel&lt;/a&gt;,&lt;BR /&gt;I think you might have to use Lookup table or Environment Properties.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 13:22:20 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9307#M3819</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-03-20T13:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Workato Environment Detector</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9315#M3824</link>
      <description>&lt;P&gt;We've done this sort of thing based on the User Name in the recipe properties.&amp;nbsp; Our user name in our shared workspace is workato-dev, workato-test, and workato (for prod), so we check if the username has dev, test, or prod.&amp;nbsp; I *THINK* the environment name might be in there too, but I'd at least start with the recipe properties.&amp;nbsp; I know we didn't build anything custom for it.&lt;/P&gt;&lt;P&gt;You'll also see an "is test" flag in the recipe properties... that's not a reference to the environment, rather a reference to if you're running the recipe in Test mode or not.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 16:44:04 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9315#M3824</guid>
      <dc:creator>mppowe</dc:creator>
      <dc:date>2025-03-20T16:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Workato Environment Detector</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9316#M3825</link>
      <description>&lt;P&gt;Workato offers multiple dev environments, so you can develop recipes in a lower environment and release to production or other interim environments. I think whether you have access depends on your subscription/contract. It might only be available for embedded customers. That said, this is probably a bigger solution than you need.&lt;/P&gt;&lt;P&gt;On a smaller scale, you can create your recipes to determine the environment and behave accordingly. How to do this is up to you, but here's a simple method:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create your &lt;STRONG&gt;main recipe&lt;/STRONG&gt; as a function recipe with a required input called "environment"&lt;/LI&gt;&lt;LI&gt;Create a recipe that triggers from your sandbox. This calls the main recipe and identifies the environment as "sandbox"&lt;/LI&gt;&lt;LI&gt;Create another recipe that triggers from production. This recipe calls the main recipes with "production"&lt;/LI&gt;&lt;LI&gt;In your main recipe, create any number of conditionals to alter the behavior based on the "environment" value&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We use this method regularly for the exact reason you described. If environment == production, email the real contacts, if environment == sandbox, email internal addresses.&lt;/P&gt;&lt;P&gt;On a side note, our trigger recipes&amp;nbsp;&lt;EM&gt;rarely&lt;/EM&gt; do all of the processing. They almost always call a separate function recipe, or route the incoming trigger to the appropriate recipe. This helps tremendously with troubleshooting, re-running, and keeping your processing recipes specific, modular, and&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; monolithic monsters.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 17:10:58 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/workato-environment-detector/m-p/9316#M3825</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-03-20T17:10:58Z</dc:date>
    </item>
  </channel>
</rss>

