<?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: Variable Formulas to Set up Automation in Workato Academy Discussion</title>
    <link>https://systematic.workato.com/t5/workato-academy-discussion/variable-formulas-to-set-up-automation/m-p/10264#M472</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/12039"&gt;@collin_baker_4&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;(now + 7.days).beginning_of_week&amp;nbsp; - this is working fine I didn't get any error. (output: "2025-06-26")&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;now.next_week.beginning_of_week&lt;/STRONG&gt; - I think next_week is not available in workato, correct me if I am wrong :).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;today() + 7&amp;nbsp; &amp;nbsp;-&amp;nbsp; This is working fine too (output: "2025-06-26")&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;today() + (9 - weekday(today())) - &lt;/STRONG&gt;you can do that in this way&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;today() + (9 -today.to_time.wday),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;NOW() + 7&amp;nbsp; -&amp;nbsp;&lt;/STRONG&gt; It should be like this&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;now() + 7&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;and this results in adding 7 seconds from now&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;now.plus_days(8 - .now.cwday)&amp;nbsp;&lt;/STRONG&gt; - I don;t think we have plus_days in Workato or a standard ruby method yet you can try in this way&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;now + (8 - now.wday).days&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jun 2025 18:18:29 GMT</pubDate>
    <dc:creator>Bhagya_pola</dc:creator>
    <dc:date>2025-06-19T18:18:29Z</dc:date>
    <item>
      <title>Variable Formulas to Set up Automation</title>
      <link>https://systematic.workato.com/t5/workato-academy-discussion/variable-formulas-to-set-up-automation/m-p/10257#M470</link>
      <description>&lt;P&gt;hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;currently i am trying to make an automation with wrike intergrate that then connects to wrike itself. the purpose of the auto mation is so that when the last task of a phase is completed, the next phase will enter a "holding period" until the following monday, where it will then send its task out to be completed. i have been trying to create a recipe for this, but for some reason my formula keeps giving me syntax errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;here are few examples of formulas i have tried that give me syntax errors.&amp;nbsp;&lt;BR /&gt;(now + 7.days).beginning_of_week&lt;BR /&gt;now.next_week.beginning_of_week&lt;BR /&gt;today() + 7&lt;BR /&gt;today() + (9 - weekday(today()))&lt;BR /&gt;NOW() + 7&lt;BR /&gt;now.plus_days(8 - .now.cwday)&lt;BR /&gt;from my understanding, the variable "now" should work but no matter how i type it, it gives me a syntax error. the same goes for any interger.&lt;BR /&gt;any help would be greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 21:44:05 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-academy-discussion/variable-formulas-to-set-up-automation/m-p/10257#M470</guid>
      <dc:creator>collin_baker_4</dc:creator>
      <dc:date>2025-06-18T21:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Formulas to Set up Automation</title>
      <link>https://systematic.workato.com/t5/workato-academy-discussion/variable-formulas-to-set-up-automation/m-p/10264#M472</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/12039"&gt;@collin_baker_4&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;(now + 7.days).beginning_of_week&amp;nbsp; - this is working fine I didn't get any error. (output: "2025-06-26")&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;now.next_week.beginning_of_week&lt;/STRONG&gt; - I think next_week is not available in workato, correct me if I am wrong :).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;today() + 7&amp;nbsp; &amp;nbsp;-&amp;nbsp; This is working fine too (output: "2025-06-26")&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;today() + (9 - weekday(today())) - &lt;/STRONG&gt;you can do that in this way&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;today() + (9 -today.to_time.wday),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;NOW() + 7&amp;nbsp; -&amp;nbsp;&lt;/STRONG&gt; It should be like this&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;now() + 7&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;and this results in adding 7 seconds from now&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;now.plus_days(8 - .now.cwday)&amp;nbsp;&lt;/STRONG&gt; - I don;t think we have plus_days in Workato or a standard ruby method yet you can try in this way&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;now + (8 - now.wday).days&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 18:18:29 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-academy-discussion/variable-formulas-to-set-up-automation/m-p/10264#M472</guid>
      <dc:creator>Bhagya_pola</dc:creator>
      <dc:date>2025-06-19T18:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Formulas to Set up Automation</title>
      <link>https://systematic.workato.com/t5/workato-academy-discussion/variable-formulas-to-set-up-automation/m-p/10265#M473</link>
      <description>&lt;P&gt;thank you! although it still appeared as a syntax error, the code did work this time. my guess is i may have been messing up the formula somewhere else&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 19:18:18 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-academy-discussion/variable-formulas-to-set-up-automation/m-p/10265#M473</guid>
      <dc:creator>collin_baker_4</dc:creator>
      <dc:date>2025-06-19T19:18:18Z</dc:date>
    </item>
  </channel>
</rss>

