How to Insert a record in scoped application from global scope

GANESH23
Tera Contributor

Hi Team,

I want to insert a record in scoped application from global scope. but it is not allowing to insert due to cross scope.

can please some one help me on this.

find_real_file.png

I have return this BR on sys_email table. while met some conditions i want to insert a record in scoped application.

 

Thanks in Advance.

1 ACCEPTED SOLUTION

Hi Ganesh,

so it should allow from BR also

can you try to add try catch block to check the exception thrown

try{

// your code

}

catch(ex){

gs.info(ex);

}

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Hi Pradeep,

It have allow all application scope access in table configuration.

find_real_file.png

and cross scope access state also allowed for gliderecord.insert.

Thanks,

Ganesh.

For testing purposes can you try to create record from background script in a global scope. If that still doesn't work then please share the error screenshot.

Hi Pradeep,

Through Background script it is working fine but from BR it is not executing

Thanks,