Active IQ Unified Manager Discussions

confirmation box on deletion volume

wdiana
2,506 Views

Hi All,

We would like the user to confirm the correct volume before we actually delete the volume.

Now the volume is just deleted without a notice like are you sure you want to delete this volume.

Does anyone know if this is possible and how.

Regards,

Diana

2 REPLIES 2

madden
2,506 Views

Hi Diana,

You can make an input field where a user must type YES or type the name of the volume (perhaps after they selected the same from a drop down for example) as confirmation.  You could also have the delete not actually delete but remove shares and then rename the volume to something like "deleted_20140313_volname".  Then have another workflow that is run periodically that finds these "to-be" deleted volumes and actually deletes all volumes that are older than X days.  A colleague of mine did this 2nd technique recently for a customer.

Thanks,
Chris Madden
Storage Architect, NetApp EMEA

sinhaa
2,506 Views

Diana,

      If confirmation before command execution is what you are looking for, why don't you use the WFA's Approval point feature. It will do exactly what to you require.

Example: You can add an Approval Point before this "Delete Volume" command

Provide a Approval Comment like "The volume being deleted is: "+ $VolumeName

Upon Execution, this Approval point comment will be available to the user at Execution Status . Now he/she will have choice to Approve and Proceed with execution or Reject and Abort.

I think WFA developer's Guide will have details about using Approval Points in workflows.

If not, send me a mail at sinhaa at netapp dot com and I'll guide you how to use it. Its easy.

warm regards,

sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public