I believe you can find the information you're looking for in the Windchill Customization Guide, in the section entitled "Custom Publishing". You can find this documentation in the Windchill Help Center or in the PDF version of the guide (http://www.ptc.com/WCMS/files/135951/en/10_1_WindchillCustomizationGuide.pdf)available on ptc.com. In the PDF file, the information begins on page 1129.
I hope you find this documentation useful; please let me know if there are ways to improve it!
VP, Windchill Publications
I am not sure what the end goal is but if it is to create a pdf outside pdmlink on certain life cycle state, there are plenty out of the box software that does it for you.
We currently use since 2009 PSW from Etrage. We select which folders need to be monitored and which state will trigger the creation of the pdf. The pdf are then stored outside pdmlink. This is a transparent process for the pdmlink user.
We have published over 60,000 drawings with PSW since 2009. We are very pleased with the software.