This widget is to visualize the comments added against the record and visualize the changes in the values of the fields specified.
The comments widget consists of the following parts:
Input fields (Additional Comments and Work Notes). These fields are of the journal_input type described in Field Types. The difference between them is:
The Additional Comments field is for communication with the requester. It may be, for example, progress updates or clarifying questions. These comments are visible for the requestor in his profile on the Self-Service Portal;
The Work Notes field is for internal communications of the task fulfillers. These comments may be technical and can contain information that should not be shared with the requester.
Activity stream whose essence is to ticket activities logging. It contains the following information:
Which field was changed;
The user who did the change;
Old field value;
New field value.
The example of the activity stream is on the screenshot below.
Setting up an activity widget
Role required: admin.
To configure an activity widget on a form, please complete the steps below:
Add a formatter configuring the widget view on a form. To create a new formatter, perform the following steps:
Navigate to System Definition → UI Formatters
Click New and fill in the form.
Name - formatter name
Table - choose the table you are working on (for example, Incident)
Type - leave the type as Formatter if you are creating an activity formatter.
Formatter - select one of the predefined configurations.
Add the Activities (filtered) field to the form using the Form Layout functionality.
If you need to display more information in Activity Stream widget (not only Comments and Work Notes, but field changes too), turn on the is_audit attribute on a table for which you are using the widget. To perform this, perform the following steps:
Navigate to System Definition → All Tables
Find the table you are working on (for example, Incident) and click on it
Scroll down to the Controls tab and select the is_audit checkbox