nerdexam
Salesforce

PDI · Question #14

How can a developer check the test coverage of active Process Builder and Flows deploying them in a Changing Set?

The correct answer is D. Use SOQL and the Tooling API. To check the test coverage of active Process Builder and Flows, a developer can use SOQL queries against the Tooling API.

Submitted by obi.ng· Apr 18, 2026Testing, Debugging, and Deployment

Question

How can a developer check the test coverage of active Process Builder and Flows deploying them in a Changing Set?

Options

  • AUse the Flow properties page.
  • BUse the code Coverage Setup page
  • CUse the Apex testresult class
  • DUse SOQL and the Tooling API

How the community answered

(37 responses)
  • A
    14% (5)
  • B
    3% (1)
  • C
    8% (3)
  • D
    76% (28)

Why each option

To check the test coverage of active Process Builder and Flows, a developer can use SOQL queries against the Tooling API.

AUse the Flow properties page.

The Flow properties page displays general metadata and configuration for a flow, but it does not provide information about test coverage.

BUse the code Coverage Setup page

The 'Code Coverage Setup page' primarily displays Apex code coverage and does not directly show coverage for declarative automations like Process Builder or Flows.

CUse the Apex testresult class

The `ApexTestResult` class is used to inspect results of Apex test runs and code coverage for Apex, not specifically for the coverage of Flows or Process Builders.

DUse SOQL and the Tooling APICorrect

The Salesforce Tooling API provides programmatic access to metadata, including objects like `FlowCoverage` and `FlowTestResult`, which can be queried using SOQL to retrieve detailed test coverage metrics for Flows and Process Builders.

Concept tested: Checking Flow and Process Builder test coverage (Tooling API)

Source: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_flowtestresult.htm

Topics

#Test Coverage#Deployment#Tooling API#Flows

Community Discussion

No community discussion yet for this question.

Full PDI Practice