Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
PersonalizeCloud Portal
Sitecore Personalize
        • Create a decision model variant
        • Manage variant audiences
        • Decision model variant states
        • Move a variant between states
        • Copy a decision model variant
        • Pass outputs between decisions
        • Test a variant
        • View variant revisions
        • Troubleshooting a decision model variant
    • Managing data systems
  • Using client-side JavaScript
  • Glossary
  1. Managing decision model variants in Sitecore Personalize
  1. Sitecore Personalize
  2. Introduction to decisioning in Sitecore Personalize
  3. Managing decision model variants in Sitecore Personalize
  4. 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.

If you have suggestions for improving this article, let us know!

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use