- π³π±Netherlands johnv
Please also see the script here: https://www.drupal.org/project/workflow_extensions β , under 'Appendix: using Rules to invoke actions after a period of inactivity'
- πΊπΈUnited States sascher
Hello
I am trying to make this happen as well by creating an ECA model that creates a Workflow Scheduled Transition entity. Is anyone else trying this approach?
I keep getting the error
TypeError: workflow_node_current_state(): Argument #1 ($entity) must be of type Drupal\Core\Entity\EntityInterface, null given, called in //modules/contrib/workflow/src/Entity/WorkflowTransition.php on line 868 in workflow_node_current_state() (line 431 of modules/contrib/workflow/workflow.module).
- π³π±Netherlands johnv
Which version are you using? Please use dev version.
- πΊπΈUnited States sascher
I was using Workflow version 2.0 not 1.8, but I will definitely try the deve version of the module
- πΊπΈUnited States sascher
I changed to the 1.8 dev version of the module and the WSOD went away but now it looks like we can not even create the entity anymore
- π³π±Netherlands johnv
INdeed, I noticed. I reverted a change just now: #3529350-5: Modernize from Annotation to Attribute β