ScheduleAutoCloseFailed event

Highlight

Event Description How to recover Flow Related

ScheduleAutoCloseFailed

• Emitted when scheduling auto-close for a bulk fails.

• Exception occurred while attempting to schedule auto close
• Verify autoclose configuration e.g. cron syntax restart application to refresh configuration

maybe

Operating Questions

Question Answer Comments

Could happen in production?

Yes

Is it fatal?

Yes

The bulk will not autoclose as you would expect, and so the auto finalisation feature would not execute

Logs

Log level Log message Also logs underlying exception?

ERROR

Error encountered scheduling auto close

Yes

Resolution Notes

This issue typically means something has gone wrong with the Scheduler, which is a dependency of the Automatic Finalisation feature of the Bulker. This issue arises on configuration of an auto-closing bulk.

# Action Comments

1

Check system logs and the system event for underlying exception.

Look for the ERROR log mentioned in the 'Logs' section.

The System Event also logs the error in the errorMessage field.

Investigate the Persistent Scheduler logs.

2

Investigate and resolve underlying issue

(Cannot be more specific)

3

TODO - what is next?

CANNOT REPLAY THE COMMAND (e.g. Configure Bulk) as it is an onUnsupportedCommand on the openReceive method.

What should we do here?

  • manually schedule → no too complex.

  • how can we reconfigure a bulk???