<?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: ONTAP API calls within a WFA function in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAP-API-calls-within-a-WFA-function/m-p/65969#M13721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WFA can support incrementing names based on the data available in the cache.&amp;nbsp; It is pretty easy to go in and find the last volume created of a naming pattern and then using MVEL functions increment the name.&amp;nbsp; This could be done by modifying the Find CM Volume finder and then returning the highest number.&amp;nbsp; Once you have the value, then use the nextNamePadded function to increment the name.&amp;nbsp; This will eliminate the need to check at runtime and move the calculation into the planning phase.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 21:35:16 GMT</pubDate>
    <dc:creator>goodrum</dc:creator>
    <dc:date>2012-08-30T21:35:16Z</dc:date>
    <item>
      <title>ONTAP API calls within a WFA function</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAP-API-calls-within-a-WFA-function/m-p/65956#M13716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way we can call ONTAP zapis from a WFA function?&lt;/P&gt;&lt;P&gt;Following is my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I have a workflow to create a destination volume and then create a SM relationship between specified source and destination volumes.&lt;/P&gt;&lt;P&gt;- I am using Create CM Volume command, where the name of the volume is constructed&amp;nbsp; inside the FindCharts by means of a Finder variables and a few input variables.&lt;/P&gt;&lt;P&gt;- I wrote a powershell function inside the Create CM Volume command which takes care of choosing a unique name for volume. It appends/increments the number in the end of the volume and checks for its existence on the ONTAP.&lt;/P&gt;&lt;P&gt;- But I cannot use the new constructed name in the next command for creating the relationship, since that data lies within the Create CM Volume command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if there is a way to make zapi calls from within the function, then I can shift the logic of construction unique volume names from powershell command functions to MVEL WFA functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dhrumin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:21:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAP-API-calls-within-a-WFA-function/m-p/65956#M13716</guid>
      <dc:creator>dhrumins</dc:creator>
      <dc:date>2025-06-05T06:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP API calls within a WFA function</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAP-API-calls-within-a-WFA-function/m-p/65961#M13718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dhrumin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No. It is not possible. MVEL functions are resolved and calculated during the planning while forming the execution plan.&lt;/P&gt;&lt;P&gt;Once the planning is done, we have just our command executing the finite calculated execution plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaron Haimsohn&lt;/P&gt;&lt;P&gt;WFA Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 20:07:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAP-API-calls-within-a-WFA-function/m-p/65961#M13718</guid>
      <dc:creator>yaronh</dc:creator>
      <dc:date>2012-08-09T20:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP API calls within a WFA function</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAP-API-calls-within-a-WFA-function/m-p/65969#M13721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WFA can support incrementing names based on the data available in the cache.&amp;nbsp; It is pretty easy to go in and find the last volume created of a naming pattern and then using MVEL functions increment the name.&amp;nbsp; This could be done by modifying the Find CM Volume finder and then returning the highest number.&amp;nbsp; Once you have the value, then use the nextNamePadded function to increment the name.&amp;nbsp; This will eliminate the need to check at runtime and move the calculation into the planning phase.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 21:35:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ONTAP-API-calls-within-a-WFA-function/m-p/65969#M13721</guid>
      <dc:creator>goodrum</dc:creator>
      <dc:date>2012-08-30T21:35:16Z</dc:date>
    </item>
  </channel>
</rss>

