Cancel Process walk-through

Diagram

Start the workflow

This workflow starts automatically when a task in another workflow is canceled, thus leading to the other workflow being canceled.

Result

The users with the roles specified by the rolesToNotify variable are notified via email of the workflow cancellation.