Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Setting an attribute value with in a scriptable task

$
0
0

Hello VMware communities. My question is how do I set the value of an attribute from with-in a scriptable task? I've tried several different javascript functions(push, append, etc.) but they do not appear to work as expected. Let me explain a little more what I'm trying to do incase there is a better way to make this work. I have a plugin from my storage vendor for vCO that allows interaction between vCO and the storage array. With in vCO they have added some custom workflows(create a lun, extend a lun, map a lun, etc) To use the map a lun feature I need to pass to that workflow the WWPN of the ESXi host(s) I'm trying to map the lun to. I'm using a scriptable task to get the WWPN's from the vhba's(documented here:Convert portWorldWideName to HEX wwpn - wwn) but I believe I need to set the attribute value to allow it to be passed to the map a lun workflow provided by my vendor after my script task executes. Can some one comment on how I can set the attribute or if I'm going about this all wrong? Thanks!


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>