Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
FlowElementTestCoverage
Supported SOAP Calls
query(), delete(), retrieve(), update()
Supported REST HTTP Methods
GET, HEAD
Fields
| Field | Details |
|---|---|
| ElementName |
|
| FlowTestCoverageId |
|
| FlowVersionId |
|
Usage
FlowElementTestCoverage records are deleted when changes are saved to the associated flow version.
Sample Queries
Get the executed elements that were executed by any test
1SELECT Id, Elementname, FlowTestCoverageId
2FROM FlowElementTestCoverage
3WHERE FlowVersionId='301RM0000004GiK'Get the number of elements that were executed by any test
1SELECT count_distinct(ElementName)
2FROM FlowElementTestCoverage
3WHERE FlowVersionId='301RM0000004GiK'Get the names of the elements that were executed by any test
1SELECT ElementName, count(Id)
2FROM FlowElementTestCoverage
3WHERE FlowVersionId='301RM0000004GiK'
4GROUP BY ElementName