Objects and fields supported by Custom Logic
You can use fields from both base and joined objects, up to two levels deep, in decision tables, decision trees, or functions. The available objects and fields depend on the custom logic and object type.
For example, when creating a decision table for the Invoice object, you can define conditions or mutations not only on Invoice fields but also on fields from the related Account object.
Supported objects
The following table lists the supported objects of each custom logic type:
Object | Decision table | Decision tree | Function |
---|---|---|---|
Account | ![]() |
![]() |
![]() |
Contact | ![]() |
![]() |
![]() |
Credit Memo | ![]() |
![]() |
![]() |
Debit Memo | ![]() |
![]() |
![]() |
Invoice | ![]() |
![]() |
![]() |
Order Line Item | ![]() |
![]() |
|
Payment | ![]() |
![]() |
![]() |
Payment Method | ![]() |
![]() |
![]() |
Product | ![]() |
![]() |
![]() |
Product Rate Plan | ![]() |
![]() |
![]() |
Product Rate Plan Charge | ![]() |
![]() |
![]() |
Product Rate Plan Charge Tier | ![]() |
![]() |
|
Rate Plan | ![]() |
![]() |
|
Rate Plan Charge (also known as Subscription Rate Plan Charge) | ![]() |
||
Refund | ![]() |
![]() |
![]() |
Subscription | ![]() |
![]() |
![]() |
(Custom objects) | ![]() |
Supported fields
The following table lists the circumstances under which object fields are used in custom logic, including where fields appear in each custom logic.
Decision table | Decision tree | Function | |
---|---|---|---|
Define conditions | In Condition | In Condition | In function bodies |
Mutate field values | In Result | In Result |
In function returns Applies only to formula functions. |
Custom Logic supports custom fields on all objects under both circumstances. However, certain standard fields on standard objects are not supported under one or either of these circumstances. For a complete list of supported standard fields of each standard object, see the object detail page by clicking the object name in the “Supported objects” section of this article.