I can see this is possible, but I just can’t seem to get the trigger working. Here’s what needs to happen:
User updates metadata by setting the value in the ‘SiteLocation’ field to ‘Website’ (‘Website’ is an existing folder).
On committing changes, I want the file to be ‘new linked’ into this ‘Website’ folder, as a child asset (so PDF should now exist in the original folder, plus the ‘Website’ folder).
The current setup of my trigger is:
Event: Asset metadata updated
Condition: metadata field ‘SiteLocation’ is exact match of ‘Website’
Actions: Create Link action. Link as ‘child’ of asset ‘Website’ using link ‘type1’. And I’ve checked the “ignore permissions” box. (I’m guessing something’s wrong at this point, but not sure).
As you can see from the above, if the metadata field has the value “Intranet; Website”, and it’s been updated to that value, then the action I want the trigger to run is to create a “new link” to the asset in the Website folder.
When I get a chance today I’ll test it again and see if any part of it gets run, and let you know.
Yea, looks like it should run ok, but maybe the condition is too strict? Maybe try partial match first and just try the word “Internet” to see if it actually runs at all.
But yea, check the matrix logs to see if the trigger fires successfully or not. If it fires and says it completed successfully, and the asset hasn’t been linked, then there’s somehing wrong.
But if there are no trigger logs at all of it firing, then it’s not firing because of the condition most likely.