Recurring Task Scheduling

Certified Senior Developer

Need to implement the recurring for a task, so that it will be auto triggered.

So, for that is there any way to implement the scheduling options as in the backend for input task from interface?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Since process model start time configurations require a re-publish for the new setting to be realized, you will require a parent process to handle the timing check and start the desired process at that time.  For this I will generally start one hourly, or once in the AM and wait until the desired time that day, depending on requirements.

    What type of volume are you expecting for these scheduled tasks?

    Note I have some processes that run every minute in my environment, they simply delete themselves after running and do not cause any negative overhead that I have noticed (over years).

    We typically have around 250,000 processes sitting in memory at one time.

  • 0
    Certified Lead Developer
    in reply to Chris

    That makes sense. The requirement is to have all the flexibility as you have in the timer configuration so Daily, Weekly, Monthly and Yearly with all the specific configurations so that gives me a better idea, thanks!

    Right now the volume is not crazy at all but the idea is that in the future more departments will use this feature too so it's better to design it to be bulletproof since the beginning.

    That's helpful, thank you Chris!

  • 0
    Certified Lead Developer
    in reply to Aby Amores

    That scheduler process should run at the minimum interval you plan to support. In my experience, an interval smaller than an hour does not make much sense, but it really depends.

    Then, this process checks the database for triggers and starts the according processes. If you store process model ids in that table, you can make this very dynamic.