# Edit the decision elements

To edit decision boxes:

1. Double-click the **Which payment type is selected** decision element.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-9ce6d8bec93332710426fe7cb3c6b1f2a8125c30%2FWhich%20payment%20type%20is%20selected%20decision%20element.png?alt=media)
2. From the Edit Decision dialog, click **+** next to **Outcome Order** to add a new outcome.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-7b963cf34a2cb3fec073249f564612cfa523f7c7%2FOutcome%20order.png?alt=media)
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`.\
     ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-8f2c8ce3c021607ced04c7891c15c553cb2c3fe7%2FWhich%20payment%20type%20is%20selected%20edit%20decision.png?alt=media)
4. Click **Done**.
5. Double-click the **Update address if changed** decision element.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-6faa51cad33b429ffebecde762246dbc03e09e43%2FUpdate%20address%20if%20changed%20decision%20element.png?alt=media)
6. From the **Edit Decision** dialog, click **+** next to **Outcome Order** to add a new outcome.\
   ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-52488600ed32ebd21956ca0ad7fbc138c7dfc1b2%2FOutcome%20order%20-%20Update%20address%20if%20changed.png?alt=media)
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`.\
     ![](https://2148947133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw4LUVtzRnCnYyAQNDxTM%2Fuploads%2Fgit-blob-d797211fe9b7c35348cc54e2a12801040ad8e6be%2FEdit%20Decision%20-%20update%20address%20if%20changed.png?alt=media)
8. Click **Done**.
