We have the following error.
Workflow name is example.
We have 3 states.
Creation
Draft
Published
Current state: "Draft"
Target state: "Published"
Schedule: "Schedule for state change
At: Current datetime.
And we execute Cron.
But state is not changed.
We find 3 errors in /admin/reports/dblog.
1. Type: workflow
Message: Scheduled Transition is discarded, since Entity has state ID example_published, instead of expected ID example_draft.
2. Type: workflow_scheduled_transition
Message: Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("workflow_transition") to generate a URL for route "entity.workflow_scheduled_transition.canonical". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 182 of /www/workflow.lightning.demoweb.us/htdocs/docroot/core/lib/Drupal/Core/Routing/UrlGenerator.php).
3. Type: cron
Message: rupal\Core\Entity\EntityStorageException: Some mandatory parameters are missing ("workflow_transition") to generate a URL for route "entity.workflow_scheduled_transition.canonical". in Drupal\Core\Entity\Sql\SqlContentEntityStorage->delete() (line 753 of /www/workflow.lightning.demoweb.us/htdocs/docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
And then, we cannot delete the node.
Thanks.
Fixed
1.1
Miscellaneous
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.