VMware Cloud Community
VinnieP
Contributor
Contributor
Jump to solution

Workflwo Output/Result Presentation

Hello,

Quite a newcomer to the vco world.

Here is my newbie question: is it possible with vco to create some sort of interactive workflows, or to put it differently to Present the workflow's result or output to the user ?

For example, let's say I want to create a workflow that

1- moves all VMS from an ESX

2 - Put the ESX in Maintenance mode.

3 - Display some sort of result, lets' say

     -a confirmation that the esx is in maintenance mode

     -a confirmation that all VMs respond to ping

     - or which esx the vindividual vms were migrated to.

How would I achieve this 3rd step?  I understand we can use the Presentation for organising the input parameters in a kind of form, but is there a way to Present Output parameters in the same (or another form) once the workflow is complete.

many thanks in advance for your answers.

V

0 Kudos
1 Solution

Accepted Solutions
cdecanini_
VMware Employee
VMware Employee
Jump to solution

You add a user interaction element in your schema from the palette on the left. You set the external attributes of the configuration elements and you set in the presentation tab of the user interaction these attribute to have a default value of the attributes you want to display.

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 vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter

View solution in original post

0 Kudos
5 Replies
iiliev
VMware Employee
VMware Employee
Jump to solution

You can use a combination of nested workflow(s) to perform the first two steps and user interaction to display confirmation result in the 3rd step.

Hope this helps.

0 Kudos
VinnieP
Contributor
Contributor
Jump to solution

Hello,

Thank you for your answer, but my problem is that I don't know how to display results.

I didn't find the feature to do that. Could you give more details about how to achieve this ?

Thx,

0 Kudos
iiliev
VMware Employee
VMware Employee
Jump to solution

Take a look how it is done in the workflow 'Import a certificate from URL' (in Library\Configuration\SSL Trust Manager).

The basic idea is that you collect the results from the nested workflow executions you want to display in one or more attributes, and in the user interaction node you bind these attributes as interaction's external inputs.

0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

You add a user interaction element in your schema from the palette on the left. You set the external attributes of the configuration elements and you set in the presentation tab of the user interaction these attribute to have a default value of the attributes you want to display.

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 vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
VinnieP
Contributor
Contributor
Jump to solution

This is what I'd missed ! Smiley Happy
thx !

0 Kudos