Hi,
I would like to create a blueprint with a dynamic dropdownlist based on an external data (vco workflwlow , database, or other).
I think it's not possible, but can I, at least, create a vco workflow associated to an advanced service which could update the values of a property attribute ?
I didn't find this with the vcac plugin in vco.
Thanks for your help
Vcac version : 6.1
external vco version : 5.5.2.1
It is possible:
Create vCO actions to get the an array of strings from a querry to a DB (SQL plug-in), API (REST or SOAP),
Create a vCO workflow that has input parameters using these actions as presentation properties / predefined list of elements
In your workflow add the Request a catalog item" workflow as described in this article How to use and extend the workflow "Request a catalog item" from the vCAC plug-in for vCO
Add in your workflow the necessary input needed for this sub workflow.
Add this workflow in ASD.
That is the dream we all have that is just not possible currently. Now what I have done is I use the building workflowstub to perform all the logic processing that I need and from there I update the entity. Most of my logic scripts and workflows are dependent on what is done ahead of it. For example the first script of the stub will grab properties and do some logic and then update the virtual machine properties so when the second script runs the add or update properties are there and it can apply logic with the new values and so on. You will not be able to run scripts to apply value to a blueprint that has not been submitted but you can create custom properties with value expressions using xml files that will present logical steps that will be presented in the blue print. The first list might be datacenters and the next step OS and so on using the xml files with parent child relationships.
Really depend on what kind of logic you are doing and how many choices you want the user to have. I have a mixture of both and the building workflow stub processes information so I do not have to present as many questions in the blueprint
It is possible:
Create vCO actions to get the an array of strings from a querry to a DB (SQL plug-in), API (REST or SOAP),
Create a vCO workflow that has input parameters using these actions as presentation properties / predefined list of elements
In your workflow add the Request a catalog item" workflow as described in this article How to use and extend the workflow "Request a catalog item" from the vCAC plug-in for vCO
Add in your workflow the necessary input needed for this sub workflow.
Add this workflow in ASD.
Thanks for your answer.
The problem is that it is possible to do it with ASD but I'm talking about IaaS blueprint.
Perharps made ASD for building VM? But I like the way IaaS blueprint is doint it.
You can make your ASD service blueprint leverage your IaaS blueprint / IaaS lifecycle. You just need to run the workflow as in hte blog article I linked above.
This for sure require some work to copy / modify necessary input parameters but also allows any kind of customization / dynamic input presentation you may need.
Thanks,
I will try to do it this way.
It seems to be the solution.