Lightning.Projects.Events.WorkflowDeleted (Lightning v2.19.0-pre)
View SourceA workflow in the project was marked deleted.
Soft deletion is what "deleted" means to everyone but the purge worker: the workflow disappears from the project, no join or mount resolves it again, and a session still holding it is holding something that is gone. Sessions end rather than being re-permissioned — nothing brings the workflow back under the same id.
Carried here rather than on Lightning.Workflows.Events deliberately. That
topic also carries WorkflowUpdated, which fires on every save in the
project, so a surface subscribing there to hear about deletions would be
woken by every keystroke's worth of saved work instead. The surfaces that
need this already subscribe to the project's topic, and a deletion belongs
with the other events that change what a session may do.