Trigger for going live after workflow approval


(Ben Chapman) #1

Matrix Version: 5.4.0.2

I wonder what the best way to set a trigger so that an asset is made live after workflow approval, so that no user has to manually set the status to live.

I have tried with the trigger event “After Workflow Approval” but the trigger just failed.

Then I tried with “Status Changed” with the condition “Asset Status Being Changed To: Approved To Go Live, Safe Edit Approved To Go Live”. This one was odd. The trigger would fire and change the page asset to live and the “Page Contents” bodycopy to live, but would fail when it tried to set the bodycopy div to live.

I would have thought that automatically changing an asset to live after workflow completion would be a fairly popular hack. Has anyone managed to successfully set something up?


(Bart Banda) #2

You need to set the trigger to set a future status of Live instead, otherwise it will fire the Live status too early because it will try and change the status of the child assets before they have been made approved to go live.

It is something we are working on improving but for now the workaround is to use a future status. You can simply set the future status of Live the next time the scheduled jobs manager runs, which at longest will be 15min.


(Douglas (@finnatic at @waikato)) #3

The future status trigger still strikes me as really non intuitive. Great to hear that improvements are being worked on.