Hey guys,
I am wanting to know if this is a normal occurrence or if i need to change my strategy, since this is the first time i have done this any advice is appreciated. I know the speed wont be nearly as fast as running straight JavaScript but there are somethings i may want to select a choice based on running a powercli command. When i start a workflow with something simple as locating a cluster and choosing a host based on cluster selection the presentation box and information is available almost immediately. Where if i run a single action to get-tag information for names only and send that to the presentation screen it can take around 40-60 seconds just to appear. If i had to run several actions that use this script it could be painful (this list is about 50 names long). Is this the correct method of doing things? Am i doing something wrong that would result in much quicker results? Is there a way to cache this data and have it manually pull in increments?
One thing to note is that when I run the script before conversion at least on the .getHostOutput() it appears in around 15-20 seconds to the log screen.
I know my lack of comments in the code is bad, and i have a lot of logging. Just things i am using to verify the process and it will get cleaned up a lot before use.
Thanks guys!