The CreatorCon Call for Content is officially open! Get started here.

Activity Log not editable in scoped application. Says record is in Global application when trying to edit fields.

Shane J
Tera Guru

This is my first foray into scoped applications and so far it's been nothing but a PITA.

I am trying to add an Activity Log to some new tables in my new Application.   I have gone through the steps in Section 3 here:

Activity Formatter - ServiceNow Wiki

to create a new Activity entry for my app, but I still receive an error when trying to modify/configure the fields that are shown.

"This record is in the Global application, but MY_APPLICATION is selected in your application picker.   Switch to Global."

I don't want to switch to Global, all of this should be held within my App!   I have to be missing a step which I can't find documented anywhere.  

1 ACCEPTED SOLUTION

wcw
Mega Expert

I ran into the same problem and opened INT2601575 / PRB631771.



The workaround is to manually create the sys_property entry while under the application scope. The specific item in the sys_properties table is named "glide.ui.[your app]_table_activity.fields".   The value of the property is just a comma separated list of field names.



I think there were a couple of other application scoping issues that I ran into that didn't have a workaround like this available so I ended up creating an update set to go with the application.   Hopefully things have gotten better; when I did this, it was with an early Fuji release.


View solution in original post

9 REPLIES 9

vijivt
Mega Expert

Hi,



Was the activity formatter created in the scopped application? i.e if you check the activity formatter created,   under System UI>Formatters is the Application field showing Global or the name of your application? if its Global you probably created in global scope. So you need to recreate it in your application scope in order to configure it on the tables in your application.


Yes it was created in the scoped app.


2016_02_18_10_51_18_ServiceNow_Service_Automation.png


Hi,



Could you please send the screen shots of the error and when it is occurring, and also the table details, so that i can recreate the issue?


All within my scoped app:



Added formatter (form above) to the form.



2016_02_18_11_08_06_ServiceNow_Service_Automation.png



Right-click to 'Configure' that field and get this:



2016_02_18_11_06_07_ServiceNow_Service_Automation.png