Skip to content

WF-ACC-BAT-003Roll a recurring stream and post the batch it replaces

Markdown

WF-ACC-BAT-003

Roll a recurring stream and post the batch it replaces

Markdown
  • DocumentDraft
  • ImplementationObserved

KindWorkflowProduct areaAccountingModuleBatch ManagementRevision1

Read atservices-accounting f47cb263

Roll a recurring stream and post the batch it replaces ​

What It Does ​

A scheduled roll gives intake a successor before retiring its predecessor. The roll and posting submission share a commit; predecessor accounting then runs as a durable job. A retained Closed predecessor is eligible for preparation even when this roll did not close it.

The Flow ​

When Something Fails ​

Planning refusal creates no successor. Transaction rollback preserves the prior intake pointer. A preparation refusal can commit the new intake while retaining unfinished predecessor accounting, and failed post-commit start can leave the job Pending.

Open Design Questions ​

Reactivation does not use the same predecessor-posting policy. Product must resolve that difference and provide recovery for prepared jobs whose workflow never starts.

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.