Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
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
Solved! Go to Solution.
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();
}
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