The creation state makes it easy to assign new content to a workflow state. We may also want to have similar flexibility for content deletion so we can fire off actions for cleanup or notification. Examples include, sending out an email to the author, updating an external search engine index, creating an 'undo' action, etc.
Comments
Comment #1
ashtonium commentedsounds more like you're asking for a (deleted) state, similar to (creation); with that, we could apply actions to transitions from various other states to the (deleted) state.
I think it's a good idea, but not sure at the moment on how to implement it. I assume you were thinking of this as an automatic state that is transitioned to when a user presses the delete button?
You could also create your own delete action and apply it to a custom "deleted" state which would work separately from the actual delete button.
Comment #2
mfredrickson commentedI would argue this does not need to be hard coded into workflow (at least until workflow is in core).
In 4.7, you can use na_arbitrar + workflow access + your own deleted stated to achieve the same result.
In 5.0, workflow access will be included with workflow, simplifying this.
If you think workflow access will not meet your needs, feel free to reopen.