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 programmable decisions
  • Troubleshooting programmable decisions

Troubleshooting programmable decisions

Sitecore Personalize helps you validate the syntax of the code in the programmable decision by providing you with a Validate button. It is best practice to periodically click the Validate button as you write the programmable decision, not just before saving.

You can still troubleshoot a programmable decisions even though the code syntax is correct. To facilitate this, make sure to include print statements in the programmable decision.

Later, when you test the decision model variant you can view the results of the programmable decision on the Logs tab. This is very useful for checking that any functions and other code is working as expected.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore