uvijayreddy657 [
http://community.jboss.org/people/uvijayreddy657] created the discussion
"Re: Adding comments and attachments to the particular task"
To view the discussion, visit:
http://community.jboss.org/message/630814#630814
--------------------------------------------------------------
I am using richfaces Editor component. Once I say submit button I am invoking the
TaskClient's addComment method to add comments to particular task. It is supposed to
save, but it is not saving the data. Any other parameters do we need to pass?
public void addComment(TaskSummary taskSummary) {
try {
taskClient.getTasksAssignedAsPotentialOwner(userid, groupids,
"en-UK", taskSummaryHandler);
BlockingAddCommentResponseHandler commentHandler = new
BlockingAddCommentResponseHandler();
taskSummary.getTask().setDescription(taskSummary.getComment().getText());
taskSummary.getTask().setSubject(taskSummary.getComment().getText());
*taskClient.addComment(taskSummary.getTaskId(), taskSummary.getComment(),*
* commentHandler);*
//commentHandler.execute(1000);
//commentHandler.wait(1000);
} catch (Exception e) {
e.printStackTrace();
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/630814#630814]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]