Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It seems like the workflow states are one step behind – when I save the enrollment form node the current state is not the current state – it is the current state from one step past.
[node:workflow-current-state-name]
[node:workflow-old-state-name]
For example if the enrollment form was changed from “pending” to “approved” to “rejected” it is being reflected as the following in the log when trying to create workflow rules:
new: “approved”
old: “pending”
I am logging the old and current states to the log to see this behavior.