UI Builder: Trying to add Activity stream to page, but sys_journal_field table not available

thomaskennedy
Tera Guru

Having added a Journal column to my table and captured a bunch of comments, I'm trying to add an Activity stream component to my page so I can show the comment history in UI Builder.

In other words I'm trying to get this into my UI Builder page, and I believe the Activity Stream component is the way to do it:

find_real_file.png

So I put the component on the page:

find_real_file.png

But when I try to fill in the table it should fetch data from, it won't show me the Journal Entry (sys_journal_field) table.

find_real_file.png

Likewise if I try to get this data through a data resource, I cannot select the sys_journal_field table there either. What's going on here, and how can I get my comment history into this component?

 

 

2 REPLIES 2

Marc Mouries
ServiceNow Employee
ServiceNow Employee

You don't need to pass the sys_journal_field table there. Simply select the table or pass a reference to the name of the table holding the record that you want to display the activity stream for. Ex: "incident" or @context.props.table

 

Hit the 👍 Helpful or Accept link ↓ if this answer brings you closer to achieving your goal

OK thank you, that makes sense. But the activity is still empty, for a record that does have comments on it (that is, in platform). On the other hand, when I fill in a comment and click on Post Comments, that comment does appear in Platform, just not in my Page. Is there anything else to configure?