1

Is there a way to move workflows from one version to another in AWS SWF ? Some workflows are waiting to be triggered. The timer has already started. I'm looking to seamlessly move them to new version of the workflow.

Ankit
  • 137
  • 2
  • 10
  • 1
    This is not really an answer - but we simply aren't using versioning, we just make sure there are no breaking changes for open workflows (for example, code changes that support both the old and new formats) – Kobi Aug 31 '18 at 05:37

1 Answers1

1

There is no such feature in SWF. Workflow once started maintains the same version until closed. ContinueAsNew allows overriding the version, so it is possible to "update" a workflow by calling ContinueAsNew.

BTW: Cadence (open source version of SWF) supports inline versioning of the workflow code which allows changes to already running workflows.

Maxim Fateev
  • 6,458
  • 3
  • 20
  • 35