Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Introduction to Sitecore Personalize
Managing accounts and system settings
Identifying guests
Introduction to experiments
Introduction to experiences
Decisioning
View dashboards
Developer Center
Connecting to an external system
Using client-side JavaScript
Using server-side JavaScript
AI in Personalize
Glossary
  • Sitecore Personalize
  • Introduction to decisioning in Sitecore Personalize
  • Managing decision model variants in Sitecore Personalize
  • Pass outputs between decisions

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

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2025 Sitecore