sObject type 'FlowTestCoverage' is not supported
I am trying to run a query in the Developer Console to find the test coverage for a particular Flow I have created. However, I am getting the error:
sObject type 'FlowTestCoverage' is not supported
Does anyone know how I can find my test class coverage or is I am doing something wrong?
Query:
SELECT Id, ApexTestClassId, TestMethodName, FlowVersionId, NumElementsCovered, NumElementsNotCovered
FROM FlowTestCoverage
WHERE flowversionid='3001C000000Tta4'
code-coverage visual-workflow
add a comment |
I am trying to run a query in the Developer Console to find the test coverage for a particular Flow I have created. However, I am getting the error:
sObject type 'FlowTestCoverage' is not supported
Does anyone know how I can find my test class coverage or is I am doing something wrong?
Query:
SELECT Id, ApexTestClassId, TestMethodName, FlowVersionId, NumElementsCovered, NumElementsNotCovered
FROM FlowTestCoverage
WHERE flowversionid='3001C000000Tta4'
code-coverage visual-workflow
add a comment |
I am trying to run a query in the Developer Console to find the test coverage for a particular Flow I have created. However, I am getting the error:
sObject type 'FlowTestCoverage' is not supported
Does anyone know how I can find my test class coverage or is I am doing something wrong?
Query:
SELECT Id, ApexTestClassId, TestMethodName, FlowVersionId, NumElementsCovered, NumElementsNotCovered
FROM FlowTestCoverage
WHERE flowversionid='3001C000000Tta4'
code-coverage visual-workflow
I am trying to run a query in the Developer Console to find the test coverage for a particular Flow I have created. However, I am getting the error:
sObject type 'FlowTestCoverage' is not supported
Does anyone know how I can find my test class coverage or is I am doing something wrong?
Query:
SELECT Id, ApexTestClassId, TestMethodName, FlowVersionId, NumElementsCovered, NumElementsNotCovered
FROM FlowTestCoverage
WHERE flowversionid='3001C000000Tta4'
code-coverage visual-workflow
code-coverage visual-workflow
edited 3 hours ago
Jayant Das
15.8k2824
15.8k2824
asked 4 hours ago
J. NeilanJ. Neilan
5882626
5882626
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
FlowTestCoverage
is part of Tooling API. If running from Query Editor in Developer Console, you need to enable Use Tooling API
option in the Query Editor in Developer Console (option available besides Execute button, screenshot below).
Thanks. I did check that, but I don't get any rows in my results, nor do I get any errors below my query.
– J. Neilan
3 hours ago
You will need to verify if the records do exist or not. But the root cause of the error that you received was because of the option not being checked.
– Jayant Das
3 hours ago
Do you know if only Autolaunched Flows require test coverage, or all Flows?
– J. Neilan
3 hours ago
Seems to include all, you can find more details on the release notes.
– Jayant Das
3 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "459"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f251957%2fsobject-type-flowtestcoverage-is-not-supported%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
FlowTestCoverage
is part of Tooling API. If running from Query Editor in Developer Console, you need to enable Use Tooling API
option in the Query Editor in Developer Console (option available besides Execute button, screenshot below).
Thanks. I did check that, but I don't get any rows in my results, nor do I get any errors below my query.
– J. Neilan
3 hours ago
You will need to verify if the records do exist or not. But the root cause of the error that you received was because of the option not being checked.
– Jayant Das
3 hours ago
Do you know if only Autolaunched Flows require test coverage, or all Flows?
– J. Neilan
3 hours ago
Seems to include all, you can find more details on the release notes.
– Jayant Das
3 hours ago
add a comment |
FlowTestCoverage
is part of Tooling API. If running from Query Editor in Developer Console, you need to enable Use Tooling API
option in the Query Editor in Developer Console (option available besides Execute button, screenshot below).
Thanks. I did check that, but I don't get any rows in my results, nor do I get any errors below my query.
– J. Neilan
3 hours ago
You will need to verify if the records do exist or not. But the root cause of the error that you received was because of the option not being checked.
– Jayant Das
3 hours ago
Do you know if only Autolaunched Flows require test coverage, or all Flows?
– J. Neilan
3 hours ago
Seems to include all, you can find more details on the release notes.
– Jayant Das
3 hours ago
add a comment |
FlowTestCoverage
is part of Tooling API. If running from Query Editor in Developer Console, you need to enable Use Tooling API
option in the Query Editor in Developer Console (option available besides Execute button, screenshot below).
FlowTestCoverage
is part of Tooling API. If running from Query Editor in Developer Console, you need to enable Use Tooling API
option in the Query Editor in Developer Console (option available besides Execute button, screenshot below).
answered 4 hours ago
Jayant DasJayant Das
15.8k2824
15.8k2824
Thanks. I did check that, but I don't get any rows in my results, nor do I get any errors below my query.
– J. Neilan
3 hours ago
You will need to verify if the records do exist or not. But the root cause of the error that you received was because of the option not being checked.
– Jayant Das
3 hours ago
Do you know if only Autolaunched Flows require test coverage, or all Flows?
– J. Neilan
3 hours ago
Seems to include all, you can find more details on the release notes.
– Jayant Das
3 hours ago
add a comment |
Thanks. I did check that, but I don't get any rows in my results, nor do I get any errors below my query.
– J. Neilan
3 hours ago
You will need to verify if the records do exist or not. But the root cause of the error that you received was because of the option not being checked.
– Jayant Das
3 hours ago
Do you know if only Autolaunched Flows require test coverage, or all Flows?
– J. Neilan
3 hours ago
Seems to include all, you can find more details on the release notes.
– Jayant Das
3 hours ago
Thanks. I did check that, but I don't get any rows in my results, nor do I get any errors below my query.
– J. Neilan
3 hours ago
Thanks. I did check that, but I don't get any rows in my results, nor do I get any errors below my query.
– J. Neilan
3 hours ago
You will need to verify if the records do exist or not. But the root cause of the error that you received was because of the option not being checked.
– Jayant Das
3 hours ago
You will need to verify if the records do exist or not. But the root cause of the error that you received was because of the option not being checked.
– Jayant Das
3 hours ago
Do you know if only Autolaunched Flows require test coverage, or all Flows?
– J. Neilan
3 hours ago
Do you know if only Autolaunched Flows require test coverage, or all Flows?
– J. Neilan
3 hours ago
Seems to include all, you can find more details on the release notes.
– Jayant Das
3 hours ago
Seems to include all, you can find more details on the release notes.
– Jayant Das
3 hours ago
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f251957%2fsobject-type-flowtestcoverage-is-not-supported%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown