addProcessInstanceComment

Adds a comment to a process instance.

Required System Actions

queryAudit

Usage

BPMCommentService.addProcessInstanceComment(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.

Identify the process instance by providing a process instance ID in CommentModel.procId.

To add a comment that is subordinate to a previous comment, also provide the parent ID for the previous comment in CommentModel.parentId.

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