Performance Management

Overview

Performance Management provides a collection of features to increase Oracle CPQ site stability and performance.

ClosedAccess During Extremely High Loads

To keep environments running during extremely high loads, otherwise known as "Overcrowded Mode", the Oracle CPQ site temporarily prevents users, integrations, and BML URL access functions from creating new sessions. During this restriction period, the timeout of idle sessions is reduced to ensure active users can complete their Transactions. Users will receive the following message if login is unavailable during an Overcrowded Mode.

Login unavailable message

When a site reaches its threshold, both service users and users already logged in can still access the site.

During the migration process, target sites cannot connect to source sites that are in "Overcrowded Mode".

When the site is in "Overcrowded Mode", the following occurs:

  • Inbound REST and SOAP calls are blocked. The exception is when the call is a SOAP V1 call that is using a session generated prior to the site entering "Overcrowded Mode".
  • Responses from eSignature vendors will fail. The site receives the responses via REST.
  • Proxy log in and logout will not work as both of these operations generate sessions.
  • Quick registration accounts cannot be created.

Note: Application Administrators can access the site during Overcrowded mode to enable site administrators to address performance issues.

ClosedPerformance Log Overcrowded Events

Oracle CPQ logs an event in the Performance Log when a site is low on resources and enters or exits "Overcrowded Mode".

To view the Performance Log navigate to: Admin > Developer Tools > Performance Log.

Performance Logs

ClosedTimeouts for BML URL Access Functions

The URL Access functions contain an optional timeout parameter. The timeout is in milliseconds and overrides the BML URL Function Timeout. In the event of a timeout, the output of each of the URL Access Functions is as follows:

  • urldatabypost: If the optional "returnErrorResponse" parameter is set to "true", an error message is returned.
  • urldata: An error message is returned with a status code.
  • urldatabyget: An error message is returned.
  • urldatabypostasync: If the optional "returnErrorResponse" parameter is set to "true", an error message is returned.
  • urlmultipartbypost: An error message is returned.

Refer to URL Access for more information on these BML functions.


ClosedPreventing Line Item Looping

Beginning in 2017 R1, users cannot loop over line items when they use an Advanced function in new sub-document attribute defaults. Previously created default Advanced functions remain unchanged. If administrators uncheck the sub-document attributes in the Variable Name for (Line Item) tab, the associated checkboxes are removed on Save.

Similarly, administrators cannot create line item loops in sub-document Commerce rules. This applies to Commerce rules that have Advanced conditions or Advanced actions. Existing Advanced Commerce rule functions will not change. If administrators uncheck the sub-document attributes associated with a sub-document Commerce rule using the Variable Name for (Line Item) tab, the associated checkboxes are removed on Save.

Note: If administrators advance to the BML Editor without unchecking the sub-document attributes in the Variable Name for (Line Item) tab, a warning message will display.

ClosedPreventing Advanced Line Default Looping

Beginning in 2017 R1, the "Run Scripts Once for All Line Items" property will be set to "true" to resolve performance issues related to unnecessary looping on the Advanced line result. If "Run Scripts for all Line Items" is set to "false", the Advanced line default will run once for each line added to the Transaction, resulting in poorer performance compared to running once for all line items.

  • When the "Run Scripts Once for All Line Items" property is set to "true", the related option is no longer visible on the sub-document properties page.
  • The "Run Scripts Once for All Line Items" property is set to "true"
    • For new customers
    • For existing customers who update to 2017 R1
Note: Administrators can open a Service Request (SR) on My Oracle Support to request an override for the default "true" value for "Run Scripts Once for all Line Items" setting.

Administration

ClosedEnable Overcrowded Banner

An Overcrowded Mode banner can be displayed at the top of each page for FullAccess users while the system is in "Overcrowded Mode". Beginning in Release 18C, Administrators can enable or disable the Overcrowded Mode banner display.

Overcrowded Banner

The General Site Options page includes a Show Overcrowded Mode Banner to full access user of the top of each page option that allows administrators to enable or disable the Overcrowded banner display.

Complete the following steps:

  1. Navigate to the ClosedGeneral Site Options page.

    1. Click Admin to go to the Admin Home page.
    2. Click General Site Options in the General section.

      The Options - General page opens.

Options - General page

  1. Click Yes to enable or No to disable the banner display.

ClosedEmail Notifications for Overcrowded Events

Email notifications are sent when a site enters or exits "Overcrowded Mode". Beginning in Release 18B, a timestamp is included to indicate when a site enters or exits Overcrowded mode. The timestamp, which corresponds to the site server time, allows administrators to identify the Overcrowded mode time-frame. Beginning in Release 18D, resource percentage and threshold setting percentage performance details are added to notification emails that are sent when a site enters or exists Overcrowded Mode.

