Action Description
The "Asset Metadata Check" action allows checking the value of a certain asset metadata, either Flexi-metadata or not, to determine if it is null, equal, like, greater than, less than or between two given values.
Using this action will allow users to carry out an unlimited number of custom checks across assets, for example, check if the title of an asset is blank or if its duration is less than 5 seconds.
Note
This action can check only metadata related to the asset, other metadata related to metafile (e.g. fileinfo) is not supported.
Suggestion
This action can be used in "post-upload" T-workflows to, for example, check if a certain flexi-metadata has been either compiled or not during the delivery, being possible to prompt in the latter case the upload user to compile said metadata (through a worksheet); once metadata is set, the T-workflow can be configured to continue according to the entered value.
Action Parameters
The fields to be compiled when creating the action are detailed below:
Parameters :
Name - Insert a short descriptive name for the action (e.g. "Check if duration is less than 5 seconds").
Metadata - Select the type of metadata to be checked, it can be:
Flexi-metadata - A Flexi-metadata available in the system. Please note that Flexi-metadata is configured in "Configuration > Settings > MAM > Flexi-metadata".
Asset - Any of the following asset properties:
•Code (abc...)
•Title (abc...)
•Physical start (hh:mm:ss.ff)
•SOM (hh:mm:ss.ff)
•EOM (hh:mm:ss.ff)
•Duration (hh:mm:ss.ff)
•Validity start date (dd/mm/yyyy)
•Expiry date (dd/mm/yyyy)
•Arrival date (dd/mm/yyyy)
Value - Specify here the condition to be checked for the selected metadata:
Null - Checks if the metadata (e.g. title) is null (i.e. blank).
Equal - Checks if the metadata (e.g. title) is equal to a given value (e.g. "peanuts -s1 - 007").
Like - Checks if the metadata (e.g. title) is like a given value (e.g. "peanuts").
Greater than - Checks if the metadata (e.g. duration) is greater than a given value (e.g. 00:20:00.00).
Less than - Checks if the metadata (e.g. duration) is less than a given value (e.g. 00:00:05.00).
Between - Checks if the metadata (e.g. duration) is between two given values (e.g. 00:00:05.00 and 00:20:00.00).
Depending on the result of the performed operation, the following outputs will be managed for the action:
Yes (The requested check is true)
No (The requested check is false)
How to use it
Once created, in order to be used, this action required to be included in a T-workflow (e.g. to check if an asset duration is less than 5 seconds) under the T-Workflow designer and then attached and launched for the desired asset(s).