Working with Comments

If you create a task in Collaborative Tasks and add comments to this task, in a report, you can recover those comments, their information, and their replies, using the following methods.

Method and Parameters Category Internal Name Return Description
PLM.Task
Get comments Navigation getComments Swym.Comment (*) A list of all the comments of a specific task.
Swym.Comment
Message Attributes message String A string which is a rich text and that corresponds to the comment message.
Author Navigation author Swym.CommentAuthor The personal details of the comment's author.
Last Modification Date Attributes lastModificationDate String A string that corresponds to the comment last modification date.
Number of Replies Attributes numberOfReplies Integer An integer that corresponds to the number of replies made to the comment.
Get Replies Navigation getReplies Swym.Comment (*) A list of comments, which correspond to all the replies to a comment or an empty list if there are no replies.
Swym.CommentAuthor
First Name Attributes firstName String A string that corresponds to the first name of the comment author.
Last Name Attributes lastName String A string that corresponds to the last name of the comment author.
Note: (*) means list and (?) means optional.