Skip to content

@cloudflare/workflows-shared@0.13.0

Choose a tag to compare

@workers-devprod workers-devprod released this 20 Aug 17:42
· 4 commits to main since this release
38b4623

Minor Changes

  • #14735 30c2d47 Thanks @vaishnav-mk! - Add individual and batch Workflow instance deletion to the runtime and SDK.

    • WorkflowInstance.delete() deletes one instance. Self-deletion stops the current execution.
    • env.MY_WORKFLOW.deleteBatch(instanceIds) deletes up to 100 instances and returns { deleted, errors } per input position.
    • wrangler workflows instances delete <name> [id..] deletes instances remotely or with --local; IDs can also come from a JSON array passed with --filename, with a combined limit of 100.