To use this function add it to the class library file named PluginAVIService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: PluginAVIService.ts
Description: Orchestrator Function to Start an AVI Workflow.
Public Function: WorkflowStart
publicWorkflowStart(strControllerFQDN:string):AviWorkflowRuntime{
letobjAviVroClient:AviVroClient=this.AviVroClientGetByController(strControllerFQDN);
letobjWorkflow:Workflow=newWorkflow();
letobjAviWorkflowRuntime:AviWorkflowRuntime=newAviWorkflowRuntime();
objAviWorkflowRuntime.setAviVroClient(objAviVroClient);
objAviWorkflowRuntime.setWorkflowId(objWorkflow.id);
returnobjAviWorkflowRuntime;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
