How to get the iteration history by Java code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Solved! Go to Solution.
- Labels:
-
Other
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
thanx
