• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

How to enable auto re-execution for workflows?

Status
Not open for further replies.
The Auto Re-Execution Feature: Automatically Re-Execute Failed and Skipped Steps

The Auto Re-Execution feature in Pabbly Connect allows you to automatically re-execute failed and skipped steps in your workflow. With this feature, you can ensure the smooth flow of your workflows and reduce manual intervention in case of errors.

Further apart from auto re-execution, users are given the flexibility to manually re-execute the failed and the skipped steps in their workflows.



Setting Auto Re-Execution Attempts

You have the flexibility to configure the number of auto re-execution attempts for your workflow. You can set a value from 0 to 5 for auto re-executions. The number 0 means "no" auto re-executions attempts will be made to the workflow.

Further, you can configure to run the auto re-execution on an individual workflow level too. Most automation platforms only allow you to set up the auto re-executions on the global account level but with Pabbly Connect, you have the flexibility to set the auto re-executions attempts on the workflow level.

To set the number of auto re-execution attempts:

1. Open the workflow on which you want to set up the auto re-executions.
2. Navigate to the workflow settings or workflow configuration section.
3. Locate the "Auto Re-Execution Settings" option.

1688798085425-png.28315


4. Enter the desired number of attempts (between 0 and 5) for the auto re-execution as shown below -

1688798126504.png


Auto Re-Execution Timing

After an error occurs during task execution, the auto re-execution feature will attempt to re-execute the task at specific intervals. Here's an example to help you understand the timing:
  1. If the initial execution error occurs at 1:00 PM, the first auto re-execution attempt will be made at 1:10 PM, which is 10 minutes after the error.
  2. The second auto re-execution attempt will be made at 2:10 PM, one hour after the first attempt.
  3. The third auto re-execution attempt will be made at 5:10 PM, three hours after the second attempt.
  4. The fourth auto re-execution attempt will be made at 11:10 PM, six hours after the third attempt.
  5. Finally, the fifth auto re-execution attempt will be made at 08:10 AM the next day, which is nine hours after the fourth attempt. This is the final re-execution attempt and no further re-executions will happen.


There are some fundamental rules for auto re-execution mentioned below:

The Re-Execution module inside Pabbly Connect offers powerful functionality to automatically re-execute the workflow in an attempt to resolve workflow errors. Here are the key features and details of the module:
  1. Maximum Number of Re-Executions: The module allows a maximum of 5 re-executions, whether they are triggered automatically or manually, for any specific workflow execution. This limitation ensures controlled re-executions while maintaining workflow efficiency.

  2. Logging and Display of Re-Execution Times: Regardless of whether re-executions are automatic or manual, the module logs and displays the timestamps of each re-execution. This transparency allows users to track the history and progress of the workflow executions accurately.

  3. Manual Re-Execution Capability: The manual re-execution feature works independently of the auto re-execution setting on the workflow level. Users can manually trigger a re-execution for a specific workflow execution, irrespective of whether the auto re-execution setting is enabled or disabled for the workflow as a whole. It has to be noted that a maximum of 5 manual re-executions can be done.

    1688966119188.png


  4. Respect for Workflow Auto Re-Execution Setting: The auto re-execution feature adheres to the workflow-level auto re-execution setting. If the auto re-execution setting is enabled at the workflow level, the module will automatically trigger re-executions according to the specified parameters. Conversely, if the auto re-execution setting is disabled, the workflow will not undergo any auto re-executions.

  5. Handling Successful Workflow Steps: If all steps within a workflow are already marked as successful, either during the initial execution or during a re-execution, the module will not initiate any further manual or automatic re-executions. This behavior prevents redundant re-executions when the workflow has already achieved the desired outcome.

    1688803048747.png


  6. Impact of Auto Re-Execution Setting Changes: Suppose the auto re-execution setting is initially disabled (auto re-execution attempt is set to 0) for a workflow, and the initial execution takes place resulting in failure. If the user later decides to enable the auto re-execution setting (i.e. If the auto re-execution attempt is set to greater than 0), the specific workflow execution that failed will not be auto-re-executed. Instead, manual intervention is required to initiate the re-execution. This ensures that workflows executed during the period when auto re-execution was disabled will not be automatically re-executed to maintain a consistent behavior.

  7. Enabling Auto Re-Execution Setting for Executed Workflows: In cases where the auto re-execution setting is initially disabled (auto re-execution attempt is set to 0), executing the workflow will not trigger automatic re-execution, even if the setting is subsequently changed to enabled (if the auto re-execution attempt is greater than 0). However, if the user first enables the auto re-execution setting and then manually re-executes the workflow, subsequent auto re-executions will adhere to the specified auto re-execution settings and they will be carried out as per your auto re-execution settings.

  8. Impact of Auto Re-Execution in case workflow includes a delay step: In the event that a workflow includes a delay step, the re-execution of failed and skipped steps can only occur once the workflow has been executed. Otherwise, an error message will be generated, indicating the following. This error serves as a reminder that the re-execution of failed and skipped steps within a workflow can only be performed once the entire workflow, including any delay steps, has been executed successfully.

    1688801405753.png



  9. Number of Automatic and Manual Re-Execution attempts:
    • Case 1: If Auto Re-Execution is set up 0 times. The Auto Re-Execution will not happen and the user can run the manual re-execution up to 5 times.
    • Case 2: If Auto Re-Execution is set up 3 times. The Auto Re-Execution will happen a total of 3 times. However, if the user does the manual re-execution 3 times already in quick succession even before the first scheduled auto re-execution time. The auto re-execution will not happen because all 3 attempts of auto re-executions are taken away by the manual re-executions.
    • Case 3: If Auto Re-Execution is set up 3 times. The Auto Re-Execution will happen a total of 3 times. However, if the user does the manual re-execution before the scheduled auto re-execution time. Depending upon the number of manual re-executions the user performs, the number of auto re-executions will be reduced accordingly. Also, The next auto re-execution will be made X minutes/hours accordingly to the last manual re-execution attempt based on the timing and the execution number mentioned earlier.
    • Case 4: If Auto Re-Execution is set up 2 times. The Auto Re-Execution will happen a total of 2 times. Once all attempts of auto re-execution are done. Still, the user can do up to 5 manual re-executions.
 

Attachments

  • 1688554509885.png
    1688554509885.png
    65.8 KB · Views: 209
  • 1688728835591.png
    1688728835591.png
    37.9 KB · Views: 146
  • 1688798085425.png
    1688798085425.png
    25.8 KB · Views: 3,511
Last edited:
Status
Not open for further replies.
Top