<?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: AOF Framework: Job Recovery Recipe Not Triggering After Failure in Main Orchestrator in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/aof-framework-job-recovery-recipe-not-triggering-after-failure/m-p/9986#M4051</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’d like to update that the issue I faced with the &lt;STRONG&gt;AOF Job Recovery recipe not triggering properly&lt;/STRONG&gt; has been successfully resolved.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; &lt;STRONG&gt;Root Cause&lt;/STRONG&gt;&lt;BR /&gt;The main problem was within the &lt;STRONG&gt;Job Recovery&lt;/STRONG&gt; recipe logic. Although the recipe was being called, it was &lt;STRONG&gt;not iterating or retrying&lt;/STRONG&gt; as expected due to &lt;STRONG&gt;missing conditional handling and iteration logic&lt;/STRONG&gt;.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":wrench:"&gt;🔧&lt;/span&gt; &lt;STRONG&gt;Solution Implemented&lt;/STRONG&gt;&lt;BR /&gt;To address this, I introduced the following enhancements using &lt;STRONG&gt;RecipeOps&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Added a WHILE loop to handle &lt;STRONG&gt;multiple recovery attempts (up to 5 retries)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Introduced a &lt;STRONG&gt;60-second wait interval&lt;/STRONG&gt; between each retry attempt&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Defined and used &lt;STRONG&gt;conditional variables&lt;/STRONG&gt; (Job_ID, Rerun_Time) to monitor and control each rerun cycle&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Used Search job history of specified recipe and Rerun specified jobs actions inside the loop&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This structure now ensures that the Job Recovery recipe &lt;STRONG&gt;retries failed jobs consistently&lt;/STRONG&gt; within a defined timeframe.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":camera_with_flash:"&gt;📸&lt;/span&gt; &lt;STRONG&gt;Screenshots for Reference&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot 1:&lt;/STRONG&gt; Job logs showing &lt;STRONG&gt;6 successful executions&lt;/STRONG&gt;, confirming that the recipe retried and succeeded based on the new logic&lt;BR /&gt;![Successful Jobs](attachme&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 1 (ob Recovery Jobs)" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2100i0A37BBDF104B9F3F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-26 121357.png" alt="Screenshot - 1 (ob Recovery Jobs)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot - 1 (ob Recovery Jobs)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 2 (Job Recovery Recipe)" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2101i6646D023720E0F9A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-26 121436.png" alt="Screenshot - 2 (Job Recovery Recipe)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot - 2 (Job Recovery Recipe)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Scrrenshot - 3 (UDC Recipe - WFR)" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2102i6BE8628FC02771D6/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-26 122359.png" alt="Scrrenshot - 3 (UDC Recipe - WFR)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Scrrenshot - 3 (UDC Recipe - WFR)&lt;/span&gt;&lt;/span&gt;nt: Screenshot 2025-05-26 121357.png)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot 2:&lt;/STRONG&gt; Logic implementation inside the WHILE loop within the &lt;STRONG&gt;Job Recovery&lt;/STRONG&gt; recipe&lt;BR /&gt;![Recipe Logic](attachment: Screenshot 2025-05-26 121436.png)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot 3:&lt;/STRONG&gt; From the functional UDC recipe, showing that I &lt;STRONG&gt;repeated the job 6 times&lt;/STRONG&gt; successfully using AOF logic&lt;BR /&gt;![UDC Recipe Repeat](attachment: Screenshot 2025-05-26 122359.png)&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;Let me know if anyone needs help implementing similar retry logic in their AOF setup!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manish Patel&lt;/P&gt;</description>
    <pubDate>Mon, 26 May 2025 07:02:25 GMT</pubDate>
    <dc:creator>Patel0786</dc:creator>
    <dc:date>2025-05-26T07:02:25Z</dc:date>
    <item>
      <title>AOF Framework: Job Recovery Recipe Not Triggering After Failure in Main Orchestrator</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/aof-framework-job-recovery-recipe-not-triggering-after-failure/m-p/9806#M3990</link>
      <description>&lt;P class=""&gt;Hi Community,&lt;/P&gt;&lt;P class=""&gt;I'm implementing the &lt;STRONG&gt;Workato Autonomous Operations Framework (AOF)&lt;/STRONG&gt; in my workspace, following the standard 4-layer structure:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P class=""&gt;&lt;STRONG&gt;Business Logic → Error Handler → Logging → Job Recovery&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class=""&gt;I'm using the official &lt;STRONG&gt;AOF package provided by Workato Academy&lt;/STRONG&gt;, and I've followed the recipe structure and configurations exactly as downloaded.&lt;/P&gt;&lt;P class=""&gt;Here’s the issue I’m facing:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;In my &lt;STRONG&gt;main orchestrator recipe&lt;/STRONG&gt;, I intentionally throw an error to simulate failure. This correctly triggers the &lt;STRONG&gt;error handler recipe&lt;/STRONG&gt; via Call recipe.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The &lt;STRONG&gt;error handler&lt;/STRONG&gt; logs the error and then conditionally triggers the &lt;STRONG&gt;job recovery sub-recipe&lt;/STRONG&gt; based on a conditional block.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The conditional block came pre-configured from the AOF Academy package with a default value of "Yes" (under the condition to execute job recovery).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;However, despite this setup, &lt;STRONG&gt;the job recovery recipe never executes&lt;/STRONG&gt; — it doesn’t appear in the job dashboard at all.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":camera_with_flash:"&gt;📸&lt;/span&gt; Flow Overview:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Image 1&lt;/STRONG&gt;: Job dashboard showing no trace of the job recovery recipe being triggered.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Image 2&lt;/STRONG&gt;: Main orchestrator recipe where error handler and recovery recipe are referenced.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Image 3&lt;/STRONG&gt;: Test execution confirming failure, but no recovery call was made.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Image 4&lt;/STRONG&gt;: My AOF flow diagram (intended full structure).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":magnifying_glass_tilted_left:"&gt;🔍&lt;/span&gt; What I’ve Verified:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;The recovery recipe is &lt;STRONG&gt;active&lt;/STRONG&gt; and &lt;STRONG&gt;callable&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The input/output schema between recipes is configured.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The condition in the error handler is present as per the Workato Academy template, with the value set to "Yes".&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;There are no error logs or failed job records related to the recovery recipe.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;It seems like the recovery recipe is &lt;STRONG&gt;never invoked&lt;/STRONG&gt;, even though all conditions are met.&lt;/P&gt;&lt;P class=""&gt;Has anyone else encountered this issue while using the AOF package from Workato Academy? Any advice would be appreciated!&lt;/P&gt;&lt;P class=""&gt;Thanks in advance.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image -1" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2035i396B353DD7D469BA/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-07 143204.png" alt="Image -1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Image -1&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image -2" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2036iE2988949D15F0F1F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-07 143437.png" alt="Image -2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Image -2&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image -3" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2037iC79275253B4A714D/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-07 143511.png" alt="Image -3" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Image -3&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image -4" style="width: 779px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2038i39144185DB0B1507/image-dimensions/779x454/is-moderation-mode/true?v=v2" width="779" height="454" role="button" title="Screenshot 2025-05-07 143713.png" alt="Image -4" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Image -4&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 10:44:38 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/aof-framework-job-recovery-recipe-not-triggering-after-failure/m-p/9806#M3990</guid>
      <dc:creator>Patel0786</dc:creator>
      <dc:date>2025-05-07T10:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: AOF Framework: Job Recovery Recipe Not Triggering After Failure in Main Orchestrator</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/aof-framework-job-recovery-recipe-not-triggering-after-failure/m-p/9986#M4051</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’d like to update that the issue I faced with the &lt;STRONG&gt;AOF Job Recovery recipe not triggering properly&lt;/STRONG&gt; has been successfully resolved.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; &lt;STRONG&gt;Root Cause&lt;/STRONG&gt;&lt;BR /&gt;The main problem was within the &lt;STRONG&gt;Job Recovery&lt;/STRONG&gt; recipe logic. Although the recipe was being called, it was &lt;STRONG&gt;not iterating or retrying&lt;/STRONG&gt; as expected due to &lt;STRONG&gt;missing conditional handling and iteration logic&lt;/STRONG&gt;.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":wrench:"&gt;🔧&lt;/span&gt; &lt;STRONG&gt;Solution Implemented&lt;/STRONG&gt;&lt;BR /&gt;To address this, I introduced the following enhancements using &lt;STRONG&gt;RecipeOps&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Added a WHILE loop to handle &lt;STRONG&gt;multiple recovery attempts (up to 5 retries)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Introduced a &lt;STRONG&gt;60-second wait interval&lt;/STRONG&gt; between each retry attempt&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Defined and used &lt;STRONG&gt;conditional variables&lt;/STRONG&gt; (Job_ID, Rerun_Time) to monitor and control each rerun cycle&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Used Search job history of specified recipe and Rerun specified jobs actions inside the loop&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This structure now ensures that the Job Recovery recipe &lt;STRONG&gt;retries failed jobs consistently&lt;/STRONG&gt; within a defined timeframe.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":camera_with_flash:"&gt;📸&lt;/span&gt; &lt;STRONG&gt;Screenshots for Reference&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot 1:&lt;/STRONG&gt; Job logs showing &lt;STRONG&gt;6 successful executions&lt;/STRONG&gt;, confirming that the recipe retried and succeeded based on the new logic&lt;BR /&gt;![Successful Jobs](attachme&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 1 (ob Recovery Jobs)" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2100i0A37BBDF104B9F3F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-26 121357.png" alt="Screenshot - 1 (ob Recovery Jobs)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot - 1 (ob Recovery Jobs)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 2 (Job Recovery Recipe)" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2101i6646D023720E0F9A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-26 121436.png" alt="Screenshot - 2 (Job Recovery Recipe)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot - 2 (Job Recovery Recipe)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Scrrenshot - 3 (UDC Recipe - WFR)" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2102i6BE8628FC02771D6/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-05-26 122359.png" alt="Scrrenshot - 3 (UDC Recipe - WFR)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Scrrenshot - 3 (UDC Recipe - WFR)&lt;/span&gt;&lt;/span&gt;nt: Screenshot 2025-05-26 121357.png)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot 2:&lt;/STRONG&gt; Logic implementation inside the WHILE loop within the &lt;STRONG&gt;Job Recovery&lt;/STRONG&gt; recipe&lt;BR /&gt;![Recipe Logic](attachment: Screenshot 2025-05-26 121436.png)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot 3:&lt;/STRONG&gt; From the functional UDC recipe, showing that I &lt;STRONG&gt;repeated the job 6 times&lt;/STRONG&gt; successfully using AOF logic&lt;BR /&gt;![UDC Recipe Repeat](attachment: Screenshot 2025-05-26 122359.png)&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;Let me know if anyone needs help implementing similar retry logic in their AOF setup!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manish Patel&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 07:02:25 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/aof-framework-job-recovery-recipe-not-triggering-after-failure/m-p/9986#M4051</guid>
      <dc:creator>Patel0786</dc:creator>
      <dc:date>2025-05-26T07:02:25Z</dc:date>
    </item>
  </channel>
</rss>

