VMware Cloud Community
evil242
Enthusiast
Enthusiast

Detailed documentation on Input Parameters Presentation Tab

I've created a workflow using the Infoblox IPAM Driver for VMware vRA / vRO.  The workflow uses vRO Configurations and Extensible Attributes in Infoblox NIOS to find a list and return a list of hosts.

But in trying to get the Input Parameters to be more dynamic, I'd like the final confirmation screen to show the specific selected hostname from previous tab drop down list and the text input valid hostname (which I would like to be validated non-existent hostname).  I'm having a hard time finding good documentation and examples for presentation.  VMware documentation from
https://docs.vmware.com/en/vRealize-Orchestrator/7.5/com.vmware.vrealize.orchestrator-dev.doc/GUIDFA...

Doesn't give detailed information on what presentation property type provides.  Here's what I have so far:
Screen Shot 2020-10-26 at 6.09.31 PM.png

The ${hostName} only shows the top value of the list and not what is selected, and ${SingleAliasRef} shows "Not Set."

Any help or direction would be much appreciated.

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
0 Kudos
4 Replies
evil242
Enthusiast
Enthusiast

Ok figured out that you need '#' within the ${#variable} so in my case I needed

Please confirm you are ready to update ${#hostName} with alias ${#SingleAliasRef}

Last task is to get my entry of a hostname to run action to evaluate if it is an existing hostname and pattern match on our domain.

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
0 Kudos
evil242
Enthusiast
Enthusiast

So latest weirdness, in vRO I can get the final confirmation tab description to populate with previous answers:

Please confirm you are ready to update ${#dnsView}/${#hostName} with alias ${#SingleAliasRef}

But when I import into vRA as an XaaS Blueprint, the description comes across as:

Please confirm you are ready to update Not set/Not set with alias Not set

Does anyone know how to update an XaaS property entry description with current property variable answers?

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
0 Kudos
eoinbyrne
Expert
Expert

I've done this before & the way I did it was to add a new TextBox to the form which was ReadOnly and with the value computed by an Action in vRO (use the ExternalValue option on the Value attribute). You can pass in any fields from the form to compute and return the string you want to display

The problem you have encountered is that the vRO presentation is not fully respected by the XaaS form designer. In early 6.x it was but to be fair, the new form designer permits quite rich interactions between fields (e.g, conditional visibility, conditional mandatory status, etc.. You just need to have an action to do the computation you want.)

Note that having lots of Actions built into the form constraints can slow things down a little & also you can get some strange log traces (actions fired multiple times as the form is filled in)

0 Kudos
evil242
Enthusiast
Enthusiast

So basically, I need an action that takes the three parameters and returns the string I'm trying to build?  yaarggg.

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
0 Kudos