2014-02-24 06:30 AM
In a workflow with command remove volume, what is the best way to prevent the message below.
No results were found. The following filters have returned empty results:"
I tried to play with advanced tab "execute this command is following expression is TRUE"
Solved! SEE THE SOLUTION
2014-02-24 06:39 AM
Can you provide the following data:
What is your workflow doing?
What is the WFA version you are using?
Can you attach the workflow in your response?
Must be a very simple mistake in the way you have provided inputs to the filter.
2014-02-24 01:24 PM
A simple test workflow with certified commands --> volume remove and volume clone.
Yes I do, but the idea is simple, delete a cloned volume before cloned it again on the last snapshot.
I'm looking for a way to jump without error the first command, in my case volume delete, if volume doesn't exist.
Actually if volume is not present, workflow failed.
2014-02-24 04:28 PM
There are a couple ways of doing it.
The easiest, If you define a search for the Volume in the volume delete command first, you can choose "Disable this command" for the Delete Volume command if the Volume is not found. (it must be before the clone).
Another way if this method isn't working; You can use the <object_name>._found variable to optionally switch on or off a command based on if the object was found (in the same or other command).
You may need to use a No-Op command before hand to search for the volume separately.
2014-02-25 03:08 AM
I understood now, I didn't know "Disable this command" switch, so it's fixed for volume thx.
An other thing, if I want delete a snapshot and I'm not sure it exists. The "Remove Snapshot" command will fail if snapshot doesn't.
No-Op command will not help in this case.
Have I to create my own "Remove snapshot command" that not throw on error?
Thank for your help