Has Anybody written code to get Task Comments

Hello,

Has anybody written code to get the Task Comments that we enter for a Task in MWS.

Did anybody used the following method: TaskCommentsListProvider to get the Task Comments.

Thanks,
Priyatham Porika

Here’s a trivial code snippet that might get you started:

TaskCommentsListProvider tclp = new TaskCommentsListProvider(); 
tclp.setContainerID(getTask1().getTaskID()); 
tclp.getCommentsList();

Hope this helps.
–mark