Would someone please take a look at the following code and validate it for me. It seems simple enough, but I keep getting errors when my WF hits this conditional:
//retrieve document type of the PBO
wt.doc.DocumentType docType = (((wt.doc.WTDocument)primaryBusinessObject).getDocType());
if (docType==wt.doc.DocumentType.toDocumentType("$$Technical Publication") )
I am trying to make a decision based on the WTDocument SubType and route accordingly.
Corning Cable Systems