sObject type 'FlowTestCoverage' is not supportedCode Coverage not Displaying in Developer ConsoleIssue:...

How to make ice magic work from a scientific point of view?

What is the difference between rolling more dice versus fewer dice?

How should I handle players who ignore the session zero agreement?

Why do neural networks need so many training examples to perform?

Why avoid shared user accounts?

Words and Words with "ver-" Prefix

Early credit roll before the end of the film

How can I remove (non-trivial) duplicates from a VCF file?

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

What's a good word to describe a public place that looks like it wouldn't be rough?

How can I play a serial killer in a party of good PCs?

Why TEventArgs wasn't made contravariant in standard event pattern in the .NET ecosystem?

Avoid page break between paragraphs

Can you tell from a blurry photo if focus was too close or too far?

How do I append a character to the end of every line in an Excel cell?

What are "industrial chops"?

How much mayhem could I cause as a sentient fish?

What is the data structure of $@ in shell?

Can we harness gravitational potential energy?

Odd 74HCT1G125 behaviour

Making him into a bully (how to show mild violence)

Play Zip, Zap, Zop

Why is Agricola named as such?

When can a QA tester start his job?



sObject type 'FlowTestCoverage' is not supported


Code Coverage not Displaying in Developer ConsoleIssue: Salesforce UI, Developer Console and Eclipse IDE shows different code coverage for the same class. Is anyone experienced this?Incorrect code coverage in developer consoleIs there a way to identify classes that are short on test coverage?Flow - how to empty an sObject collectionFlow creating record for the wrong related recordTest Class run complete but no code coverageTest class passes all tests but reflects 0% coverageFlow sObject type 'OrgWideEmailAddress' is not supportedQuery for Coverage of Flow













1















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'









share|improve this question





























    1















    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'









    share|improve this question



























      1












      1








      1








      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'









      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 3 hours ago









      Jayant Das

      15.8k2824




      15.8k2824










      asked 3 hours ago









      J. NeilanJ. Neilan

      5882626




      5882626






















          1 Answer
          1






          active

          oldest

          votes


















          3














          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).



          enter image description here






          share|improve this answer
























          • 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
            2 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
            2 hours ago











          • Do you know if only Autolaunched Flows require test coverage, or all Flows?

            – J. Neilan
            2 hours ago











          • Seems to include all, you can find more details on the release notes.

            – Jayant Das
            2 hours ago











          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          3














          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).



          enter image description here






          share|improve this answer
























          • 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
            2 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
            2 hours ago











          • Do you know if only Autolaunched Flows require test coverage, or all Flows?

            – J. Neilan
            2 hours ago











          • Seems to include all, you can find more details on the release notes.

            – Jayant Das
            2 hours ago
















          3














          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).



          enter image description here






          share|improve this answer
























          • 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
            2 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
            2 hours ago











          • Do you know if only Autolaunched Flows require test coverage, or all Flows?

            – J. Neilan
            2 hours ago











          • Seems to include all, you can find more details on the release notes.

            – Jayant Das
            2 hours ago














          3












          3








          3







          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).



          enter image description here






          share|improve this answer













          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).



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 3 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
            2 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
            2 hours ago











          • Do you know if only Autolaunched Flows require test coverage, or all Flows?

            – J. Neilan
            2 hours ago











          • Seems to include all, you can find more details on the release notes.

            – Jayant Das
            2 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
            2 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
            2 hours ago











          • Do you know if only Autolaunched Flows require test coverage, or all Flows?

            – J. Neilan
            2 hours ago











          • Seems to include all, you can find more details on the release notes.

            – Jayant Das
            2 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
          2 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
          2 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
          2 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
          2 hours ago













          Do you know if only Autolaunched Flows require test coverage, or all Flows?

          – J. Neilan
          2 hours ago





          Do you know if only Autolaunched Flows require test coverage, or all Flows?

          – J. Neilan
          2 hours ago













          Seems to include all, you can find more details on the release notes.

          – Jayant Das
          2 hours ago





          Seems to include all, you can find more details on the release notes.

          – Jayant Das
          2 hours ago


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

          Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

          How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...