VMware {code} Community
beckk
Contributor
Contributor

User Interaction

Hello

I'm new to vCO and need a workflow with user interaction,

For example two selectboxes where the values of selbox2 are dependend of the selection of selbox1

Is there a way to make that?

and how can I get the selected values in the following scripting task??

Kind Regards

klaus

0 Kudos
10 Replies
beckk
Contributor
Contributor

so, I have found the way to create one selectbox (Selbox1)

with an "external inputs" param (type: string)

which has the properties in the presentation (predefined list of elements => Array/string)

but how can I create a dependend Selectbox

eg:

if value of Selbox1 is A => values of Selbox2 are A1 and A2 or

if value of Selbox1 is B => values of Selbox2 are B1 and B2

and so on??

Kind Regards

klaus

0 Kudos
tschoergez
Leadership
Leadership

Hi!

You have to create an action, which implements your planned logic.

Then you can add a property to Selbox2 with "Predefined values" and select the action to be called to "fill" these predefined values.

Cheers,

joerg

0 Kudos
Andreas_Diemer
Enthusiast
Enthusiast

Hi Klaus,

as Tschoergez mentioned you have to use an action to filter the second box. I've attached a little example to show you how it works. The main Workflow is empty, look at the presentation tab where the definition is done.

I've explained this on

regards, Andreas

-


Don't forget: if the answers help, award points

------ for correct and / or useful answers please award points visit http://www.vcoteam.info & http://mighty-virtualization.blogspot.com
beckk
Contributor
Contributor

Hello

thank your for this tips,

I have tried it and it works as needed 🐵

Kind Regards

klaus

0 Kudos
Andreas_Diemer
Enthusiast
Enthusiast

Hi Klaus,

good to hear that everything works.

Don't forget to award points for useful / helpful answers Smiley Wink

Regards,

------ for correct and / or useful answers please award points visit http://www.vcoteam.info & http://mighty-virtualization.blogspot.com
0 Kudos
beckk
Contributor
Contributor

ok, I have done it

kind regards

klaus

0 Kudos
Andreas_Diemer
Enthusiast
Enthusiast

Hi Klaus,

is your question answered or possible answered?

-


don't forget: award points to helpful answers

Regards,

------ for correct and / or useful answers please award points visit http://www.vcoteam.info & http://mighty-virtualization.blogspot.com
0 Kudos
beckk
Contributor
Contributor

hello

is answered

but have you got some ideas for helpful books or pages

which can support me at developing Orchestrator workflows?

kind regards

klaus

0 Kudos
Andreas_Diemer
Enthusiast
Enthusiast

Hi Klaus,

Book - i don't know - I use developers guide, VCO API explorer, this community and following links:

http://communities.vmware.com/community/vmtn/mgmt/orchestrator

http://www.vcoteam.info (by RSS)

http://mighty-virtualization.blogspot.com (by Twitter)

For common tasks there are a lot of workflows from project - but I can not publish them as package, sorry. If there is a matching question, i will copy the code part, change it a little bit and post it.

Ask community or add comment / question on http://mighty-virtualization.blogspot.com, and we look or prog for a solution Smiley Happy

-


Regards,

don't forget: award points to helpful answers

visit http://www.vcoteam.info

update link

------ for correct and / or useful answers please award points visit http://www.vcoteam.info & http://mighty-virtualization.blogspot.com
beckk
Contributor
Contributor

thx

kind regards

klaus

0 Kudos