Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts!
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 {