Siebel Order Management Guide > Workflows for Asset-Based Ordering >

Disconnecting a Service Item


This group of workflows allows a user to disconnect a service. It consists of the workflow process and nested subprocesses:

SIS OM Disconnect Products & Services Process

This workflow identifies an active quote for the current account. Then it generates a quote line item to disconnect the selected asset and displays the Quote Detail view. This workflow is shown in Figure 20.

A user initiates this workflow by clicking the Modify button in the Accounts screen's Service Items view, Billing Items view, or Customer Portal view.

Figure 20.  SIS OM Disconnect Products & Services Process Workflow

Click for full size image

Workflow Description. This workflow does the following:

  1. Retrieves the active quote from the session.
  2. If there is no active quote, the workflow creates a new quote and sets it as the active quote. If there is an active quote, the Check Active Quote subprocess determines whether the quote is associated with the same customer account as the asset being modified, and whether the quote has a status of In Progress. See SIS OM Active Quote Sub-Process. If the active quote does not meet these criteria, the workflow creates a new quote and sets it as the active quote.

  3. Identifies the currency.
  4. If Currency is Null, the workflow proceeds to Step 3 without doing any processing. If Currency is not Null, the workflow sets the quote's currency to the same currency as that of the associated asset.

  5. Allows the user to disconnect the asset.
  6. The workflow gets the asset's current state and then creates quote line items to disconnect the asset in that state. See SIS OM Disconnect Asset Sub-process.

  7. Displays the active quote.
  8. The workflow displays the active quote in the Quote Detail view. See SIS OM Go to Quote Detail View Sub-Process.

Associated Business Service Methods. The following table shows the steps in this workflow that call business service methods.

Workflow Step
Business Service Method Called
Get Active Quote
Get Profile Attribute
Set Active Quote
Set Profile Attribute

SIS OM Disconnect Asset Sub-process

This workflow applies the open and pending orders related to the selected asset to get its requested state. Then it creates quote line items to disconnect the selected asset in that state. It adds these line items to the active quote. This workflow is shown in Figure 21.

The SIS OM Disconnect Products & Services Process initiates this workflow.

Figure 21.  SIS OM Disconnect Asset Sub-process Workflow

Click for full size image

Workflow Description. This workflow does the following:

  1. Reads the asset from the database.
  2. The workflow includes only components that do not have a status of Inactive. The workflow looks for all the orders with a status of Open or Pending that are related to the selected asset. The workflow applies the changes specified by those orders. This recreates the state of the service product as the user has requested it.

  3. Displays an error message if the asset is empty.
  4. If one of the open or pending orders disconnects the root component, the result is an empty asset. In this case, the workflow displays an error message.

  5. Trims the product instance to remove items that are not tracked as assets.
  6. Retrieves the active quote.
  7. The workflow generates the delta of the requested state of the asset and the future empty state of the asset. This creates line items to disconnect the asset. The workflow adds these line items to the active quote.

  8. Saves the quote to the database.

Associated Business Service Methods. The following table shows the steps in this workflow that call business service methods.

Workflow Step
Business Service Method Called
Load Open Order Line Items
Find Orders
Set Product Instance
Set Product Instance
Set Apply Output Header
Set Output Header
Apply Changes
Apply
Set Requested Product Instance
Set Product Instance
Create Delta
Delta
Trim
Trim


 Siebel Order Management Guide 
 Published: 18 April 2003