it seem the basic use of the worflow, but as it's the first one i try to implement, it's not yet working well.
i use workflow for content publication.
and with worflow-ng i try to trigger some actions when the workflow state changes
one of the action is mailling, another is publishing teh node when it transition is from 'any state' to the last state 'publish'
i dont receive any mail, and the node status does'nt change
so i guess none of this actions are realised , probably the event does'nt happen ?
in the logs i see the change of state of workflow, but the trigger seem does'nt work.
i have one condition on the 'workflow state updated' to check the transition from 'any state' to another state.
i used another link event to check : on a content link, i placed a action of mailling, i receive correctly this mail
so why it does'nt work with the event 'workflow updated' ?
what should i look for ? any idea ?
thanks.
Comments
Comment #1
stanworld commentednotice :
the condition of the even 'workflow updated' to execute action is 'workflow transition is from 'any state' to 'Publié (a specific state)'
and it does'nt work
if i change the condition for the even occure when i go from 'A valider(a specific state)" to "Publié" (a specific state) " it's working.
so why is wrong with 'from any state' in the condition of 'workflow transition' ?
thanks for any suggestion
Comment #2
stanworld commentedfor the conditions of the event :
if i set the 'state from' to all the others ,exept the 'any state' and the 'publie'
and if the 'state to' as 'publie' only
so it's work...
but so i ask , for what the line 'any state ' can be useful ??
thanks for any comment about that
Comment #3
fagoIt sounds like a bug of the condition. So if the condition in workflow doesn't work right, please file a bug report there.
To test if the events and conditions are working fine, you can configure an action, that displays a message for you, when the event is triggered and the condition is met.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
doc2@drupalfr.org commentedProbably related: #257258: Where did the actions go?