Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows for Bulk Requests >
ABO Bulk Request - Submit Process Workflow
This workflow submits a bulk request for processing. The execution of this workflow can result in one or more exceptions that are logged in the exception table. Figure 55 shows this workflow. The resubmit process is handled natively in this workflow and is accomplished by loading only those action sets, actions, and users who have the appropriate status.
- Only those action sets with a status of To Process or Partially Processed and no exceptions are loaded. Action sets that are completely processed have a Processed status, and the records are read-only.
- Only those action records with a status of To Process or Partially Processed are loaded. Action records that are completely processed have a Processed status, and action records that have errors have an Error status.
- Only those user records with a status of To Process or Partially Processed are loaded. User records that are completely processed have a Processed status, and user records that have errors have an Error status.
The ABO Bulk Request - Submit Driver Process Workflow calls this workflow as a subprocess.
Figure 55. ABO Bulk Request - Submit Process Workflow
|
Workflow Description. This workflow performs the following actions:
- Updates the status of the header for the bulk request to Processing.
- Loads the bulk request record into memory using the EAI Query method that takes as input a search specification that contains the bulk request ID.
- Validates the action sets, actions, and users for the bulk request.
- Gets the valid action sets to process.
- Stores these action sets.
- Calls the Next Action Set business service method to retrieve from memory the next valid action set record to process.
- Checks whether the action set is stored, and gets the Action Code of the promotion.
- Checks whether the bulk request is canceled.
- If the bulk request is not canceled, then checks whether an action set to process exists for the bulk request.
- If an action set exists, then calls the ABO Bulk Request - Parallel Sub Process Workflow for action sets that are processed in parallel or the ABO Bulk Request - Sub Process Workflow for action sets that are not processed in parallel. For more details, see ABO Bulk Request - Parallel Sub Process Workflow and ABO Bulk Request - Sub Process Workflow.
- Queries the order header to obtain the total number of jobs present for the entered bulk request ID.
- For bulk request headers to update, updates the status of the header to appropriate value and total number of jobs obtained in previous step. The successful or unsuccessful completion of the process to submit the bulk request determines the appropriate value.
- Calls the ABO Bulk Request - Notify User Sub-Process Workflow that notifies the user or creator of the bulk request about the status of the bulk request. For more details, see ABO Bulk Request - Notify User Sub-Process Workflow.
- For bulk request headers to not update, removes the action set for the bulk request, if appropriate.
Table 48 shows the steps in this workflow that call business service methods.
Table 48. Associated Business Service Methods
|
|
|
Load Bulk Request |
Query |
EAI Siebel Adapter |
Validate Bulk Request |
Validate |
ABO Bulk Request Validation Service |
GetValidRecords |
Query |
EAI Siebel Adapter |
Store ActionSet |
StoreParentChildInfo |
ABO Bulk Request Processing Service |
Next Action Set |
NextObject |
ABO Bulk Request Processing Service |
Get Promotion Action Code |
GetPromotionActionCode |
ABO Bulk Request Validation Service |
Process Actions Asynchronously |
SubmitRequest |
Server Requests |
Remove Action Set |
RemoveParentChildInfo |
ABO Bulk Request Processing Service |
|