Hello everyone,
It's possible to view the schema running on browser? The same way when we view on vRO Client.
Please, only show me the way that I search.
I'm working with VMware Orchestrator 6.0
Cheers!!!
you can try
https://vcoip:8281/vco/api/workflows/{workflow-id}/schema
it should return .png image with the schema.
according the REST api docs it should be available since 5.5
see https://vcoip:8281/vco/api/docs/resource_Workflow%20Service.html
igaydajiev,
Thanks for try help me, but It's almost enough. This way, I can see only the image of workflow. My intention was see something like the image of workflow, but running.
My development team builded a frontend app to launch workflows without necessary enter in vCO Client. Now I would like to show the schema (the same way with vCO Client), but not only show the image... but the execution...
I guess it's not possible.
However, thank you very much.
The workflowToken has a saveSchemaImageToFile method that should return a live view of the running workflow. By calling it several time you can certainly display a close to live update of the workflow.
You could also experiment with showDetails=true parameter to workflow execution url (https://vco_ip:8281/vco/api/workflows/{workflow_id}/executions/{execution_id}/?showDetails=true
It will return addtional section execution-stack
<?xml version="1.0" encoding="UTF-8"?>
<workflow-execution xmlns="http://www.vmware.com/vco" href="https://localhost:8281/vco/api/workflows/ae4e2a62-f257-4f56-9298-612c511e5f25/executions/8a9be0554f6...">
<current-item-display-name>Scriptable task</current-item-display-name>
<execution-stack>
<workflow-item name="item1" displayName="Scriptable task">
<relations>
<link href="https://localhost:8281/vco/api/workflows/ae4e2a62-f257-4f56-9298-612c511e5f25/" rel="workflow" />
</relations>
</workflow-item>
</execution-stack>
</workflow-execution>
cdecanini_ I'm looking for the "saveSchemaImageToFile" method you've mentioned on the REST API docs, but I just can't find it... Would you mind elaborating on your answer a bit more?
PS: the method described by igaydajiev (GET /workflows/{id}/schema) returns a static representation of the workflow's schema.