Trigger Event "Asset Updated" - what actions does this cover?


(Tim Davison) #1

I've been doing some work on triggers and am wondering what actions the Trigger Event "Asset Updated" actually covers.    
E.g. I have some triggers that have the following events selected:

  • Asset Attributes Changed
  • Asset Content Changed
  • Asset Metadata Updated
  • Asset Updated
  • Status Changed

But someone said that these are redundant since "Asset Updated" will trigger when any of the others events are triggered, and can in some cases lead to the same trigger firing multiple times for the same event.
 

Matrix manual says:

If this event is selected, the Trigger will be fired whenever the micro version number of the asset is updated. In other words, when the Commit button is pressed.

 

So my question is:

  • Could all those events listed above be replaced with just "Asset Updated"?
  • If I have multiple events selected like above then is the trigger fired multiple times?
  • Will asset updated event fire even if I'm not manually changing it or clicking Commit?  E.g. If a Future status or another triggers changes an asset.

Thanks


(Bart Banda) #2

Answers to each of the questions:

  1. Yes
  2. Yes
  3. Yes

We often set up global matrix cache clearing triggers where the only event is Asset Updated as it covers any updates to the asset. 


#3

Ha ha - I started to reply to this one - but I seen you were online Bart and was just going to quote your advice you gave me!


(Tim Davison) #4

Thanks everyone for the answers.  Always love that I can get such fast replies here.