<?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: Working around the 90 minute limit in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/61#M61</link>
    <description>&lt;P&gt;&lt;STRONG&gt;[Dec 11, 2020] Deepak Mohan from Box replied:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead of calculating the time taken, use "is last” option and add a condition when its met to take further action may be in another recipe.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2021 12:24:53 GMT</pubDate>
    <dc:creator>jessica-lie</dc:creator>
    <dc:date>2021-01-15T12:24:53Z</dc:date>
    <item>
      <title>Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/56#M56</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 3, 2020] Mike Power (CRM Enterprise Architect at American University) posted:&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;I have a parent recipe that retrieves records from an outside source, then loops through each transaction and calls a child recipe to process that individual transaction.&amp;nbsp; When all are done, it marks a flag that all transactions are complete.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Currently I make the calls to the child recipe synchronously so that when I get to the last steps in the parent recipe, I know they’re all done.&amp;nbsp; Recently I started hitting that 90 minute timeout in Workato.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;So I’m considering how to re-do things.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;My initial thoughts are to call the child recipe asynchronously (though it seems to only allow it up to 5 times in parallel, where I may have a couple thousand transactions to get through), then at the end of the parent recipe update either a Lookup table or maybe there’s something in the pub/sub I can utilize (though I haven’t read up on that yet).&amp;nbsp; Then maybe each child recipe, when they finish, they update either the Lookup or pub/sub so that a recipe gets triggered to compare the count completed with the total count (recorded by the parent recipe when it finished), and only when they equal does a triggered recipe update the flag.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Clearly this is half-baked and I’m just starting to think it through.&amp;nbsp; I’d welcome any thoughts from anyone who has already cracked this nut before.&amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:17:23 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/56#M56</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/57#M57</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 4, 2020] Deven Maru (CSM at Workato) replied: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Mike, &lt;/P&gt;&lt;P&gt;Take a look at the wait feature&lt;A href="https://docs.workato.com/features/callable-recipes/wait-for-async-action.html" target="_blank" rel="noreferrer noopener"&gt;https://docs.workato.com/features/callable-recipes/wait-for-async-action.html&lt;/A&gt;. This way you'll avoid manual callable recipe completion synchronization.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:18:29 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/57#M57</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/58#M58</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 4, 2020] Mike Power (CRM Enterprise Architect at American University) replied:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks Deven.&amp;nbsp; I did consider that but if I can only execute 5 of my child workflows at a time (I’m assuming the “Concurrency” setting applies regardless of sync/async), I still worry about the parent recipe waiting for all of the child recipes to finish within the 90 minute allotment.&amp;nbsp; I had hoped to get away from the 90 minute limit completely.&amp;nbsp; Do you think there’s another way to go about that?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:18:55 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/58#M58</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/59#M59</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 10, 2020] Deven Maru (CSM at Workato) replied:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Posting rest of the conversation here after the above message was posted by Mike.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[DEVEN] Mike, there's a timeout limit input field in the Wait action of Callable recipe. You can set it to more than90mins and try it out. I'm including Gabriel who can provide more information.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[MIKE] Thanks Deven.&amp;nbsp; Doesn’t that timeout limit mean that the parent recipe which is awaiting the child recipe will wait longer than 90 minutes, but the parent recipe itself will still get timed out after 90 minutes?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;[DEVEN] No, the parent recipe will "sleep" at the Wait step waiting for your callable recipes to complete. The parent recipe timeout clock "sleeps" as well. When the wait is over, the timeout clock resumes. So, to answer your question, the parent recipe should not get timed out.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:19:42 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/59#M59</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/60#M60</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 11, 2020] Mike Power (CRM Enterprise Architect at American University) replied:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp; I’ve set the child recipe to be asynchronously called (concurrency = 5) and then I calculate a wait time based on the number of transactions.&lt;/P&gt;&lt;P&gt;Worked ok in Test so I’ll move it to Prod soon, and hopefully all will be well!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:20:50 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/60#M60</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/61#M61</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 11, 2020] Deepak Mohan from Box replied:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead of calculating the time taken, use "is last” option and add a condition when its met to take further action may be in another recipe.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:24:53 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/61#M61</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/62#M62</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 4, 2020] Gordon Hu from WeGalvanize replied:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It looks like you are using synchronous recipe to monitor success/failure. I’ve done it the same way but not in a big for-loop so haven’t encountered the 90-min time out yet.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I have an idea:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if a child recipe fails, can it “self-heals” by using Monitor/Error + Retry? If so, we may let it retry itself a couple times.&lt;/LI&gt;&lt;LI&gt;Then, if the retry still fails – write the necessary information &lt;STRONG&gt;somewhere&lt;/STRONG&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Use another recipe to monitor this &lt;STRONG&gt;somewhere&lt;/STRONG&gt; to alert you/or run in a different time/schedule. Ideally, we want this &lt;STRONG&gt;somewhere&lt;/STRONG&gt; to be empty.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Pros:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We turn child from synchronous into asynchronous&lt;/LI&gt;&lt;LI&gt;Master recipe / Child recipe are likely to run within the 90-mins limit.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Having said that, we may run into API limit – given the number of iterations. I have sometimes “slowed down” my iteration by using this trick&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If iteration index is % x = 0, slow down for y second. This means I don’t have to slow down for each iteration but only on some iterations.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;And I haven’t read pub/sub yet…..gotta do it!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:30:54 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/62#M62</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/63#M63</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 4, 2020] Mike Power (CRM Enterprise Architect at American University) replied:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response Gordon.&amp;nbsp; I actually don’t need to worry about the child recipes at all b/c they are doing just that, they are logging out their status within their own execution, and if anything goes wrong with them they are creating a Task in Dynamics CRM to draw our attention.&lt;/P&gt;&lt;P&gt;So the parent recipe really doesn’t need anything from them.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The key is simply waiting until they’re all finished before updating the flag that they’re all done.&amp;nbsp; That’s the part I’m still not sure the best way to accomplish that avoids the 90 minute limit.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:31:32 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/63#M63</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Working around the 90 minute limit</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/64#M64</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Dec 4, 2020] Gordon Hu from WeGalvanize replied:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Mike, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I have a not-so-smart but quick workaround &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; .&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Create two Box files (doesn’t have to be box, just need somewhere to store the value)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;file_1: reference file – store the size of the for loop list&lt;/LI&gt;&lt;LI&gt;file_2: iteration update – default vaule = 0&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;P&gt;Parent Recipe:&lt;/P&gt;&lt;OL type="1"&gt;&lt;LI&gt;Save the list size in file_1&lt;/LI&gt;&lt;LI&gt;Create a for loop with the list size&lt;/LI&gt;&lt;OL type="a"&gt;&lt;LI&gt;Call child recipe&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;P&gt;Chile Recipe:&lt;/P&gt;&lt;OL type="1"&gt;&lt;LI&gt;Update file_2 = previous value + 1&lt;/LI&gt;&lt;LI&gt;Do the job&lt;/LI&gt;&lt;LI&gt;Compare file_1 and file_2’s value:&lt;/LI&gt;&lt;OL type="a"&gt;&lt;LI&gt;If file_2 &amp;lt; file_1: ignore&lt;/LI&gt;&lt;LI&gt;If file_2 = file_1: this indicate the whole loop is done, notify you, and reset both file_1, file_2&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:32:24 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/working-around-the-90-minute-limit/m-p/64#M64</guid>
      <dc:creator>jessica-lie</dc:creator>
      <dc:date>2021-01-15T12:32:24Z</dc:date>
    </item>
  </channel>
</rss>

