Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
DOC111 - WTDocument name (refDoc)
Expected result --> Get associated changes
QuerySpec qsLink=FlexibleChangeHelper.getFlexibleChangeLinksQuerySpec((FlexibleChangeItem) refDoc, FlexibleChangeLink.PARENT_ROLE, false, FlexibleChangeHelper.PROCESS_TYPE_ID);
QueryResult qr1 = PersistenceHelper.manager.find(qsLink);
System.out.println("Size of the Query Result for Associated Objects::"+qr1.size());
I would look at the Change2Helper class. It should have a method given a Changeable (the document) to find its change object. You never mentioned which change object your were looking for.
