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 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

Hi Pradeep/Ankur,

its working as expected now. 

Thanks,

Ganesh

Hi Ganesh - Just curious what was the solution to resolve that issue?