Ticket Conversation Widget - 2 journal fields

Kamil Smusz
Kilo Sage

Hi Experts,

I need to add second journal field for sysapproval_approver table. I created field and checked that users can use this field but when i try to using it in Portal view data received from $sp.getStream(data.table, data.sys_id); returning only 1 journal field. Is there any way for this query to display custom journal field also?

find_real_file.png

find_real_file.png

BR,
Kamil

1 ACCEPTED SOLUTION

Kamil Smusz
Kilo Sage

I was able to figure it out 🙂

Below is my solution.Basically i adding second journal field manually to data.stream.journal_fields array.

find_real_file.png

View solution in original post

4 REPLIES 4

Allen Andreas
Administrator
Administrator

Hi,

By design, I believe the ticket conversations widget is set to look at all journal field entries within the activity formatter. So whether you have 1 or 3, the entries would show in the activity stream and in your case, the ticket conversations widget.

Any comment left on the portal, would route to the comments field.

I'm unsure if you're saying your journal field entries are not showing at all (ensure you have actual journal field entries for that field actually captured and that field is set to show in the activity formatter) or if you're wanting the user to be able to pick this custom journal field and leave an entry there?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
I invite you to check out our Ask the Experts community series and consider subscribing to our ServiceNow Developer YouTube channel!

Hi Allen,

I see journal field entries for this field. I want the user to be able to pick this custom journal field and leave an entry there from Portal.

 

BR,

Kamil

Kamil Smusz
Kilo Sage

I was able to figure it out 🙂

Below is my solution.Basically i adding second journal field manually to data.stream.journal_fields array.

find_real_file.png

Hi,

Nice work.

If any other reply was Helpful along the way, please mark it as such.

Take care! 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
I invite you to check out our Ask the Experts community series and consider subscribing to our ServiceNow Developer YouTube channel!