Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation x

How to get the iteration history by Java code

BernardWielfaer
12-Amethyst

How to get the iteration history by Java code

Hi,

I like to know what was the status of the previous iteration of a EPMDocument via Java code. Can someone shed a light on this please ?

Regards, Bernard

ACCEPTED SOLUTION

Accepted Solutions

something like following will work

for example -

QueryResult epmDocQueryResult = VersionControlHelper.service.allIterationsFrom((Iterated) myEPMDocument);

while(epmDocQueryResult.hasMoreElements()){

            final EPMDocument epmDoc = (EPMDocument) epmDocQueryResult.nextElement();

            final String epmDocumentState = epmDoc.getState().toString();

}

View solution in original post

2 REPLIES 2

something like following will work

for example -

QueryResult epmDocQueryResult = VersionControlHelper.service.allIterationsFrom((Iterated) myEPMDocument);

while(epmDocQueryResult.hasMoreElements()){

            final EPMDocument epmDoc = (EPMDocument) epmDocQueryResult.nextElement();

            final String epmDocumentState = epmDoc.getState().toString();

}

thanx

Announcements



Top Tags