Resuming Workflows From A Workflow


# Resuming other workflows

We can use this.select function to target other workflows and resume them from the handle or onEvent generator functions.

For example:


module.exports.handle = function* (...) {
  ...
  this.select.workflow().withId("<id>").resume();
  ...
};

# Resuming itself

TIP

Once paused, a workflow will not be able to resume itself later! Because, well, it's paused. You can still resume it through the API, another workflow or the dashboard.