Lukas,
As I said before, you need to understand the building blocks of a workflow and how it works. I'll try to help you here in as simple terms as I can.
@ But I'm still thinking, I know the Map Lun command wanted IP, but where am I supposed to find which command provides IP?
----
Its not any command that provides the IP, its the found resource for the command which can do it. And its not just the volume1 resource for the Create Volume command which can do it. You could have used lun1.array.ip from command Create Lun and it would work. Or igroup1.array.ip or nfs_export_datavol.array.ip or even lun1.volume.aggregate.array.ip
So how to decide which one would? For that you need to look at the dictionary objects and understand what they are. For example the dictionary item volume for scheme storage. A dictionary items can be seen as a table in a DB schema and every simgle row in WFA dictionary is equivalent to a column in a DB table. So if a volume resouce is found, it means a row in DB is found, I can now get any column value for this volume row.
A volume row also has column array which is referance object to an array dictionary i.e. to an array table. You can identify them easily, they have an (R) in front of them when you look at them in Resource selection.


So the found volume row, gets me the array row and from array row I can get the ip.
Similarly from the found igroup, I get get array and from that the ip. or from lun I get volume, from volume I get aggrgate, from aggregate I can get array and then from array I can get ip. So out of all the possibilities, you decide which one to pick.
@ Obviously I want user to enter either IP or hostname and WF should take care of it.
----
WFA can take care of anything, provided you tell it to do so. Its a very intelligent and also highy flexible framework. And thats why it doesn't assume anything. It will do just as you direct it. There is nothing obvious here.
sinhaa
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.