Relating and unrelating contracts from assets automatically
To add a contract to assets automatically
After you create an automation, the specified rules are applied to any new assets in your organization. You must specify the criteria and relationships when you create the rule. Asset automation assigns the relationships to assets that fall in the specified criteria.
- Go to Asset Console and click Asset automation console.
- Click Create automation.
- Enter a name for the automation.
- In Criteria, select the Asset type for which you are configuring the automation. For example, Product.
- Add an expression for the criteria. For example, ManufactureName = "Microsoft"
- From the Relationship type list, select Relate contract.
- Based on your selection, specify the parameters to create relationships, such as Contract type, Contract relationship type, and Contract ID.
You can add multiple relationships that will be applied to the relevant CIs. - (Optional) Specify the attributes and the values that you want to assign to the asset.
- Click Save.
The automation is displayed in the list of automations in Draft state. - After you review the rules for accuracy, select the automation and click Enable.
The status of the automation changes to Active after you enable.
To remove a contract from assets automatically
After you create an automation, the specified rules are applied to any new assets in your organization. You must specify the criteria and relationships when you create the rule. Asset automation assigns the relationships to assets that fall in the specified criteria.
- Go to Asset Console and click Asset automation console.
- Click Create automation.
- Enter a name for the automation.
- In Criteria, select the Asset type for which you are configuring the automation. For example, Product.
- Add an expression for the criteria. For example, ManufactureName = "Microsoft"
- From the Relationship type list, select Remove contract relationships.
- Based on your selection, specify the parameters to create relationships, such as Contract type, Contract relationship type, and Contract ID.
You can add multiple relationships that will be applied to the relevant CIs.
(Optional) Alternatively, select All contract relationships from the Remove list to remove all existing contract relationships. - Click Save.
The automation is displayed in the list of automations in Draft state. - After you review the rules for accuracy, select the automation and click Enable.
The status of the automation changes to Active after you enable.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*