I am using Batch API to perform certain code manipulation task. The batch works completely fine except for when the batch URL is reloaded or duplicated on a new browser tab. This leads to the batch execute and finish functions to be called twice and hence duplicating the task I want to achieve with this batch process. Any idea how to prevent it from happening?

  • When you say the batch is reloaded or duplicated in a new browser tab, do you mean you give the URL to a colleague for example to show the progress of the execution or something like that?
    – Claire D
    May 19 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.