Using a FindChart to delete a Vserver only if no non-root volumes remain?

by New Contributor on ‎2013-05-08 11:55 AM

Greetings WFA Gurus,

I request your advice and assistance on using a FindChart or some other mechanism to delete a Vserver only if there are no non-root volumes left assigned to the Vserver.

My goal is to have a workflow that cleans up unwanted volumes and Vservers several days after the unwanted volumes are unmounted and offlined.

  • I've created a Workflow (attached) that deletes the specified volume from the specified Vserver and then deletes the Vserver.
  • I created a Finder that finds non-root volumes other than the one specified and I created a FindChart that defines a variable called NonRootVolumes.
  • In the "Remove CM Vserver" command, I'm trying to figure out how to use the "Advanced" tab to "Execute this command" only if there are no remaining NonRootVolumes._found, but there is only a "Only if the following expression if TRUE" option in the pull-down list. 

How can I negate the _found variable?  I tried using "!" and "NOT", but nothing seems to work for negating the true to false.

Thanks in advance for any advice you can provide!

Warning!

This NetApp Community is public and open website that is indexed by search engines such as Google. Participation in the NetApp Community is voluntary. All content posted on the NetApp Community is publicly viewable and available. This includes the rich text editor which is not encrypted for https.

In accordance to our Code of Conduct and Community Terms of Use DO NOT post or attach the following:

  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information
  • Copyrighted materials without the permission of the copyright owner

Files and content that do not abide by the Community Terms of Use or Code of Conduct will be removed. Continued non-compliance may result in NetApp Community account restrictions or termination.