Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
As part of an integration project I need to figure out how to update Part Data into an external system by invoking a third part WebService by the time the Part is changed (Save / Check-in) in Windchill-PDMLink.
My main concern is how to activate action to prepare data and invoke the WebService upon Save / Check-in action in Windchill once there is no Workflow / Lifecycle State change in this particular case.
Can someone help me on this subject?
Best regards
Waldemar
HI Waldemar,
I am not totally sure but may be you can use a listener to listen the event and call the web services.
Hi Waldemar,
Das is correct, You can implement a listener on event POST_CHECKIN and call your web services,
BR
MKR
For CheckIn events you can use WorkInProgressServiceEvent and for Save PersistenceManagerEvent.POST_MODIFY
Thanks and Regards,
Kaushik
Hi:
I have received a very good answer driving me to implement Windchill service listener to capture the Check-in user action. It sounds very great and I will implement that to capture CHECK-IN and POST-CHECK-IN events.
However, I do need some more help on implementing and register service listener into Windchill server side.
Can someone help me on that subject also?
Best regrads
Waldemar
Hello,
To register a listener in site.sconf you can enter following property.
<!-- Listener service -->
<Property name="wt.services.service.200019" overridable="true"
targetFile="codebase/wt.properties"
value="ext.customization.listener.CreateProjectListener/ext.customization.listener.CreateProjectListenerService"/>
The number after “wt.services.service.” can be any number but it must be unique for every listener service.