- 🇳🇱Netherlands johnv
Please check the src/Event directory in version 8.x for alternatives and example code.
A client wanted a workflow that included automated transitioning between states as content aged. For example Draft -> Live -> Expiring -> Archived where the last two transitions occur automatically after 6 and 1 months respectively.
I was suprised to find no Workflow rules action to schedule a transition. I found a few related issues and patches for earlier versions of Workflow but it seems that it never made it into 7.2.
I could get my automation done using scheduled rules but that seems so clunky when Workflow already has a transition scheduling mechanism. And what happens when manual intervention changes the content's current state such that the scheduled rule no longer applies?
Currently busy coding and testing a 'Schedule a Workflow transition' action myself. Patch to follow soon.
Closed: outdated
2.0
Rules
Primarily changes documentation, not code. For Drupal core issues, select the Documentation component instead of using this tag. In general, component selection is preferred over tag selection.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Please check the src/Event directory in version 8.x for alternatives and example code.