Forums / Developer / Wait until date event/trigger problems

Wait until date event/trigger problems

Author Message

Clemens T

Thursday 17 July 2008 4:32:25 am

Hello All,

I'm trying to postpone the publishing of a news item through workflows and triggers and I just can't make it work, <b>so please help</b>.

The trigger (before publish) is set up as follows:
http://sanoma-magazines.com/forum_imgs/trigger.png

Then the multiplexer to filter not all classes, but only the news items is setup with just one event:
http://sanoma-magazines.com/forum_imgs/filternewsitem.png

And next the workflow, with a wait till date event, to run after the filter has been applied is here:
http://sanoma-magazines.com/forum_imgs/prtestuitstel.png

Luckily the items do not get published right away, but if I run the cronjobs script (runcronjobs.php) it starts publishing every item that is still in the 'wait until date' phase. It doesn't care about the date in the news item attribute.

How can I fix this?

Regards,
Clemens