# Edit the decision elements

To edit decision boxes:

1. Double-click the **Which payment type is selected** decision element.\
   ![](https://474794349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlKR9Leh9OBazVU7KgFio%2Fuploads%2FAGKmorPqgAv5oveytxh2%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://474794349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlKR9Leh9OBazVU7KgFio%2Fuploads%2FCCYvsc9VvdcQkLCu26W6%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://474794349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlKR9Leh9OBazVU7KgFio%2Fuploads%2F1iInLZv6y2tMPiJoAGoi%2FWhich%20payment%20type%20is%20selected%20edit%20decision.png?alt=media)
4. Click **Done**.
5. Double-click the **Update address if changed** decision element.\
   ![](https://474794349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlKR9Leh9OBazVU7KgFio%2Fuploads%2FcVdTXDrEGMZHvVUjkaX7%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://474794349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlKR9Leh9OBazVU7KgFio%2Fuploads%2FRkcLmkeLygV3aUfQ9jq7%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://474794349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlKR9Leh9OBazVU7KgFio%2Fuploads%2Fqrjl29HxoXxAPuCG3bz8%2FEdit%20Decision%20-%20update%20address%20if%20changed.png?alt=media)
8. Click **Done**.
