:ADD_COMMENT

Use the :ADD_COMMENT script statement to add a comment to a task. Comment entries include the name of a User object. The user who activated the object called by the script statement is automatically shown in the comment area. For more information, see Adding Comments.

Syntax

:ADD_COMMENT [RunID] , comment

Parameters

Example

The following example adds a comment to the task that contains the script. The text in the comment is stored in a script variable.

:ADD_COMMENT ,&TEXT#

In the following example, the script retrieves the RunID of the top Workflow, and adds a comment to that Workflow.

:SET &TOP_JP_RunID = SYS_ACT_TOP_NR()
:
ADD_COMMENT &TOP_JP_RunID, "Successfully started file transfer."

See also: