Hello!
We have a custo that is listening for check ins where we are catching the following events:
Check in of existing EPMDocuments.
WorkInProgressServiceEvent.POST_CHECKIN
code:
WorkInProgressServiceEvent wipse = (WorkInProgressServiceEvent) eventObject;
Object targetObject = wipse.getEventTarget();
if(targetObject instanceof EPMDocument){
EPMDocument working = (EPMDocument) wipse.getWorkingCopy();
...
Check in of new EPMDocuments:
PersistenceManagerEvent.POST_STORE
code:
PersistenceManagerEvent pme = (PersistenceManagerEvent) eventObject;
Object targetObject = pme.getEventTarget();
if(targetObject instanceof EPMDocument){
EPMDocument doc = (EPMDocument) targetObject;
...
Best regards,
Peter