bsh % importCommands("/bpel");
bsh % pxe=pxeGetBMF();
bsh % print(pxe.listInstances());
<pmap:instance-info-list xmlns:pmap="http:>
<pmap:instance-info>
<pmap:iid>1</pmap:iid>
<pmap:pid>TaskManager.taskManager.BpelService</pmap:pid>
<pmap:root-scope siid="1" status="ACTIVE" name="__PROCESS_SCOPE:TaskManager" modelId="30"/>
<pmap:status>ACTIVE</pmap:status>
<pmap:dt-started>2006-01-11T23:10:52.791-05:00</pmap:dt-started>
<pmap:dt-last-active>2006-01-11T23:10:54.522-05:00</pmap:dt-last-active>
</pmap:instance-info>
</pmap:instance-info-list>
bsh % print(pxe.getScopeInfo("1"));
<pmap:scope-info xmlns:pmap="http:>
<pmap:siid>1</pmap:siid>
<pmap:name>__PROCESS_SCOPE:TaskManager</pmap:name>
<pmap:status>ACTIVE</pmap:status>
<pmap:children>
<pmap:child-ref siid="2" status="ACTIVE" name="CreateAndCompleteTask" modelId="57"/>
</pmap:children>
<pmap:variables>
<pmap:variable-ref iid="1" siid="1" name="createTaskRequest"/>
<pmap:variable-ref iid="1" siid="1" name="createTaskResponse"/>
</pmap:variables>
</pmap:scope-info>
bsh % print(pxe.getVariableInfo("1","createTaskRequest"));
<pmap:variable-info xmlns:pmap="http:>
<pmap:self siid="1" iid="1" name="createTaskRequest"/>
<pmap:value>
<message>
<root>
<ns1:createTaskRequest xmlns:ns1="http: xmlns:ns2="http://www.intalio.com/bpms/workflow/examples/AbsenceRequest_20051114">
<ns1:taskMetaData>
<ns1:description>Test Description</ns1:description>
<ns1:processId>examples.absenceRequest.TestProcessID</ns1:processId>
<ns1:userOwner>exolab/castor</ns1:userOwner>
<ns1:roleOwner/>
<ns1:formUrl>/forms/examples/AbsenceRequest/AbsenceApproval.xml</ns1:formUrl>
</ns1:taskMetaData>
<ns1:participantToken>TestToken</ns1:participantToken>
<ns1:taskInput>
<ns2:employee>
<ns2:name>John Smith</ns2:name>
<ns2:phone>+16501230000</ns2:phone>
<ns2:email>john.smith@localhost</ns2:email>
</ns2:employee>
<ns2:details>
<ns2:request>
<ns2:from/>
<ns2:to/>
<ns2:type/>
<ns2:hours/>
</ns2:request>
</ns2:details>
<ns2:contactWhileAway>
<ns2:name/>
<ns2:phone/>
<ns2:email/>
</ns2:contactWhileAway>
<ns2:notes/>
</ns1:taskInput>
</ns1:createTaskRequest>
</root>
</message>
</pmap:value>
</pmap:variable-info>