I would like to show a message when content has changed moderation states from review to published. I set this up below but it does not work. Is there a rules debug log in Drupal 8?
Event: When content is update.
Condition: Data Comparison.
- node.moderation_state
- Operator: ==
- data value: published
Action: Send System message, with
- The message type
- drupal_get_message(‘status’);
But this doesn’t work. I get this error:
error php InvalidArgumentException: Cannot set a list with a non-array value. in DrupalCoreTypedDataPluginDataTypeItemList->setValue() (line 59 of /var/www/html/d815/core/lib/Drupal/Core/TypedD
Sponsored by SupremePR