Document Actions (Redwood)

Overview

This topic covers administration of Commerce document actions using the Redwood interface pages. Refer to Document Actions for administration using the classic interface pages.

Commerce document actions trigger events within their respective main document or sub document to occur. Users usually perform Commerce actions, but timers can be set up so the system can automatically perform Commerce actions after specified periods of time. The Commerce system creates a default set of actions for use in each process and document. It also generates additional actions when Commerce documents include certain attribute types. Additionally, the Standard Process provides several actions that come with predefined functional logic that is ready for customers' use. If required, seeded logic can be overridden by administrators to incorporate their customization logic.

For addition information, refer to the following topics:

Commerce Action Pages

ClosedActions List Page

The Actions tab provides access to transaction or transaction line level actions.

  • To access the transaction actions, navigate to:  Admin Home > Quotes > Process > Manage Transaction or Manage Transaction Line > Actions

Transaction Actions

Item Description

1

Access the Deployment Center

2

Search and filter actions

You can click inside the search field to filter or type in search criteria for actions. You can also click on pre-defined filters that are provided below the search field.

Search and Filter Actions

  • Type Filter - Select Type from the Search filter drop-down and select the action type to filter specific action types

  • Integration Filter - Select Integration from the Search filter drop-down and select the integration to filter actions associated with the integration

3

Delete selected actions

4

Add a new action

5

View or edit an action

6

View Related Rules, Clone, or Delete an action. Delete is not available for Standard Process actions.

ClosedAction Page

The Edit Action drawer opens when an administrator clicks on an action. The available tabs and sections will vary based on the document and action type, refer to Commerce Actions for more information.

Action Editor

Item Description

1

Close the edit action drawer

2

Because actions are required to carry out operations based on the business logic, they are comprised of components. The components of an action are organized in tabs. Tabs will vary based on the action type.

3

In the General tab, this field shows the text label that is displayed on the action button.

4

In the General tab, this field displays the variable name of the action

5

In the General tab, this field Identifies the action type

6

In the General tab, this field shows the action description

7

In the General tab, this field identifies if the action is provided in the Standard Process

8

In the General tab, content is organized in sections. Sections will vary based on the action type.

9

Click this icon to manage action translations.


Administration

ClosedAdd a Document Action

Complete the following steps to create a transaction or transaction line action.

  1. Navigate to Admin Home > Quotes.
  2. Select the applicable Process.
  3. Select Manage Transaction or Manage Transaction Line in the left navigation section.
  4. Select the Actions tab.
  5. Click + Action.
  6. Enter the following information:
    1. What is the name of the action? This the text label that is displayed on the action button.
    2. Variable Name.

      The Variable Name field populates automatically. Variable names can only contain alpha-numeric characters and underscores. The entry can be changed before saving, but after saving the value is read-only.

    3. What type of an action is it? Select the desired action type from the drop-down.
  7. Click Create to save changes. or click Cancel to exit without saving changes.
  8. Proceed to Manage Document Actions.

ClosedManage Document Actions

Complete the following steps to manage a transaction or transaction line action.

  1. Navigate to Admin Home > Quotes.
  2. Select the applicable Process.
  3. Select Manage Transaction or Manage Transaction Line in the left navigation section.
  4. Select the Actions tab.
  5. Select the applicable action.
  6. Edit the available tabs and options.

ClosedGeneral Tab

ClosedModify Tab

ClosedInitialization Tab This tab is only available for Copy Line Items action

ClosedMappings Tab This tab is only available for or Auto Fill and Select Alternate Address type actions

ClosedDestination Tab This tab is only available for Add From Catalog, Back, and Modify type actions

ClosedEmail Fields Tab This tab is only available for Email type actions

ClosedDocument Views

  1. Click the Translations Translations icon icon to add translations.

  2. Select one of the following:

    • Cancel exit without saving changes.
    • Save: saves changes and remains on the page.
    • Save & Close: saves changes and returns to the Actions List page.

ClosedClone a Document Action

Complete the following steps to clone a transaction or transaction line action.

  1. Navigate to Admin Home > Quotes.
  2. Select the applicable Process.
  3. Select Manage Transaction or Manage Transaction Line in the left navigation section.
  4. Select the Actions tab.
  5. For the action you want to clone, select Clone from the Actions menu.

  6. Enter the following information:
    1. What is the name of the action? This the text label that is displayed on the action button.
    2. Variable Name.

      The Variable Name field populates automatically. Variable names can only contain alpha-numeric characters and underscores. The entry can be changed before saving, but after saving the value is read-only.

  7. Click Clone.

ClosedDelete a Document Action

