---
sourceDocument: Xanadu Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/customer-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Creating contracts and entitlements using workflows

# Creating contracts and entitlements using workflows {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read

After a product offer is selected by the customer and the product is sold to the customer, this workflow creates contracts and entitlements based on the services associated with that sold product and the extra services that the
customer has purchased.

There are the product offering scenarios and their configurations:

* Products with entitlements: From the Offering type list, select Entitlement. Make sure the Create contract check box is cleared.
* Service contract lines for service plan: From the Offering type list, select Entitlement and select the Create contract check box.
* Service contract lines for subscription plans: From the Offering type list, select Product and select the Create contract check box.
* Bundled offerings combining more than one product offering: Select the offering types as needed.

{#create-cont-ent-workflows-csm__ul_dpv_t2f_21c} {#create-cont-ent-workflows-csm__table_bkc_v2f_21c__entry__2}

| Offering types | Description |
|-|-|
| Offers for entitlements | The workflow creates entitlement records for such offerings. These entitlements can be associated with existing sold products, install base items, product inventory records, or the customer. |
| Offers for services (contract lines) | The workflow enables automatic creation of a service contract, service contract lines, and the entitlements for those contract lines. |
| Implicit offerings | Implicit entitlements and service contract lines are not shown on order lines. These offers can be marked as implicit when they do not need to be configured while capturing the order and are available as part of a package. These entitlements and service contract lines are automatically created as a part of this workflow. |
[Table 1. Offering types and workflows]

{#create-cont-ent-workflows-csm__table_bkc_v2f_21c}

## Creating a contract from an order {#create-cont-ent-workflows-csm__section_fjl_w2w_tcc}

For every order with multiple product offerings, a single contract with multiple contract lines is created. You can add multiple product offerings from an order to an existing contract. To add a product offering to an existing
contract, add the contract reference in the Existing Contract field of the order line item.

## Creating contracts from product inventory records {#create-cont-ent-workflows-csm__section_kbl_zcl_zdc}

If the system property sn_ind_tmt_orm.enable_prod_invt_for_order_management is set to true, order fulfillment workflows create product inventories based on customer orders, product offerings and specifications. On creation of a product inventory, contract lines and entitlements will be created. When a product inventory undergoes a state change, the associated contract lines and entitlements are synced. For more information, see [Product inventory configurations](https://servicenow-prod.fluidtopics.net/1eeqfaYL2crbP870DGE7sw "You can select one or more product inventory records to update their configurations and perform the Modify,Suspend, Resume, and Disconnect operations."). Product inventory records trigger updates to contracts and entitlements under the following conditions:

* Process Telecom Order Line flow: The ADD flow creates contract and entitlement records from the product inventory. The MODIFY flow updates the states of the contract line items and entitlements.
* Post Process Telecom Top Domain Order flow: The MODIFY flow updates the states, fields, and characteristics for contract line items and entitlements.
* Product Inventory Operations record: Depending on the scheduled date and time, the DISCONNECT, RESUME, and SUSPEND flows cancels, activates, or suspends the contract line items and entitlements.
{#create-cont-ent-workflows-csm__ul_ywp_5hl_zdc}

## Configuring Customer Life Cycle Workflows Policy decision table {#create-cont-ent-workflows-csm__section_qp4_rxv_tcc}

Customer Life Cycle Workflows Policy decision table decides the target entity while renewing and modifying service contracts, service contract lines, and entitlements. Based on this decision table, users can create a quote or an order
while renewing or modifying a service contract, service contract line, or an entitlement.
Figure 1. Customer Life Cycle Workflows Policy decision table

You can configure rules based on the five available input parameters to create quotes while renewing and modifying contracts. Select the value of Target Entity Name as `sn_ind_tmt_orm_order_line_item` to create an
order. Select the value of Target Entity Name as `sn_quote_mgmt_core_quote_line_item` to create a quote. If the user selects a quote, the quote is approved and the status changes to Complete to
create an order. Ensure that you have installed Order Management (com.sn_ind_tmt_orm) and Quote Management (sn_quote_mgmt) plugins to enable selecting the target entity for renewal and modify workflows. Both these plugins will enable
users to create a quote or an order while renewing or modifying a service contract, service contract line, or an entitlement.

