Update the vRO Workflow Associated with an XaaS Blueprint
/*
- Update the vRO Workflow Associated with an XaaS Blueprint
- Input: vCACCAFEHost [vCACCAFE:vCACHost]
- Input: blueprintId [String]
- Input: workflowId [String]
*/
var tenant = vCACCAFEHost.tenant;
var blueprintId = "8a219674-d083-43dd-938f-f14297082ec9";
var workflowId = "456c586c-a5f6-4371-a509-28eb90ee8714";
var client = vCACCAFEHost.createAdvancedDesignerClient();
var serviceBlueprintService = client.getAdvancedDesignerServiceBlueprintService();
var serviceBlueprint = serviceBlueprintService.getServiceBlueprint(tenant, blueprintId);
serviceBlueprint.setWorkflowId(workflowId);
serviceBlueprintService.updateServiceBlueprint(tenant, serviceBlueprint);