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 116 illustrates the SWISendQuote workflow.

Figure 116. SWISendQuote Workflow

Workflow Description. This workflow performs the following actions:

  1. Validate Rules BS. This step validates the input values.
  2. Is Check Failed? This step determines whether a validation violation occurred.
  3. Check failed. This step stops the workflow execution if any validation violation has occurred.
  4. Query Quote. This step queries for the Quote Id that is submitted. It derives the value of the UTCCanonical input parameter 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.
  5. Is there a line item? This step checks whether there are any line items for the quote.
  6. Stop - No Line Items. This step stops the workflow execution if no line item is found.
  7. Get AIA Parameters. This step gets the Siebel Enterprise Server details and other parameters.
  8. Set AIA Parameters. This step formats the parameters into a Siebel message format.
  9. Call WS Quote Svc. This step calls the Web service that converts the message into AQ.
  10. Update Quote. This step updates the quote status and other details that are obtained from the external application. It derives the value of the UTCCanonical input parameter 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.
  11. Stop 1. This step stops the workflow execution, and the following error message appears: The call to the external system executed, but the response was not as expected. If logging is enabled, then the response can be examined to assist in diagnosing the problem.
  12. Stop 3. This step stops the workflow execution, and the following error message appears: 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 101 shows the steps in this workflow that call business service methods.

Table 101. Associated Business Service Methods
Workflow Step
Method Called
In Business Service

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

Siebel Order Management Guide Addendum for Communications Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.