It’s my understanding that ContinueAsNew gets used automatically after 500 actions for scheduled workflows and even though I do see from the temporal logs that ContinueAsNew started being used, I still ended up with this warning.
Is there a recommended approach for handling this?
increase warning and max threshold?
reduce number of actions before Scheduled workflows switches to ContinueAsNew?
other?
Also is there prometheus stat where the history size is tracked?
Hi Antonio,
Thanks for the reply. This is a Temporal Schedules workflow so I do not have control over how the workflow is invoked.
I’m using the java sdk if that helps, but I am thinking the solution will be from within Temporal itself since Temporal Schedules is the one invoking the workflow.
Do you know what version continue-as-new-suggested is set? I’m running Temporal server 1.22.2.
This schedule is running every minute, I’m using it to execute a heartbeat. The schedule itself is never updated after it is created (no calls to either UpdateSchedule or PatchSchedule)