Creating contracts and entitlements using workflows

  • Release version: Zurich
  • Updated July 31, 2025
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Creating contracts and entitlements using workflows

    This workflow automates the creation of contracts and entitlements after a customer selects and purchases a product offer. It generates contracts and entitlements based on the sold product’s associated services and any additional services purchased by the customer. This process streamlines contract management and entitlement assignment in ServiceNow for telecom and service-related offerings.

    Show full answer Show less

    Offering Types and Workflow Behavior

    • Offers for entitlements: Creates entitlement records linked to sold products, install base items, inventory records, or customers.
    • Offers for services (contract lines): Automatically creates service contracts, contract lines, and associated entitlements.
    • Implicit offerings: Entitlements and contract lines created automatically without appearing on order lines; useful for package components that require no separate configuration.

    Contract Creation Processes

    • From orders: A single contract with multiple contract lines is created for orders with multiple product offerings, with sold products generated per order line.
    • From product inventory records: When the system property snindtmtorm.enableprodinvtforordermanagement is enabled, product inventories are created during order fulfillment, triggering contract lines and entitlements creation and synchronization as inventory states change.

    Product Inventory Updates and Contract Synchronization

    Contract lines and entitlements are updated based on product inventory state changes during specific workflow flows:

    • Process Telecom Order Line: ADD flow creates contracts/entitlements; MODIFY flow updates their states.
    • Post Process Telecom Top Domain Order: MODIFY flow updates contract line and entitlement details.
    • Product Inventory Operations: DISCONNECT, RESUME, and SUSPEND flows manage cancellation, activation, or suspension of contracts and entitlements according to scheduled dates.

    Configuring Customer Life Cycle Workflows Policy Decision Table

    This decision table determines which target entity (quote, order, opportunity, or both opportunity and quote) is created when renewing or modifying service contracts, contract lines, and entitlements. It allows admins to configure renewal initiation timing and target entity creation rules based on six input parameters.

    Key Configuration Details

    • Target Entities: Options include creating orders, quotes, opportunities, or both opportunities and quotes, depending on business needs. Note that opportunities cannot be created for modifying processes.
    • Renewal Timing: Auto-renewal can be triggered 90, 60, or 30 days before contract end date or on contract creation date. For combined opportunity and quote renewals, renewal dates can be configured separately (e.g., opportunity renewed on contract creation date and quote 12 months before expiry).
    • Prerequisites for opportunity creation: Admins must configure sales cycle type (code: RENEW) and opportunity stages (name: Develop) as active to enable creation during renewal.

    By leveraging these workflows, ServiceNow customers can automate contract and entitlement creation, ensure synchronization with product inventory changes, and tailor renewal processes to align with their sales and service lifecycle strategies.

    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.

    Table 1. Offering types and workflows
    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.

    Creating a contract from an order

    For every order with multiple product offerings, a single contract with multiple contract lines is created. As part of the order processing, a sold product is generated for every order line.

    Creating contracts from product inventory records

    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. 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.

    Configuring Customer Life Cycle Workflows Policy decision table

    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, you can create a quote, an order, an opportunity, or an opportunity and a quote together while renewing or modifying a service contract. For a target entity, you can also select when you want to initiate the renewal of the service contract.

    Figure 1. Inputs in Customer Life Cycle Workflows Policy decision table
    Customer Life Cycle Workflows Policy decision table
    Figure 2. Conditions in Customer Life Cycle Workflows Policy decision table
    Customer Life Cycle Workflows Policy decision table

    You can configure rules based on the six available input parameters to a required target entity while renewing and modifying contracts. Select the following values in the Target Entity Name column to create the corresponding target entities.

    Table 2. Values of target entities
    Value Target Entity
    sn_ind_tmt_orm_order_line_item Order
    sn_quote_mgmt_core_quote_line_item Quote
    sn_opty_mgmt_core_opportunity_line_item Opportunity
    Note:
    You cannot create opportunities for modifying process.
    sn_quote_mgmt_core_quote_line_item,sn_opty_mgmt_core_opportunity_line_item Opportunity and quote together
    Note:
    You cannot create opportunities and quotes for modifying process.
    Note:
    To create an opportunity or opportunity and quote together during renewal, the admin needs to set up the following records:

    If the user selects an opportunity and a quote as target entities, a renewal opportunity and a quote is created. The opportunity and the quote are associated to each other.

    For any target entity, select one of the following options in the Auto Renewal Initiation column to indicate when you want to automatically renew the contract: 90, 60, 30 days before contract end date or on the contract creation date. For target entity as opportunity and quote together, you can also select the following options to create the renewed opportunity and quote on separate dates:
    • With contract, 12 months before end date respectively: Opportunity is auto renewed on the contract creation date and the quote is renewed 12 months before the contract expiry date.
    • 90, 90 days before end date respectively: Opportunity and quote both are renewed 90 days before the contract expiry date.