VMware Cloud Community
tgarijo
Contributor
Contributor

javascript object

Hi, I'm new on vro and I've one question.

On Scriptable task I define a javascript object like:

 

var diskInfo = new Object();

 

 I can set a new attibute

 

diskInfo.diskNumber = diskNumber;

 

but I'd like set that object to output parameters and the next flow can get the object.

I hope I have explained well.

Best Regards

 

 

 

0 Kudos
2 Replies
xian_
Expert
Expert

I suggest to get some books or training as vRO is a complex engine.

Wrt. your question, check out this tutorial: vRO Deepdive Series Part 1 - Introduction - Steven Kang
Section "Output" should answer your question.

I recommend this book if you are unable to attend the official VMware training( VMware vRealize Automation: Orchestration and Extensibility [V8.1] )

 https://www.amazon.com/VMware-vRealize-Orchestrator-Essentials-Langenhan/dp/1785884247 

HTH

0 Kudos
tgarijo
Contributor
Contributor

Hi @xian_ 

Thank You so much, I'll see that and I hope it's works me.

0 Kudos