I've got a use case where I think this may be one way to solve it, although there may be another way I'm not seeing yet. Here's the use case:
I want to create a single NFS share (volume/qtree combo) in the selected resource pool and export it from the selected vfiler.
Aside from the standard inputs like volume name, size, etc. I ask what resource pool they want to provision the storage to. This was answered already by using a specific query and I'm able to present a drop down list of all available resource pools. However, all of our controllers have multiple vfilers and I'd also like to present a drop down list of the vfilers that exist on the controller that is ultimately selected as the resource. This is where I'm stuck -- I can't present a list of vfilers to choose from at the same time I present the list of resource pools to choose from because the physical resource hasn't yet been determined by OnCommand.
I thought maybe if I did the vfiler selection in a subsequent row this might work but I'm not seeing that happen. The Add Volume to Vfiler command appears to have the necessary information otherwise WFA wouldn't know what controller to connect to add the volume to the vfiler. I just need some way for this command to ask the user which vfiler he wants to use in a drop down list.
I'll play around with the command to see if this is possible rather than trying to figure out how to call another flow. Thanks!