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.