Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Cant understand relationship between vRO interface and vCenter extension workflow launch

$
0
0

Hey guys,

 

I have been banging my head for the last week days trying to solve this mystery, after searching around for a while i am still at ground 0.

 

Here is what I am trying to accomplish:

 

 

1) I have created a scheduled task that pulls all the tags and stores them in the attributes under elements, bypass PowerCLI querying during the presentation.

2 )Dynamic workflow that allows the selection of certain tag category's in an string array.

3) Based on domain selected via string array i am wanting it to output DataCenter associated with that domain. Ex: You select domain1.net and you get DataCenter 1 /2 | You select domain2.net and get DataCenter 3 / 4.

4) Information gets passed to another action which takes the DataCenter name and matches it against cluster names to decide vCenter names and elements to point to - Elements based on vCenter names

5) Information gets collected from the elements attribute that #4 collects.


Presentation Screen:


1) All blank choices

2) User Selects Domain

3) Based on domain DataCenter choices gets populated

4) Based on Cluster from DataCenter chosen Tags get presented. In this example i am only collecting tags with the category "VM Owner"


String(Array with domains approved) ---> Action that converts it to the DataCenter based on Domain --> Tags get shown in a array format based on cluster matches (Which ultimately is just my way of point to various vCenters)


My Issue:

 

While trying a lot of different variations and approaches I am able to get somethings working in the presentation mode but i am unable to figure out my missing piece of the puzzle. Default domain displayed:

Default Presentation.PNGBlank Tags.PNG

Chosen DataCenter:

Chosen DataCenter.PNGTagShown.PNG

When it switch it to another domain that has no associated vCenter or Tag associated with it, i get the following:

Another Domain.PNG

It seems that when i do not choose a DataCenter the tag field turns into a writable string. When ran it goes about its business just fine. I have tried various methods like If (DataCenter.length > 0 || DataCenter != null) {Do this} else {return blank array} without any luck. Done step by step debugging to see what it looks like in logs, although i have to admin i am still learning this aspect's setup.

 

I am sure this is a simple fix but after a while at looking at this puzzle and i cant seem to find the solution.

 

Any help is appreciated:

 

 

 



Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>