Pre rule

A Pre rule is executed on the assets being imported before the assets are brought into the assets system.

Table: Conditions for Pre rule are as follows:

Table: Conditions for Pre rule

Condition

Description

Always

The specified action is performed on the assets every time.

If an asset being imported does not exist in the asset system

The action is performed only if the asset that is being imported does not exist already in the asset system.

If an asset being imported exists in the asset system

The action is performed only if the asset that is being imported already exists in the asset system.

If field of an asset being imported is not set

The action is performed only if the asset field is not set.

If field of an asset being imported has a relation with a specified value

The action is performed only if the field of the asset that is being imported has a specified relation with the specified value

For example, <field> <operator><value>

<Asset Custodian><equals><ABC>

Table: Actions for Pre rule are as follows:

Table: Actions for Pre rule

Action

Description

Discard an asset being imported

Ignores the asset that is being imported.

The asset is not added to the asset system if no Add Rule is specified.

Set the field value of an asset being imported as specified

Sets the field value of the asset that is being imported as the value that you specify.

Example for the Pre rule:

If an asset being imported exists in the asset system THEN Set the field value of an asset being imported as specified

This rule condition checks if the asset to be imported exists in the system. If the asset already exists, it sets the value of the selected field for that asset according to the given value.

More Information

Using a Pre rule to set the values of the common fields