Data Infrastructure Management Software Articles and Resources

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

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!

Please Note:

All content posted on the NetApp Community is publicly searchable and viewable. Participation in the NetApp Community is voluntary.

In accordance with 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 (PII)
  • Copyrighted materials without the permission of the copyright owner

Continued non-compliance may result in NetApp Community account restrictions or termination.

All Community Forums
Public