Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email.
X
I would like to publish a WTDocument in a workflow expression. For the moment I use doPublish(..) method of com.ptc.wvs.common.ui.Publisher, but no item is added to the Publish Monitor.
This is the snippet of the code that I used for one of our projects. Make sure you are capturing the exception and logging them so that the stack trace will show you the reason for failure.
public static void performPublish(WTObject wto) throws WTException, PropertyVetoException {