Skip to main content
1-Visitor
June 12, 2014
Question

Check in listener

  • June 12, 2014
  • 1 reply
  • 2740 views

Hello!

We have a custo in Windchill 10.0 that is listening for events.

To be able to capture "check in" events the following events are used:

WorkInProgressServiceEvent.POST_CHECKIN - In case of Creo checkin on existing CADDocument

PersistenceManagerEvent.POST_STORE - I case of new CADDocument.

The two events above however does not cover the case when Catia is used via WGM.

Does anyone have any ideas if there exists such an event that could be used for this use-case?

My current approach is to set below property and capture events that look like possible candidates:

wt.services.verboseEvents=true

This approach is rather time consuming since a check in will trigger lots of events and most of them are dead ends and waste of time.

So I thought someone in here might be able to give me a hint?

Thanks and best regards,

Peter

1 reply

17-Peridot
June 12, 2014

Hi

probably you could use the event PRE_WORKSPACE_CHECKIN or POST_WORKSPACE_CHECKIN.

Class: EPMWorkspaceManagerEvent

Regards

1-Visitor
June 12, 2014

Thanks Björn!

This looks promising.

Got this when printing the event target:

eventTarget: {wt.epm.EPMDocument:5151958536=null}

Will add some more code to evauluate exactly what I got.

Thanks and best regards,

Peter