Last active
November 23, 2016 20:20
-
-
Save chelnak/0a6fb34302eac5446ba1424697807823 to your computer and use it in GitHub Desktop.
Update the vRO Workflow Associated with an XaaS Blueprint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| - 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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment