Add a work notes journal field (with post button) to form

SC10
Kilo Guru

How would I go about adding the typical work notes field (with the post button) to a custom form? I've tried to simply add the activity log, and configured it display the description of the form (and if it changes), but the work notes field didn't show up along with the activity log.

Any ideas?

1 ACCEPTED SOLUTION

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

You need to create a journal input field.


Then you can get it like this. I've done this on my own table which isn't extended from any table:



find_real_file.png



I noticed that I had to click on the filter icon(marked as 1.) and check my field to be on the right side like this to get the post button:


find_real_file.png



//Göran


View solution in original post

13 REPLIES 13

I've got this working - un-ticking, then ticking the notes section from the filter on activity stream seems to have refreshed this and is now working as I'd expect.

Hi Goran,


I tried adding the work notes as type "Journal Input" but could not see post button under the work notes. Also the activity filter is not visible on the form. Is there anything else to be configured to make them available on the form?



Thanks.


Hi Sangun,



Check out this threat "


How do I get the post button assigned to work notes

. I had the same issues and that fixed it for me.



Hope this helps



Armin


Hi I have added a Journal Input Field in my custom table as you mentioned but post button and activity log is not coming in the form only work note field is there whose type is journal input.Can you help me on this?

Saw this on a few threads and there didn't seem to be any straight forward how to's. Here's how i got the result on my cmdb_ci_computer table.

find_real_file.png

  1. Navigate to system definitions > dictionary ServiceNow Docs
  2. Search for your application you’re adding it to, in this case cmdb_ci and enable auditing.
  3. Go to CI form open form designer/form layout
  4. Create Notes section
  5. Add two Journal Input type fields to form using form designer
  6. Add Activities (filtered) to form via form layout or form design (Activity formatter) then save
  7. Navigate to sys_properties.list , find *glide.ui.cmdb_ci_TABLE_activity.fields (CMDB Workspace scope)
  8. In the “Value” field add “,u_custom_field_1, u_custom_field_2” (CMDB Workspace scope)
  9. Enter a value for Suffix (required) update. (CMDB Workspace scope)
  10. Navigate to the CI form, go to the filter activity icon , select “Configure available fields” located at the bottom of the list, add field names from left column and save.

find_real_file.png

You may want to change the color of the fields to stand out. This can be done with the following

   11. Navigate to sys_properties.list create “glide.ui.activity_stream.style.u_field_name” or you can copy “glide.ui.activity_stream.style.comments”, Make sure it is “String” for the type, and choose your color for the Value.