1

Strangly I seem not to be able to delete an existing workflow as a whole, nor a state within a workflow. The admin user has all the necessary permission. No content type is assigned with the workflow. What do I not see?

No way to delete a workflow

How to remove a state?

  • Are you able to delete them if you log in as user 1? (if you have linux command line access and drush installed you can get a login link with sudo drush uli). I ask because if you can, then the 'admin' user is not user 1 and does not have all of the necessary permissions meaning you would need to try some more of them. – Darvanen Nov 18 '14 at 22:20
  • Update: The only way I could solve this was to remove the entries from the database. This must have been a strange fluke, because after creating new workflows I am able to delete them. – gattermeier Dec 18 '14 at 20:14
1

In Drupal 8 (at least), there is a "Clean up" tab in the main configuration screen of the module (/admin/config/workflow/workflow), where you can delete inactive states.

In my case, I suddenly stopped seeing the "Actions" buttons, so the only thing I could do was activate/disactivate the states.

That may solve someone's problem...It solved mine

1

I was just having the same issue. But I have just noticed that deleting a state from a workflow is not done in just one step.

First, you have to disable the state.

Second, on the main page of the workflow module, click on "Clean up workflow" and you will see that you can delete the inactive workflows there.

0

If you want to delete a workflow at all it must not be used in any node. So delete all fields pointing to this workflow first.

But I confirm: I cannot delete single states inside of a workflow at all.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.