Loading

DPE definition activation fails with generic "errors or warnings" message

Дата публикации: Aug 11, 2026
Описание

When activating a Data Processing Engine (DPE) definition, the Builder UI may show only a generic message: "The definition has the following error: Your request has errors or warnings." This message does not indicate the actual problem, because the Builder's underlying controller does not surface the specific validation error to the screen.
One known cause of this failure: a datasource node includes a related-object field group (for example, a lookup from Gift Commitment to Opportunity) where only the Id field of the related object is selected. DPE requires at least one additional field beyond Id whenever a related-object field group is used — selecting only Id is not a valid configuration. This rule is enforced at activation time but not at save time, which is why the definition saves without error but consistently fails only when activated.

Решение

To find the real underlying error:

  1. Retrieve the DPE definition's BatchCalcJobDefinition metadata via the Metadata API (for example, using Workbench, subject to your org's access policies).
  2. Set its status to "Active" in the retrieved file and redeploy it as a Check-Only (validate-only) operation.
  3. This bypasses the Builder's generic error wrapper and returns the specific validation message, such as: "The fields field in the null BatchCalcJobDatasourceField type node has an issue: Select at least another [related object] related object field apart from the Id field and try again."

To fix a related-field-group issue like the one described above:

  1. Open the DPE Builder for the affected definition.
  2. Locate the datasource node with the related-object field group that only has the Id field selected.
  3. Add at least one more field from that related object.
  4. Save, then activate and confirm it succeeds.
Номер статьи базы знаний

005390911

 
Загрузка
Salesforce Help | Article