Siebel Communications Guide > Defining Billing Profile Workflows for Siebel Communications > Workflows to Manage Contacts, Accounts, and Payments >
SWISendPaymentAuthorization Workflow
This workflow checks if this payment record is valid for the customer. The operator creates a new payment record as a credit card payment and fills all requested fields. This workflow is called when a user clicks the Authorize button. Figure 52 shows the SWISendPaymentAuthorization workflow.
Figure 52. SWISendPaymentAuthorization
|
Workflow Description. This workflow performs the following actions:
- Validate. Validates the input values.
- Error. Checks whether the input is absent or invalid. If the input is absent or invalid, then the workflow proceeds to the Stop on Error step.
- Query Payments. Queries the payment details from the Payments business component.
- Query IO w/ right Payment. Queries the Siebel database for the correct set of payment details and prepares the Siebel XML file for transmission. 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 the type DTYPE_UTCDATETIME in UTC Canonical format.
- Get AIA Parameters. Gets the Siebel Enterprise Server details and other parameters.
- Set AIA Parameters. Formats the parameters into Siebel message format.
- Call WS. Calls the outbound Web service and sends the payload.
- Handle Fault. If an error occurs in the prior step, then this step displays an error message.
- Update Payments. Updates the payment details. 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 the 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.
- Refresh. Refreshes the applet so the synchronized information appears in the Siebel application.
Associated Business Service Methods. The following table shows the steps in this workflow that call business service methods.
|
|
|
Validate |
Validate |
FINS Validator |
Query IO w/ right Payment |
Query |
EAI Siebel Adapter |
Get AIA Parameters |
GetEnterpriseParameters |
SWI External Integration Service |
Set AIA Parameters |
SetAttributesToMessage |
SWI External Integration Service |
Call WS |
PaymentAuthorization |
PaymentAuthorizationSalesOrderSiebelReqABCSImplService |
Handle Fault |
CheckAndSetError |
SWI External Integration Service |
Update Payments |
Upsert |
EAI Siebel Adapter |
Refresh |
RefreshCurrentApplet |
FINS Teller UI Navigation |
|