Adding Custom Fields with a Quick Enforcement Action
Adding Custom Fields to Query or Filter Results with a Quick Enforcement Action
You can use a quick Enforcement Action to add custom fields to all assets returned by a query.
-
On the relevant Assets page, run a saved query or filter the Assets list.
-
From the EC Actions menu, select Add custom field. The Add Custom Field dialog opens.
-
In the Enforcement Set name field, a default value is provided. You can change this to fit your needs.
-
In Field name, type a name for the custom field (for more details refer to Creating New Custom Fields). Then, select a Field type and Value type.
-
In the Field value text box, type a value for the field.
-
To have this field removed from assets that do not match the query parameters, select Remove this custom data field from entities not found in the query results (True/False), and then select one of the following options that open:
- Remove entire field - Remove the complete custom field.
- Remove values field - Remove values added to the custom field.
A safeguard is displayed. Click Confirm if you want to continue.
-
To run this Enforcement Set on a schedule, toggle on Select a Schedule Plan and configure the schedule you want. To learn more about running Enforcement Sets on a schedule, see Scheduling Enforcement Set Runs.
-
Click Save and Run. The custom field is saved and the notification 'Action Created Successfully' is displayed.
Updated 3 days ago
