Hi,
We have a DocumentList that is supposed to be passed to Java service and later in the java service we need to access the elements of that documentlist.
We are getting the error as:
not able to find a variable part[0].supplierid
Our code is some thing like below:
IDataCursor pipelineCursor = pipeline.getCursor();
IData part = (IData)IDataUtil.getIDataArray( pipelineCursor, “part”);
pipelineCursor.destroy();
IData record = part[0];
IDataCursor recordCursor = record.getCursor();
String out = “”;
if (part.length > 0 )
out = part[0].supplierID;
IDataCursor pipelineCursor_1 = pipeline.getCursor();
IDataUtil.put( pipelineCursor_1, “returnValue”, out );
pipelineCursor_1.destroy();