# Edit the decision elements

To edit decision boxes:

1. Double-click the **Which payment type is selected** decision element.\
   ![](/files/djlmh0Ml352kg18UDP2M)
2. From the Edit Decision dialog, click **+** next to **Outcome Order** to add a new outcome.\
   ![](/files/tpG1zhmeC82O5T1Gd2tt)
3. From the **New Outcome** tab, enter the following values in the fields:
   * **Label**: Type `Digital River`.
   * **Outcome API Name**: The field automatically populates the **Digital\_River** value.
   * **Resource**: Type `paymentType` and click the **paymentType** variable.
   * **Value**: Type `DigitalRiver`.\
     ![](/files/BkDtvMitAqaj13sAbULO)
4. Click **Done**.
5. Double-click the **Update address if changed** decision element.\
   ![](/files/hFJRLuilRc5UTVkJyg6U)
6. From the **Edit Decision** dialog, click **+** next to **Outcome Order** to add a new outcome.\
   ![](/files/R5B6XD4cdczSvDvHYkCx)
7. From the **New Outcome** tab, enter the following values in the fields:
   * **Label**: Type `Payment Equal DR`.
   * **Outcome API Name**: The field automatically populates the **Payment\_Equal\_DR** value.
   * **Resource**: Type `paymentType` and click the **paymentType** variable.
   * **Operator**: Select **Equals** from the dropdown list.
   * **Value**: Type `DigitalRiver`.\
     ![](/files/ggUxSnDShMIEep4XCIJ6)
8. Click **Done**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.0/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow/integrate-the-digital-river-components-into-an-asynchronous-checkout-flow/subflow-configuration/configure-the-payment-and-billing-address-subflow/edit-the-decision-elements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
