> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/salesforce-lightning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](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).

# 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**.
