Agile (MOSC)

MOSC Banner

Java PX: error using isRedlineModified() instruction

edited May 6, 2015 10:04AM in Agile (MOSC) 2 commentsAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center