---
title: "Pass outputs between decisions"
slug: "pass-outputs-between-decisions"
abstract: "Describes how to use the same output in one or more programmable decisions using an output reference (Sitecore Personalize)."
---
# Pass outputs between decisions

You can use the same output in one or more programmable decisions by creating an output reference. For example, you might want to use an output reference named upcomingOrders in a programmable decision named Next Orders as well as a programmable decision named Identify Next Trip.

To create an output reference that can be passed between programmable decisions:

1. In the right pane, on the **Settings** tab, in the **Programmable Name** field, enter the name of the programmable.
2. In the **Output Reference** field, enter the name of the output reference. Apply the following naming conventions:
    - Ensure that the **Output Reference** name contains no spaces
    - The first character must either be an ASCII letter (either uppercase or lowercase), a letter that complies with Unicode variable naming conventions, or an underscore (_) character. Do not use a number as your first character.
    - Subsequent characters must be letters, numbers, or underscores (_).
    - The **Output Reference** name must not be a reserved word. A reserved word is a keyword that is reserved by JavaScript functions or other uses that cannot be used as identifiers such as variable names, function names, and class names.
    - Each **Output Reference** name must be unique within a decision canvas.
3. In the **Type** drop-down list, select one of the following types:
    - **String** - a text value.
    - **Boolean** - a binary value that can either be true or false.
    - **Integer** - a number value.
    - **Long** - an integer that is longer than the size of the standard integer type. This is useful for large numbers.
    - **Double** - a number that includes a decimal point. This is useful for fractional values or precise measurements.
    - **Date** - represents a date value. See [Including dates in Programmable Decisions](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-decisioning-in-sitecore-personalize/managing-programmable-decisions/including-dates-in-programmable-decisions.html "Including dates in programmable decisions") for more information.
    - **Map** - returns the entire object for the next decision to use.
4. To validate the syntax of your code, click **Test Canvas**.
5. Click the **Save** button to save your changes.