The following are examples of the performance-related details provided in email notifications, for Release 18D and later, when entering and exiting Overcrowded Mode. Email text varies slightly depending on the specific event and status.

ClosedExample Email Content When Entering Overcrowded Mode

Email Subject: Production Site sitename entered at 7:09 AM CST with 93%

Email Body: Production Environment sitename has gone into overcrowded mode due to system resources at 7:09 AM CST. Value was 93% against threshold of 95%. New logins will not be allowed for the duration of the event.


ClosedExample Email Content When Exiting Overcrowded Mode

Email Subject: Overcrowded State: Production Site sitename exited at 7:39 AM CST after 30 minutes with 98.88%

Email Body: Production Environment sitename has left overcrowded mode and is now in ordinary operating mode at 7:39 AM CST after 30 minutes. Value was 98.88% against threshold of 97%. All logins are allowed.


The General Site Options page includes a Notification Emails option that allows administrators to specify the email addresses for Overcrowded Mode notifications.

Complete the following steps:

  1. Navigate to the ClosedGeneral Site Options page.

    1. Click Admin to go to the Admin Home page.
    2. Click General Site Options in the General section.

      The Options - General page opens.

  2. Enter your email address in the Notifications Emails field.
  3. Click Apply.

ClosedSet the Default BML URL Access Function Timeout

Defined in milliseconds, this timeout value serves as the default timeout threshold for any URL Access function making an external call when the timeout parameter is not used. This timeout is applicable to the following URL Access functions:

  • urldata
  • urldatabyget
  • urldatabypost
  • urldatabypostasync
  • urlmultipartbypost
Note: If the time-period specified in the parameter elapses without receiving a response from the queried server, there will be a timeout error in the BML. The BML returns data that allows the administrator to perform error handling in the event of a timeout.

Complete the following steps:

  1. Navigate to the ClosedGeneral Site Options page.

    1. Click Admin to go to the Admin Home page.
    2. Click General Site Options in the General section.

      The Options - General page opens.

 

  1. Enter the BML URL Function Timeout value.
  2. Click Apply.
Note: If the timeout parameter for a given call contains an invalid value, the BML URL Function Timeout is used.

ClosedSet Integration XSL or Middleware Integration Timeouts

Administrators can set a timeout period that defines how long an integration XSL (e.g. Integration Cloud Service, Oracle Sales, Salesforce, Oracle On Demand), or a middleware integration runs before timing out. By default, Oracle provides a timeout of 5 seconds for all integration calls.

Complete the following steps:

  1. Navigate to the ClosedIntegrations page.

    1. Click Admin to go to the Admin Home Page.
    2. Click Process Definition in the Commerce and Documents section.

      The Processes page opens.

    3. For the applicable Commerce Process, select Integration from the Navigation drop-down menu, then click List.

      The Integrations page opens.

  1. Select the name of the integration for which you are setting the timeout period.

    The Edit Integration page opens.

  2. In the Timeout field, enter a timeout for the integration. The timeout is defined in milliseconds.

    Edit Integration Timeout

  1. Click Apply.

When the integration XSL or middleware integration reaches the timeout period, the integration times out on the site and fails. Administrators can choose whether actions continue when the timeout occurs.


ClosedDefine an Action for Integration XSL or Middleware Integration Timeouts

Administrators have the option of allowing an action to execute when an integration XSL or a middleware integration times out. When administrators select the Execute Action If Associated Integrations Timeout checkbox, the action continues regardless of any associated integration timeout. A warning message displays to the end user, and Oracle CPQ logs information about the integration that timed out.

Note: By default, the Execute Action If Associated Integrations Timeout checkbox is unselected. The action works as in prior releases and results in an integration failure. Use this setting if the integration is crucial to the action’s success.

Complete the following steps:

  1. Navigate to the ClosedAction List page.

    1. Click Admin to go to the Admin Home Page.
    2. Click Process Definition in the Commerce and Documents section.

      The Processes page opens.

    3. For the applicable Process, select Documents from the Navigation drop-down,
      then click List.

      The Document List page opens.

    4. For the main document, select Actions from the Navigation drop-down menu,
      then click List.

      The Action List page opens.

  2. Select the link associated with the Action Name to execute when the integration XSL or middleware integration times out.

    The Admin Action page opens.

  3. Select the Execute Action If Associated Integrations Timeout checkbox.

    Select the Execute Action If Associated Integrations Timeout checkbox

  4. Select the Integration tab.
  5. Select the Integration to associate with the action from the Integration List, then click Move to selectedto move the item to the Selected Integration list.

    Action Integrations tab

  6. Click Apply.

When the integration XSL or middleware integration times out, the Modify actions will execute.


Related Topics

Related Topics Link IconSee Also