VMware Cloud Community
SatishPatil
Enthusiast
Enthusiast

scripting object attributes

Hi All,

Its a  newbie question about scripting object. It is possible to get workflow.id and workflow.rootWorkflow from "workflow" object but API explorer does not show these attributes. Am I looking at the wrong object. Attached is picture of API explorer.

Any help appreciated

Reply
0 Kudos
1 Reply
Dan_Linsley
VMware Employee
VMware Employee

"workflow" is a reserved name in vCO scripts and should highlight as red in the editor.  It is actually the WorkflowToken object of the current workflow run.  Though "id" is also not documented in the API explorer for WorkflowToken it is the UUID of the workflow token.

Dan.

Reply
0 Kudos