Java PX: error using isRedlineModified() instruction
Hi,
I have a problem using the isRedlineModified() instruction to check if a row (Affected Items table of a change) is redlined or not.
My code is:
...
while (itemsIterator.hasNext()) {
Boolean redlined = false;
IRow currentItemRow = (IRow) itemsIterator.next();
redlined = ((IRedlined) currentItemRow).isRedlineModified();
...
This returns this error: com.agile.api.pc.change.RowAI cannot be cast to com.agile.api.IRedlined
I followed pages 103-104 of the "Agile Product Lifecycle Management SDK Developer Guide - Using API's" guide, am I doing something wrong?
Thank you