Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows to Suspend or Resume Service Items >
SIS OM Suspend / Resume Asset Sub-Process Workflow
This workflow suspends a selected asset instead of suspending and resuming the entire asset hierarchy. 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 the line items to the active document. The SIS OM Suspend / Resume Products & Services Process workflow calls this workflow as a subprocess when a user suspends or resumes an asset. For more information about the SIS OM Suspend / Resume Products & Services Process workflow, see SIS OM Suspend / Resume Products & Services Process Workflow. Figure 35 illustrates the SIS OM Suspend / Resume Asset Sub-Process workflow.
Figure 35. SIS OM Suspend / Resume Asset Sub-Process Workflow
|
Workflow Description. This workflow performs the following actions:
- 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, then the result is an empty asset, and the workflow displays an error message.
- Determines whether the Enable AIA Comms system preference is set to TRUE, and whether Root Asset Integration Id is not equal to Asset Integration Id. The workflow then performs one of the following operations:
- If the Enable AIA Comms system preference is set to TRUE, and the selected asset is a service or the child asset of a service, then this step extracts the selected child asset hierarchy or asset from the asset hierarchy, and then updates the asset status to either Suspend or Resume for the extracted child asset hierarchy, according to the user selection. Merges the updated child asset hierarchy with the asset hierarchy, using the merged asset hierarchy to incorporate additional changes.
- If the Enable AIA Comms system preference is set to FALSE, then this step proceeds with the existing implementation and suspends the complete asset hierarchy.
- 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, then this step 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.
A decision point step checks the setting of the Enable AIA Comms system preference, and does one of the following:
- If the user clicks the Resume button, then this step 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.
A decision point step checks the setting of the Enable AIA Comms system preference, and does one of the following:
- 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.
Table 37 shows the steps in this workflow that call business service methods.
Table 37. Associated Business Service Methods
|
|
|
Reset PMT Cache |
Reset |
SIS OM PMT Service |
Set Product Instance |
Set Product Instance |
SIS OM PMT Service |
Load Open Order Line Items |
Find Orders |
SIS OM PMT Service |
Set Apply Output Header |
Set Output Header |
SIS OM PMT Service |
Apply Changes |
Apply |
SIS OM PMT Service |
Trim |
Trim |
SIS OM PMT Service |
Get Child Hierarchy |
GetProductHierarchyUnderRow |
CMU External Integration Service |
Set Field Value - Suspend |
SetFieldValue |
CMU External Integration Service |
Merge Property Set - Suspend |
MergePropertySet |
CMU External Integration Service |
Set Field Value - Resume |
SetFieldValue |
CMU External Integration Service |
Merge Property Set - Resume |
MergePropertySet |
CMU External Integration Service |
Create Copy with Status = Suspended |
Set Field Value |
SIS OM PMT Service |
Create Copy with Status = Active |
Set Field Value |
SIS OM PMT Service |
Set Active Document Header |
Set Output Header |
SIS OM PMT Service |
Set Requested Product Instance (Active) |
Set Product Instance |
SIS OM PMT Service |
Create Delta (Suspended) |
Delta |
SIS OM PMT Service |
Set Due Date (Suspend) |
Set Field Value |
SIS OM PMT Service |
Set Due Date (Suspend) (2) |
Set Field Value |
SIS OM PMT Service |
Set Active Document Header (2) |
Set Output Header |
SIS OM PMT Service |
Set Requested Product Instance (Suspended) |
Set Product Instance |
SIS OM PMT Service |
Create Delta (Active) |
Delta |
SIS OM PMT Service |
Set Due Date (Resume) |
Set Field Value |
SIS OM PMT Service |
Set Due Date (Resume) (2) |
Set Field Value |
SIS OM PMT Service |
Set Suspend Delta Document |
Set Product Instance |
SIS OM PMT Service |
Merge Suspend and Resume Line Items |
Merge |
SIS OM PMT Service |
Ensure New Line Item |
Set Field Value |
SIS OM PMT Service |
Set Product Instance (EAI Op) |
Set Product Instance |
SIS OM PMT Service |
Prepare Sync Input (Set EAI_OPERATION codes) |
Compute EAI Operation |
SIS OM PMT Service |
Sync Line Items |
Synchronize |
SIS OM PMT Service |
|