Skip to content

Using ctx.runWorkflow in a migration #169

Description

@davidoort

Sometimes I want to run a workflow from a migration because I need to paginate through a big table (e.g. messages) and make some changes triggered by data from the main table that I'm migrating over (e.g. threads). I would love to be able to run context.runWorkflow inside a migration so that I can guarantee that the workflow has completed running when that migration is done before I move on to the next one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions