Skip to main content
1-Visitor
Apr 7, 2015 2:00 PM UTC
Solved

How to Capture EPMDoc Checkin event, and after checkin call a simple Program

Hello All,

I want to catch the Check in event for EPMDocument, after successfull check in, want to call a simple java class to display some information to user.

how i will be catch the checkin event ? and then call a java method.

Please any help will be great.

Thanks,

Vivek

jmomberAnswer
12-Amethyst
Apr 8, 2015 12:18 PM UTC

Have you seen this case? It gives a code snippet for adding a listener, but I'm not sure if the event they are using is the one you want.

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS162943

2 replies

jmomber12-AmethystAnswer
12-Amethyst
Apr 8, 2015 12:18 PM UTC

Have you seen this case? It gives a code snippet for adding a listener, but I'm not sure if the event they are using is the one you want.

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS162943

Translate
1-Visitor
Apr 9, 2015 5:49 AM UTC

Hi Vivek,

In the code snippet that Jamie has pointed you to, replace "EPMWorkspaceManagerEvent.POST_WORKSPACE_CHECKIN" with "WorkInProgressServiceEvent.POST_CHECKIN" for your case.

Let me know if that helps.

-Ismail

Translate