Skip to main content
December 6, 2024
Question

Scheduler based Process Model

  • December 6, 2024
  • 2 replies
  • 0 views

There is a requirement to trigger a scheduler at 2 PM , 10 PM and 6 AM. When scheduler will trigger, it will invoke an API by passing the last execution time to fetch set of data between last execution time to current time. Say for an example, if scheduler runs at 2 PM, then it will pass 6AM as parameter to the API so API can return data between  6AM to current time (i.e. 2PM )interval. any suggestion how to implement this following the OOB configuration? TIA

    2 replies

    mathieud0001
    December 6, 2024

    If you absolutely want to avoid having to create a database table, you could always run a process report to get the time at which the last instance ran.

    Also, as a side note, I think I would use the last identifier of the data subset instead of the time as the parameter.

    stefanhelzle0001
    December 6, 2024

    I implement such things by adding a update/insert timestamp to the data and then ask the API for any updates after that date. Relying on some process execution is dangerous as that process might have failed.