Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how can we link contracts to CI

Chaitanya Redd1
Tera Guru

Hello Team,

I need help how to set correct ci for contracts. Please help me with the steps.

 

Thanks,

Chaitanya

1 ACCEPTED SOLUTION

Pooja Devkar
Mega Guru

Hello Chaitanya,

SN provides a relationship table between Contracts and CI's - "ast_contract_instance". Rather than update the cmdb_rel_ci table (which is intended for CI to CI relationships and I wouldn't recommend updating this table), I'd leverage the "ast_contract_instance" table. (See below)

 

These relationships are also available as a Related List at the bottom on the Contracts page and can be reported on etc.

Before you begin

Role required: contract_manager or admin

Procedure

  1. Navigate to Contract Management > Contract > All.
  2. Select a contract.
  3. (Optional) In the Contract used by related list, click New to create a new configuration item.
  4. In the Contract used by related list, click Edit.
  5. In the Collection configuration items list on the left, double-click a configuration item name.
    The item is added to the Contract used by List on the right.
  6. Click Save.

contractCiRel.PNG

Please refer below links for more details.

https://docs.servicenow.com/bundle/orlando-it-service-management/page/product/contract-management/ta...

https://community.servicenow.com/community?id=community_question&sys_id=f85ffe69db58dbc01dcaf3231f96...

https://docs.servicenow.com/bundle/orlando-it-service-management/page/product/contract-management/ta...

https://docs.servicenow.com/bundle/orlando-it-service-management/page/product/asset-management/conce...

Kindly mark my answer correct & helpful; if it's useful to you.

Thanks & Regards,

Pooja Devkar

DxSherpa Technologies Pvt. Ltd

View solution in original post

2 REPLIES 2

Pooja Devkar
Mega Guru

Hello Chaitanya,

SN provides a relationship table between Contracts and CI's - "ast_contract_instance". Rather than update the cmdb_rel_ci table (which is intended for CI to CI relationships and I wouldn't recommend updating this table), I'd leverage the "ast_contract_instance" table. (See below)

 

These relationships are also available as a Related List at the bottom on the Contracts page and can be reported on etc.

Before you begin

Role required: contract_manager or admin

Procedure

  1. Navigate to Contract Management > Contract > All.
  2. Select a contract.
  3. (Optional) In the Contract used by related list, click New to create a new configuration item.
  4. In the Contract used by related list, click Edit.
  5. In the Collection configuration items list on the left, double-click a configuration item name.
    The item is added to the Contract used by List on the right.
  6. Click Save.

contractCiRel.PNG

Please refer below links for more details.

https://docs.servicenow.com/bundle/orlando-it-service-management/page/product/contract-management/ta...

https://community.servicenow.com/community?id=community_question&sys_id=f85ffe69db58dbc01dcaf3231f96...

https://docs.servicenow.com/bundle/orlando-it-service-management/page/product/contract-management/ta...

https://docs.servicenow.com/bundle/orlando-it-service-management/page/product/asset-management/conce...

Kindly mark my answer correct & helpful; if it's useful to you.

Thanks & Regards,

Pooja Devkar

DxSherpa Technologies Pvt. Ltd

Thanks pooja.