Unable to set status of a text file using trigger


(Kequi) #1

Matrix Version: 5.4.1.0

It’s a pretty basic problem but I can’t see what I’m doing wrong.

I have 2 triggers - the first clones a text file asset - the second makes the cloned text file live.

Except it doesn’t.

The 2nd trigger fires fine. I can set the file contents, take other actions if I like - but it won’t make the text file live (or apply any other status).

Any thoughts appreciated as always.

Karl


#2

Do the text files have workflow applied to them? If so you’ll need to exclude them from workflow to get the triggers to function the way you want.


(Kequi) #3

Thanks Jason,

No workflow I’m afraid.

Karl


(Kequi) #4

If I create a text file under the root node - the trigger works fine.

If I clone a text file - the trigger fails.


(Kequi) #5

Got it - needed my trigger event to be “Asset Cloned” and not “Asset Created”

I did think that meant the trigger would fire on the asset that was BEING cloned - and not the new cloned asset.

The manuals state:

If this event is selected, the Trigger will be fired when an asset is cloned.

That sounds to me like the asset being cloned will fire the event - not the newly created clone.

Anyway - thanks for your help Jason.

Karl