Set Asset Status to Under Construction Using a Trigger


(Nick Papadatos) #1

Matrix Version: 5.4.5.3

Hi Squiz folk.
I was wondering whether someone can help with setting a standard page to Under Construction by using a trigger.

At the moment we’re manually adding a future status to under construction 7 days after of its metadata end date. Example, end date is say 1 Dec 2019 5pm - the trigger would set the asset to under construction 8 Dec 5pm.

What I have so far:
Event:
Metadata Time
Conditions:
Tree location: set to folder containing assets
Metadata Time: set to the metadata date Field
Actions
Set Status: set to Under Construction

Where I’m stuck is how does one add 7 days to the closing date?

Cheers
NickyP


#2

There’s kinda two chains of thought. I think you’re looking for a ‘Set Future Status’ action.

With this you can set the Status of an object at a later date, offset from the current date that the trigger is actioned.
Sooo it will look like this.

Event:
Metadata Time
Conditions:
Tree location: set to folder containing assets
Metadata Time: set to the metadata date Field
Actions
Set Future Status: set to Under Construction with offset 7 days


(Nick Papadatos) #3

Thanks Michael - I was looking at the wrong action I had “set status” not set “future status”, thanks for the nudge - more coffee me thinks

Cheers
Nick


#4

That’s alright,

Hope you solve all your problems.

Thanks,
Michael