Example rule: Deleting EDIUS XS lock files
You can create a rule that periodically
deletes EDIUS XS lock files. This removes the lock from assets that were a part of
an EDIUS XS project, so that you can access the asset after the EDIUS XS project is
done. This is an example of a typical rule.
- Log in to the GV STRATUS Control Panel application with administrator privileges.
- In the GV STRATUS Control Panel application, click General | Rules.
- Click Add. Rules Editor settings open.
- In the Rule Type drop-down list select Delete.
- In the Name field type in EDIUS LOCK DELETE as the name for the rule you are configuring.
- In the Description field type in a description for the rule you are configuring.
-
In Scope settings, specify
the location in which the rule operates.
- Click Add location. The Location Selection dialog box opens.
- Navigate to the EDIUS_LOCK bin on the K2 system, select the bin, and click OK. The location is added to the Scope list.
- Select Include Subfolders. When this is selected, if there are multiple directories under the selected location, the rule operates in each of the sub-directories.
- In Frequency settings, specify how often the Rules Engine triggers the rule.
-
In Rule
Options settings, specify how the asset is deleted. Select
the following option:
- Delete Entire Asset: Deletes online material, archived material, and proxy.
-
In Rule
Conditions settings, specify the conditions the Rules Engine
looks for to qualify an asset.
-
In the Select items when
drop down list, select the following:
- ALL of the conditions below are met: Assets that match all conditions.
-
For each condition (1, 2, 3, 4, etc)
click the Add
Condition button and select from lists to define the
condition, as follows.
- 1 [Asset Type] [is List]
- 2 [Modified] [is before] [48 hours ago]
-
In the Select items when
drop down list, select the following:
- Click Save.
This creates a rule that runs every day at 3:00 am. The rule searches in the EDIUS_LOCK bin and deletes any file that was modified more than 48 hours ago.
You have now created the rule, but the rule does not run until you enable it.