Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows to Process a Quote >
SWISendQuote Workflow
This workflow is specific to the Order To Cash Process Integration Pack and submits a quote into AQ. It is called by the parent workflow Submit Quote ASI when the system preference Enable Order to Cash is set to TRUE. Figure 107 illustrates the SWISendQuote workflow.
Workflow Description. This workflow performs the following actions:
- Validate Rules BS. Validates the input values.
- Is Check Failed? Determines if a validation violation occurred.
- Check failed. Workflow execution is stopped if any validation violation has occurred.
- Query Quote. Queries for the Quote Id that is submitted. Derives the value of the UTCCanonical input parameter for this step from the UTCCanonical process property. The default value of this property is N. If the value passed is Y, then the query returns data for any field of type DTYPE_UTCDATETIME in UTC Canonical format.
- Is there a line item? Checks if there are any line items for the quote.
- Stop - No Line Items. Workflow execution is stopped if no line item is found.
- Get AIA Parameters. Gets the Siebel Enterprise Server details and other parameters.
- Set AIA Parameters. Formats the parameters into a Siebel message format.
- Call WS Quote Svc. Calls the Web service that converts the message into AQ.
- Update Quote. Updates the quote status and other details that are obtained from the external application. Derives the value of the UTCCanonical input parameter for this step from the UTCCanonical process property. The default value of this property is N. If the value passed is Y, then any field of type DTYPE_UTCDATETIME in the payload must be in UTCCanonical format. While writing these fields into the business component, these fields are converted to the locale-specific date and time.
- Stop 1. Workflow execution is stopped, and the following error message is displayed: The call to the external system executed, but the response was not as expected. If logging is enabled, the response can be examined to assist in diagnosing the problem.
- Stop 3. Workflow execution is stopped, and the following error message is displayed: A configuration error occurred while preparing the message to submit to the external system. Have your system administrator check the Workflow for the step that sets the external application attributes.
Table 106 shows the steps in this workflow that call business service methods.
Table 106. Associated Business Service Methods
|
|
|
Validate |
Validate |
FINS Validator |
Query Quote |
QueryById |
SWI Quote Upsert |
Get AIA Parameters |
GetEnterpriseParameters |
SWI External Integration Service |
Set AIA Parameters |
SetAttributesToMessage |
SWI External Integration Service |
Call WS Quote Svc |
process |
SWISubmitQuote_o2c |
Update Quote |
InsertOrUpdate |
SWI Quote Upsert |
|