Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily.
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 {