Hi All,
I'm trying to read Workflow IDs from particular Folder (Ex.: Two folders are there Library & MyWorkflows, I want to read workflow ids from MyWorkflows). I saw below code, but this returns all the workflows from VCO.
var workflowId =
""
;
var workflows =
System
.getModule(
"com.vmware.library.workflow"
).getAllWorkflows();
for
each
(var wf in workflows) {
if
(wf.name == workflowName) {
workflowId = wf.id;
}
}
- See more at: http://www.virtuallyghetto.com/2011/12/how-to-find-vco-workflow-id.html#sthash.hFsdSKh1.dpuf
Thanks in advance,