Search code examples
amazon-web-servicesamazon-swf

Moving workflows to new version in AWS SWF


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.


Solution

  • 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.