addWorkItemComment

Adds a comment to a work item.

Required System Actions

queryAudit

Usage

BPMCommentService.addWorkItemComment(model, callback)

Parameters

Parameter Type Description
model CommentModel The data model to be passed to the $scope object.

The comment to add is passed in CommentModel.comment.

Also pass either:

To add a comment that is subordinate to a previous comment, also provide the parent ID for the previous comment in CommentModel.parentId. The parent ID is returned in CommentModel.parentId when you add or get a comment for an entity.

callback Function Callback function to handle success or failure results from the request.