Skip to main content

Custom Logic overview

Zuora

Custom Logic overview

The Custom Logic feature allows you to define logic rules for standard and custom objects by using decision tables, decision trees, or functions. When objects are created or updated, Zuora triggers the rules to validate data accuracy or manipulate field values.

The Custom Logic feature is available in Sandbox environments. To enable this feature in Production environments, contact your Zuora account team.

Triggering mechanism

When an object is created or updated through the UI or API, Zuora triggers the custom logic defined on this object type. If the custom logic is evaluated successfully, Zuora will create or update the object. If the evaluation fails, Zuora will display the error message configured in the custom logic and will not create or update the object.

Supported custom logic types

Zuora supports the following custom logic types:

Custom logic type Coding experience needed? Support standard objects? Support custom objects? Support logic rules with if-then statements? Support logic rules with if-then-else statements?
Decision table No Yes No Yes No
Decision tree No Yes No Yes Yes
Function Yes (JavaScript) Yes Yes Yes Yes