Not able to insert a record into a scoped table

farukhkhan
Mega Contributor

Hi All,

Getting a error while trying to create a new record in a scoped application from background script(scope = global) .

Could anyone please provide guidance

Background Script:

find_real_file.png

Error:

find_real_file.png

Scoped Table Configuration:

find_real_file.png

TIA

Farukh

1 ACCEPTED SOLUTION

Please change it to tracking, remove instance cache by typing cache.do in the Application navigator and then try running your background script. 

Regards,
Muhammad

View solution in original post

10 REPLIES 10

Select your custom application in the application picker on the header and click on selected app icon on the left of app picker it will take you to the Application Configurations. 

find_real_file.png  

Regards,
Muhammad

Hi Muhammad, In application configuration runtime access is selected as none only. Can you please tell what value I need to select for creating cross app access manually? Thanks Farukh

Please change it to tracking, remove instance cache by typing cache.do in the Application navigator and then try running your background script. 

Regards,
Muhammad

Thanks Muhammad, It did the magic 👏 👏 Have last query, shall I keep the runtime access as tracking or change it to none again? Thanks again for your time.

Glad to be of help!

 

This depends on the type of security you want for your app. keeping it Tracking will help you auto create cross-scopes in the future if you interact with any other application to create/update/delete/read records. 

 

- Muhammad

Regards,
Muhammad