VMware Cloud Community
acavali
Contributor
Contributor

Presentation for User Interaction

I have created a custom workflow for a user to be able to request a snapshot of their server. I want an admin though to interact and approve the snapshot.

So far, I have the flow working, but when it comes to the user interaction, I only get a blank box to click submit on. I want that box to say what the name of the snapshot is, etc... I realize that it is the presentation of the user interaction element that I need to modify, but I do not see any options to add values to the presentation area.

Please help! Smiley Happy

Reply
0 Kudos
4 Replies
Burke-
VMware Employee
VMware Employee

On your User Interaction box, you'll need to click on the External Inputs tab and add an attribute or two so that your user has some sort of input to respond to. For example, the attribute may be a boolean value named approveRequest with a default value of NO.

Next, while still having the "User Interaction" element selected, in the bottom pane, click on the Presentation tab. Here, you can adjust the Label for the "approveRequest' attribute that is being presented to show as "Approve Request?".

OPTIONAL:

You can also add a "Display Group" small orange rectangle in the toolbar. After adding the Display Group, you can:

  • drag the Display Group directly under the PRESENTATION (root of tree)

  • delete the "New Step" page that is shown.

  • drag your approveRequest variable and place it directly beneath your Display Group

  • Select the Display Group and then rename it to something like: "Approve Request"

  • In the bottom pane, click the General Tab and provide some descriptive text for your approver (IE: Instructions, extra procedures, etc...) The end result could be something along the lines of:

Visit me at for vCenter Orchestrator tips and tutorials Smiley Happy

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
acavali
Contributor
Contributor

Thank you for the response. It definitely helped me understand some of the steps I needed to take for the decision part.

The main thing I am looking to accomplish though is to present to the decision maker the name of the VM. I still do not see a way to present to the decision maker the name of the VM that is to be snapshoted. I want them to know the details of the request before they approve it.

Reply
0 Kudos
acavali
Contributor
Contributor

I am so close to getting this fully working. Can you please take a look at my response and see if you have a solution for me?

Thanks!

Reply
0 Kudos
Burke-
VMware Employee
VMware Employee

The input to your workflow is of type VirtualMachine, right.. lets assume you have named the input variable "vm". When you get to your User Interaction, you'll need to edit it and go to the "Attributes" tab in the bottom of the vCO Client while selecting the user interaction:

In the bottom tab, click the Add button next to the Red X to add an attribute to the user interaction. When prompted, choose your "vm" input variable. The result should appear similar to the screenshot above. You now have access to the VM object in your user interaction.

Next, click on the Presentation tab in the bottom pane and adjust the "Description" on the "General" tab of your Step or variable.. the description value can be set to something like: VM to Snapshot: ${#vm.name}

As you can see, we are simply displaying the "name" property of the VM object.

Visit me at http://www.vcoteam.info for vCenter Orchestrator tips and tutorials

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
Reply
0 Kudos