I can't understand the point of that. What does it mean if a user selects a VM, does not confirm he is sure and submits the request? You do nothing?
IMHO by pressing the Submit button the user confirms he is "sure" of the input provided.
What you described can be done, I just think this is unnecessary.
The confirmation will trigger a decommission process, so its basically an "Are you sure?" prompt.
In XaaS you invoke a vRO workflow. Define a boolean input for the workflow and in the XaaS blueprint designer drag it onto the Request form.
In the vRO workflow use the decision element and assign the input variable to it to decide based on the user's selection.
Custom Forms are different in ASD, there you'll need to use custom properties to access user input.
Hi Xian. Thanks for the advice. I think I follow you.
Here's an example of the vRO decision I've created which I believe is correct. If Yes is selected I can continue on to a decommissioning workflow.
I'm a little less sure on the vRA side.
I've published the above workflow in vRA and dragged it on to the canvas;
Edited the custom form and made the visibility of the decision wf conditional on input in to the VM selection (all very basic atm).
Ideally I'd like the VM input to be of type VC:VirtualMachine, and once selected pull back and display properties of it to the user prior to confirmation.
I don't fully understand your last comment regarding custom forms in ASD?
Any feedback on this and some general guidance on next steps would be appreciated.
When you say you "published the workflow in vRA" you mean you created an XaaS blueprint out of it (name: test_decision_1), right?
Then you added this to another blueprint via ASD (advanced service designer) - the designer with the canvas. I recommend to use the XaaS designer instead, as you want to run only this vRO workflow. It is easier then embed the whole thing in another blueprint.
Just add an input with type VC:VirtualMachine to your vRO workflow, and in XaaS designer drag it to the form, you'll be presented a tree picker if you request the XaaS blueprint.
Yes, that's correct. I'd published the XaaS blueprint, then dragged it on to the vra blueprint design canvas. I've not used the XaaS designer to date but see why I need to use it for this.
You've been a great help and put me on the correct course to get this working, so thanks very much!