The Drill Down Step

This step is used to drill down (copy) field values from the parent records to the child records.

Step Keys

Key Type Required Comment

type

String

Yes

It is filled out with the drillDown constant.

condition

Step Conditions

No

See the Step Conditions.

baseObject

Enum

Yes

The API name of the parent object. Available values:

  • orders__OrderLineItem__c

  • orders__Delivery__c

  • orders__Order__c

basePrice

String

Yes

The baseObject field to drill down values to child records. See the Available Field Formats.

result

Array

Yes

At least one item must be provided. See the Drill-down Result Keys.

Drill-down Result Keys

Key Type Required Comment

resultObject

Enum

Yes

The API name of the child object. Available values:

  • orders__DeliveryLineItem__c

  • orders__OrderLineItem__c

  • orders__Delivery__c

resultPrice

String

Yes

The resultObject field to store drilled-down prices from the parent record. See the Available Field Formats.

Result Object Dependency

baseObject

resultObject

orders__DeliveryLineItem__c

orders__OrderLineItem__c

orders__Delivery__c

orders__Order__c

orders__DeliveryLineItem__c

orders__OrderLineItem__c

+

orders__Delivery__c

+

orders__Order__c

+

+

+

Example

Standard Drill-down Step:

Click to view
{
    "type": "drillDown",
    "baseObject": "orders__Order__c",
    "basePrice": "orders__CustomerDiscount__c",
    "result": [
        {
            "resultObject": "orders__Delivery__c",
            "resultPrice": "orders__CustomerDiscount__c"
        },
        {
            "resultObject": "orders__OrderLineItem__c",
            "resultPrice": "orders__CustomerDiscount__c"
        },
        {
            "resultObject": "orders__DeliveryLineItem__c",
            "resultPrice": "orders__CustomerDiscount__c"
        }
    ]
}
``