Skip to content

Throw Exceptions

Role:
Salesforce Administrator

The <Logging> Throw exceptions setting controls how errors are handled in Guided Selling. When enabled, exceptions are thrown and made more visible, which helps during troubleshooting.

How Throw Exceptions works

<Logging> Throw exceptions makes exceptions more visible if they are thrown during sequence processing. This helps during troubleshooting but also may block other non-Guided Selling processes within Salesforce in the case of errors.

Configuration

  1. Navigate to Setup in Salesforce
  2. Go to Custom Settings
  3. Find GS_Public Settings
  4. Click Manage
  5. Find <Logging> Throw exceptions
  6. Set to true for troubleshooting or false for production
  7. Save the configuration

When to enable

Enable <Logging> Throw exceptions when:

  • Troubleshooting issues
  • Testing in sandbox
  • Debugging sequence problems
  • Investigating errors

When to disable

Disable <Logging> Throw exceptions in:

  • Production environments (default)
  • Normal operations
  • When errors should be handled gracefully
In Production orgs, this is turned off by the daily cleanup job. Enable only when needed for troubleshooting.
Last updated on