Siebel Communications Guide Addendum > Workflow Reference > Workflows to Suspend or Resume Service Items >
SIS OM Suspend / Resume Asset Sub-Process
This workflow applies the changes for the open and pending orders related to the selected asset to get the requested state of the asset, creates line items to suspend or resume the selected asset in that state, and adds these line items to the active document. Figure 27 shows this workflow. The SIS OM Suspend / Resume Products & Services Process workflow invokes this workflow as a subprocess. For information about the SIS OM Suspend / Resume Products & Services Process workflow, see Siebel Order Management Guide.
Figure 27. SIS OM Suspend / Resume Asset Sub-Process Workflow
|
Workflow Description. This workflow:
- Clears the business service cache of existing product instances.
- Reads the asset from the database.
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 that those orders specify to re-create the state of the service product as the user requests it.
- Removes any components from the asset that do not have the Track As Asset flag set.
- Displays an error message if the asset is empty.
If an open or pending order disconnects the root component, or if no components have the Track As Asset flag set, the result is an empty asset, and the workflow displays an error message.
- Copies the asset and sets the status of each component to Suspended.
- Copies the asset and sets the status of each component to Active.
- If the user clicks the Suspend button, generates the delta of the requested state of the asset and the future suspended state of the asset to create line items to suspend the asset and set the due date for each line item. Also, creates a onetime service charge item for the quote or order based on the type of target document. For more information, see SIS OM Add Service Charge Sub-Process.
- If the user clicks the Resume button, generates the delta of the requested state of the asset and the future active state of the asset to create line items to resume the asset and set the due date for each line item. Also, creates a onetime service charge item for the quote or order based on the type of target document. For more information, see SIS OM Add Service Charge Sub-Process.
- Merges the line items of the suspend and resume requests into a single document.
- Generates a new asset integration ID for any line item with an action code of Add.
- Saves the document to the database.
Associated Business Service Methods. The following table shows the steps in this workflow that call business service methods.
|
Business Service Method Called |
Reset PMT Cache |
Reset |
Set Product Instance |
Set Product Instance |
Load Open Order Line Items |
Find Orders |
Set Apply Output Header |
Set Output Header |
Apply Changes |
Apply |
Trim |
Trim |
Create Copy with Status = Suspended |
Set Field Value |
Create Copy with Status = Active |
Set Field Value |
Set Active Document Header |
Set Output Header |
Set Requested Product Instance (Active) |
Set Product Instance |
Create Delta (Suspended) |
Delta |
Set Due Date (Suspend) |
Set Field Value |
Set Active Document Header (2) |
Set Output Header |
Set Requested Product Instance (Suspended) |
Set Product Instance |
Create Delta (Active) |
Delta |
Set Due Date (Resume) |
Set Field Value |
Set Suspend Delta Document |
Set Product Instance |
Merge Suspend and Resume Line Items |
Merge |
Ensure New Line Item |
Set Field Value |
Sync Line Items |
Synchronize |
|