Complete the following steps to delete transaction or transaction line action(s).

  1. Navigate to Admin Home > Quotes.
  2. Select the applicable Process.
  3. Select Manage Transaction or Manage Transaction Line in the left navigation section.
  4. Select the Actions tab.
  5. To delete a single action:
    1. Select Delete from the Actions menu.

    2. Click Delete in the confirmation dialog.
  6. To delete a transaction action, or multiple transaction actions:

    • Check the Select option for the actions you wish to delete, then click the Delete Trash icon icon.

      Multi-delete

    • Click Delete in the confirmation dialog.

Use caution when deleting a Commerce action because it is not possible to recover the deleted data. Upon a deletion, all associated rules within the Commerce action are also deleted.

Notes:

  • It is not possible to delete default, system-generated actions. For default actions created in association with document attributes, the system deletes these actions automatically when the corresponding attribute is deleted.
  • Standard Process actions cannot be deleted, but the action functions can be viewed, overridden, and easily returned to their default values Most Standard Process actions can be removed from the layout if a customer does not want to use them.

ClosedGenerate a Document Action Performance Analysis

To generate a Commerce action performance analysis, perform the following steps:

  1. Navigate to Admin Home > Quotes.
  2. Select the applicable Process.
  3. Select Manage Transaction or Manage Transaction Line in the left navigation section.
  4. Select the Actions tab.
  5. Click on the name of the applicable action.

  6. Click on the Performance tab.
  7. Enter the applicable information:

    • For main document actions, enter the Transaction ID.

    • For sub-documents, enter the Transaction ID and Document #.

  8. Click Generate.

    The performance analysis operation includes BML functions in Advanced Modify Before and After Formulas, Advanced Validation, Modify options, Destination options, and BML integrations. Upon execution, the Commerce action Performance tab displays the following times for associated BML loops, BMQL, URL data calls, library calls, and JSON parsing.

    • Total Time: Total time taken, in milliseconds, to execute the nested BML, including any time spent executing BML items that have their own entries.
    • Incremental Time: Time taken, in milliseconds, to execute the nested BML, excluding time spent executing BML items that have their own entries.
    • Child Rollup Time: Total combined time taken, in milliseconds, for all BML items called from this BML item.

    Action Performance Report

Notes:

  • Actions that do not have BML functions will not show the Performance tab.
  • The run-time breakdowns are specific to BML functions and do not reflect non-BML execution times.
  • Generating a Performance Analysis does not save changes to the quote.
  • The external integrations defined in the Integration tab are not executed when generating a Performance Analysis, but calls from other BML using the urldata functions will execute and may modify external systems

ClosedFormulas in Reconfiguration Scenarios

The Reconfigure action is split into one parent (Reconfigure) and one sub-action (Reconfigure Inbound). This eliminates the need for conditionals to segregate logic.

  • The parent action (Reconfigure) contains all things common to both Reconfigure actions and its own identifiers: Label, Variable Name, Description, Action Icon, Show Loading Dialog, Layout Path, and Document Views Tab.
  • The sub-action (Reconfigure Inbound) only contains what is specific to it.
  • This allows administrators to execute a formula per attribute on:
    • Outbound paths from a Commerce Transaction.

    The Formula will run immediately after the user clicks the Reconfigure action in Commerce, and before the user enters Configuration.

    • Inbound paths to a Commerce Transaction.

    The Formula runs after the user clicks Save in the Reconfiguration, and before the user returns to the Commerce page.

  • Formula execution is consistent with the existing order of operations for inbound and outbound executions.

Notes

Notes:

  • In order for any action to appear on a commerce document, it must be included in the document view.
  • Commerce actions can be created, deleted, and edited one document at a time.
  • User will be prevented from creating or adding Quotes from Configuration to Commerce if mandatory items are missing.

Custom Variable Name Conventions Oracle CPQ appends the "_c" suffix to custom variable names to provide more consistency for integrations with Oracle Sales.

Customers can submit a Service Request (SR) on My Oracle Support to disable the "_c" suffix on variable names for custom Commerce entities

  • When the "_c" is disabled, the "_c" variable name suffix will not be required for newly created custom Commerce entities.
  • Disabling the "_c" variable name suffix for custom Commerce entities will not change existing variable names.
  • The "_c" suffix setting will not impact existing variable names when cloning a Commerce process or migrating Commerce items. Target variable names will be the same as the variable names from the source Commerce process.

Best Practice Recommendation

Oracle CPQ recommends avoiding actions that call other actions on the same quote through BML. If this is implemented, the advanced validation of the parent action should be "modify without saving or validating".

Related Topics

Related Topics Link IconSee Also