drupal 5.15
workflow-ng newest
workflow newest
I have a specific action that I want to do but can't for the life of me get it to fire. using workflow I make 2 states:
published
unpublished
upon creation content moves to published. this seems to work fine. However I would like an action or trigger or some other mechanism to move the state of the node to unpublished when the node is actually unpublished.
or
I would like to get the textual comparison part of workflow-ng working so I can simply say when the node is unpublished then the state gets moved to unpublished. I have some workflow-ng actions tied the unpublished state which works great. But I hve to manually move the state to unpublished. I am not even sure if I need workflow, if workflow-ng can do the job itself.
I have tried a workflow-ng workflow of: Invoked on event: Workflow has been updated:
condition textual comparison:
line 1: [node:status]
line2: no
I have tried a bunch of different values for line 2. (no), 1 ,0 and nothing seems to work. so I have no idea what I am doing wrong...I love worfklow-ng, but the learning curve seems insane at the moment.
Comments
I have also tried both
I have also tried both numeric and textual comparison and I have also tried node_unchanged status and none of the status-based tokens seem to do anything at all...I have no idea if something is broken or I am doing something wrong....can anyone please give me some pointsers maybe on the syntax of workflow-ng conditions? I also have tried both the newest dev and official releases and I still can't get these specific tokens to work.
Turns out nothing was
Turns out nothing was wrong....I was un-publishing the node in question from the admin area and not from the node itself...if I go into the node and un-publish it there the triggers fire....Sigh this is so annoying...is there either a way to make the system updates to nodes act from the admin user? or maybe get workflow-ng to not require a user to do the updating (publishing/unpublishing)?