Ticket Conversation widget missing input text field
This article provides some troubleshooting information for cases where some users are not able to see the input comments text field on the Ticket Conversations widget.
Usually there are two possible reasons for this behavior,
- User does not have access to write to the record.
- The form does not have a writable journal field.
Scoping the widget data
The easiest way to determine why the input box is not showing up is by scoping the data object of the widget, as show in the attached screenshot. To scope the widget data:
- Impersonate the affected user.
- Open the page containing the Ticket Conversations widget with the sys_id. The URL will look something like the following example for a base system Request record: https://<yourinstance>.service-now.com/sp?id=sc_request&table=sc_request&sys_id=14b0980adbaecb00e063ff4e0f9619db
- On the widget, click CTRL+ right-click.
- In the drop-down list, select Log to console: $scope.data.
- Check your browser console to for the data object and expand the object.
- Check the Boolean value for canWrite and hasWritableJournalField. Both of these fields need to be true in order for the user to be able to write.
canWrite is false
If the widget returns the canWrite object as false, the user does not have access to write to the record. Add a write ACL to respective table.
For example, to adding a write ACL to the sc_request table:
Table level write access for sc_request:
- Operation: Write
- Name: “sc_request”,”None”
- Role: Assign the appropriate role, For End user use “public”
Additional Comments field-level write access for sc_request:
- Operation: Write
- Name: Name: “sc_request”,”Additional Comments”
- Role: Assign the appropriate role, For End user use “public
hasWritableJournalField is false
If the widget returns hasWritableJournalField as false, the form does not have the writable journal field Additional Comments and the user is failing write access to it.
- First ensure that the user can pass write access to the Additional Comments field. If not, create the appropriate ACL for it.
- Open the same record inside the platform.
- As an admin, right-click in the record header, choose Configure > Form Layout, and add Additional Comments. Also make sure to add “Activities (filtered)” for better readability.
Note: While impersonating an end user you will not have access to the SC Request table and will be redirected to Checkout page. To circumvent this situation:
- Go to /sys_navigator_list.do.
- Search for the record containing “sc_request”.
- In the opened record, set the Table to “None” from “sc_request” and save the record, This should prevent the redirection.