Hello,

I have deployed and started a BPEL process in ode deployed in apache
tomcat.
http://localhost:9111/ode/instances.html displays the instance as
active.

I am using the following code to get variable info.
InstanceManagement im = new InstanceManagement();
InstanceManagementPortType instanceManagementPort =
im.getInstanceManagementPort();
TInstanceInfo instanceInfo =
instanceManagementPort.getInstanceInfo(1601);
String siid = instanceInfo.getRootScope().getSiid();
TScopeInfo scopeInfo =
instanceManagementPort.getScopeInfo(Long.parseLong(siid));
TVariableInfo variableInfo =
instanceManagementPort.getVariableInfo(scopeInfo.getSiid(),
"StartWorkflowIn"); // 2nd arg is
scopeInfo.variables.variableRef[0].name
if(variableInfo != null) {
        variableInfo.getValue();
}

But I get the variableInfo as null.

Please help.

Regards,

Prakash Reddy Bande
Altair Engg. Inc,
Troy, MI

Reply via email to