<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Slow WFA getAllWorkflows WSDL SOAP command in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122906#M22069</link>
    <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/8030"&gt;@francoisbnc﻿&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/50112"&gt;@dkorns﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its takes some time to return all workflows, but I've not seen it taking more than 360 seconds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/50112"&gt;@dkorns﻿&lt;/a&gt;&amp;nbsp;suggest making a category for your workflows will speed up the filtering. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WSDL has a method&amp;nbsp;getAllWorkflowsByCategories() to get this for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try it and let me know how this worked for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2016 08:46:53 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2016-09-05T08:46:53Z</dc:date>
    <item>
      <title>Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122765#M22049</link>
      <description>&lt;P&gt;I experience very slow query when executing getAllWorkflows() on WFA 4.0. timeout is around 360 secondes to work.&lt;/P&gt;&lt;P&gt;Server is not overloaded. 4 vCPU 16GB Ram.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If &amp;nbsp;anyone suffer the same, I would happy to share a discussion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:17:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122765#M22049</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2025-06-04T19:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122856#M22063</link>
      <description>&lt;P&gt;I've seen something similar, not using WDSL/SOAP, but using&amp;nbsp;the REST interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;http://&amp;lt;wfaserver&amp;gt;/rest/workflows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can take a long time ... I've seen it take longer but on my lab system just now with about 81 total workflows this took about 20 seconds and returned over 13,000 lines of XML ... on a WFA Win2012 server running with 2-cores and 4GB memory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However,&amp;nbsp;if you just access a category (group)&amp;nbsp;of workflows you want returned (or use an existing Category like 'Setup', 'Migration', etc) you speed it up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;http://wfaserver/rest/workflows?categories=XYZ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE-1 : try &lt;STRONG&gt;?categories=Setup&lt;/STRONG&gt; to test an existing category&lt;/P&gt;&lt;P&gt;NOTE-2 : the category names are case sensitive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if/how this translates to WDSL/SOAP&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 19:47:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122856#M22063</guid>
      <dc:creator>dkorns</dc:creator>
      <dc:date>2016-09-02T19:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122905#M22068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use getallworkflowsbycategories() to limit the search scope and that effectively speed up the job.&lt;/P&gt;&lt;P&gt;But the idea was to retreive the id of any workflows and I don't know in which categorie the workflow is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 08:22:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122905#M22068</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2016-09-05T08:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122906#M22069</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/8030"&gt;@francoisbnc﻿&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/50112"&gt;@dkorns﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its takes some time to return all workflows, but I've not seen it taking more than 360 seconds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/50112"&gt;@dkorns﻿&lt;/a&gt;&amp;nbsp;suggest making a category for your workflows will speed up the filtering. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WSDL has a method&amp;nbsp;getAllWorkflowsByCategories() to get this for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try it and let me know how this worked for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 08:46:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122906#M22069</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-09-05T08:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122910#M22071</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/9704"&gt;@sinhaa﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I would like search workflow id to use in&amp;nbsp;&lt;SPAN&gt;runWorkflow() &amp;nbsp;command used later. I don't know necessarily&amp;nbsp;where &amp;nbsp;the workflow is located.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So for the moment I created a temporary hash table workflow name /workflow id, because I had to wait 5 minutes for getallworkflows() command finish.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 09:21:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122910#M22071</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2016-09-05T09:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122918#M22074</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/8030"&gt;@francoisbnc﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I have something that will help you..&amp;nbsp;lets see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I can assume that the list of workflows and their IDs are not dynamically changing. Nor a new set of workflows get added too frequently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. So during every execution, you don't need to get the list of all workflows, then find your concerned workflow and get its ID and then call runWorkflow(id) to execute it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets create a new DataSource to acquire the list of workflownames and their IDs. Acquistion happens on its own defined frequency and due to point (1), this DB will be fairly up to date. The data that you need can easily be fetched using a filter for a given workflow name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This method will save your all the time the client was waiting for API response to fetch all workflows and computing their IDs. Take advantage of caching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm making a sample code right now to elaborate this, will post its done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 14:21:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122918#M22074</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-09-05T14:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122947#M22084</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/8030"&gt;@francoisbnc﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the dar with a Data Source Type ( Importable on a WFA4.0) &amp;nbsp;to get All workflows and their IDs that can be used by runWorkflow()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Modify your client to execute an SQL query using the default built-in DB credentials wfa/Wfa123 to get the workflow ID for any workflow you want to execute. The Query execution is lightning speed compared to REST API execution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Now you have your ID, do what you were already doing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 09:17:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122947#M22084</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-09-09T09:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122991#M22090</link>
      <description>&lt;P&gt;Thanks a lot for your job, I really appreciated&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 09:11:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/122991#M22090</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2016-09-07T09:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Slow WFA getAllWorkflows WSDL SOAP command</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/123102#M22106</link>
      <description>&lt;P&gt;Updated the Data Source type script to include workflow UUID. WSDL soap APIS need workflow-id but REST APIs need workflow-uuid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also given a DataSource image file to help how to add a data Source for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 09:20:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Slow-WFA-getAllWorkflows-WSDL-SOAP-command/m-p/123102#M22106</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-09-09T09:20:43Z</dc:date>
    </item>
  </channel>
</rss>

