Now that I can programatically set and retrieve comments on WorkItems, I have run into another issue:
Once the comment has been set on a work item, I am no longer able to retrieve a list of all running processes. Using:
wfSvc.getProcessData(process.getProcessID(), process.getSubProcessID());
after having set a comment on one of the work items, I get the following exception:
javax.xml.ws.soap.SOAPFaultException: Error loading CommentData.Comment
Is there another way to deal with the comments? As a workaround to avoid all these issues I could use a multi-line attribute in the workflow instead but before I change the code, I would like to check if this is a known issue or I am doing something wrong...
Thanks,