Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to resolve this error "Read operation on table 'sn_hr_core_case_workforce_admin' from "global"

Prathamesh Cha1
Tera Contributor

Hi All,

 

How to resolve below error

PrathameshCha1_0-1698415754833.png

Read operation on table 'sn_hr_core_case_workforce_admin' from scope 'Global' was denied because the source could not be found. Please contact the application admin.

 

 

 

7 REPLIES 7

Try this

 var val = '';
          var date = new GlideRecord('question_answer');
          date.addQuery('table_sys_id', 'e8d2c4a71b8e3d901eeafc07cb4bcbe5');
          date.addQuery('question', 'ad28230f1bccb9501eeafc07cb4bcb61');
          date.query();
          if(date.next()){
             val = date.getValue('value');
            gs.info('Date value '+date.getValue('value'));
          }

         // template.print(gs.getMessage(val));
          template.print(val);

 

Check if the value gets printed in log.

@Sandeep Rajput 

PrathameshCha1_0-1698522080114.png

not working tried this

 

PrathameshCha1_1-1698522117306.png

 

@Prathamesh Cha1 Did any value print in System log? I added a gs.info in the script.