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

3-Way Decision or Repeat Loop

$
0
0

I'm wondering how to do the following in vCO. in another vendor's orchestration product, this is rather simple to do.

 

Workflow Step = Run SSH Command

Error code is returned; 0 = success, move on the subsequent workflow step; 3 = failure - fail/exit workflow; other value = wait a bit and re-run SSH command.

 

I figure II could add a decision after the Run SSH Command and evaluate the errorCode returned for 0 (success) and all else results in failure path. Then I would add another decision on the failure path to again evaluate errorCode returned for 3 (failure path); but it isn't clear HOW TO link the success path back to the initial SSH Command. Setting a counter to only allow this to cycle x number of times (with a wait between cycles) further complicates.

 

Someone please tell me there's a prebuilt method to accomplish this.

 

Thanks.



Viewing all articles
Browse latest Browse all 6251

Trending Articles



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