Hello there
Thanks for all what you're doing in this community, I got so much help here to use vCO.
I am trying to create some workflow that based in the decision of the user it calls another workflow. In other words the user has to chose between two choices (= two workflows to run).
Here is picture that shows what I am trying to do.
If the user said "Linux" for example, it is gonna be the workflow of "create linux VMs with single nic from template" that would be run, if the user said windows it is gonna be the other workflow that would be run.
So my questions are :
Is there any other method more simple ?
How can I use the "custom decision" so that the user had to answer a question before starting to fill the parameters of the workflows ? what should it have in the "in parameters" ?
Thanks!
If you need different inputs for the 2 workflows to appear just for one choice of the operating System you can edit the field presentation property and use the Show / Hide property and set it to #operatingSystem == "Windows"
You will typically create a string workflow input "operatingSystem" and set in the presentation tab a property "Predefined answers" set with Linux and Windows string then use this as the input of your custom decision and do
if (operatingSystem == "Linux") return true;
Thank you!
That's exactly what I was trying to do but the problem is that I don't know how to seperate the "operatingSystem' input from the inputs of the other two workflows. When I run my workflow what appears is the window with all the inputs to be filled, but What I am trying to do is having two windows that would appear, one so that the user can choose what operatingSystems he wants and based on this choice another window with the inputs of (Linx workflows or Windows workflow) would appear. I don't know if it is possible to process like this ?
If you need different inputs for the 2 workflows to appear just for one choice of the operating System you can edit the field presentation property and use the Show / Hide property and set it to #operatingSystem == "Windows"