Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
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") )
result="SRP";
else
result="SRP";
I am trying to make a decision based on the WTDocument SubType and route accordingly.
Thanks,
James Little
Corning Cable Systems
CAD Administrator