Dataclay — Automating Digital Production
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Register
    • Login

    Bot Post Processing Script

    Scheduled Pinned Locked Moved
    Templater Bot Deployment
    3
    4
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pbretzundefined
      pbretz
      last edited by

      Hi,

      When using the bot, is there a post processing event we can use that would denote there are no more records/jobs with render-status = “ready” - ie, processing has completed? It looks like when using Render or Replicate, the Batch event would accomplish this?

      Pete

      Jeffundefined 1 Reply Last reply Reply Quote 0
      • Jeffundefined
        Jeff @pbretz
        last edited by

        @pbretz

        Unfortunately, there currently isn’t an event that would denote that no more Jobs are left in the Data Source. This is mainly due to the way that Bot and Pro are set up to operate. Since Templater Bot is largely expected to run indefinitely, we typically wouldn’t be checking for a scenario where there were no Jobs left to run.

        It might be possible to run a synchronous script that would act as a timer and run an operation if a certain amount of time has passed since the end of the last Job, but that’s the only thing I can think of that might work for the scenario described.

        If we knew a bit more about what we wanted the script to do when no more Jobs were present, that might help, but at the moment, no specific Event is broadcast by Templater that matches this scenario.

        If we can help out in any other way, please feel free to let us know, and we’ll do whatever we can.

        Thanks,

        Jeff

        pbretzundefined 1 Reply Last reply Reply Quote 0
        • pbretzundefined
          pbretz @Jeff
          last edited by

          @Jeff

          I’m looking for a way to send an email notification when all rows of data in a Google Sheet tab, or all jobs for a satellite have finished rendering - there are no more render-status = ‘ready’. We have a number of systems processing data, and the only way to know if a render system is done is to check it’s data source. With > 24 systems rendering, it’s cumbersome to constantly check all 24. It would be much more efficient if we could send an email notification when processing was complete.

          Pete

          ariestavundefined 1 Reply Last reply Reply Quote 0
          • ariestavundefined
            ariestav @pbretz
            last edited by

            @pbretz The way to architect this would be to have web hooks that broadcast events on QUE, but in Sheets there is no easy way to do that. However, for sheets you might be able to use zapier to ping the sheet every so often to check for specific values in the render-status column. You could do the same with QUE and Zapier. We do have webhooks on the roadmap for QUE this year, but no set date.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post