Is there a way to run Background Scripts in the Scope of an installed application (e.g. Human Resources: Core)? (w/o creating Cross Scope Privilege)

RAY23
Giga Contributor

On a Dev instance with Human Resources: Core, I want to be able to run a background script in its scope (sn_hr_core).

It's just a test, throwaway script and nothing I want in production.  

This is the way I'm used to running background scripts:

  1. Loading the Background Scripts Screen
  2. Selecting my scope and running the Script

However, I do not have that option (see below):

find_real_file.png\

I understand I can add a Cross Scope Privilege to reach across and do my bidding...but I would like to be able to select the scope from the drop down.

 

Is this possible?

 

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi Ray,

 

Yes, you are correct as of now the only possibility is to run the script in background script for the application created by the instance admin (starting with x_) for anything that is available with sn_ will not show up.

Only option being to create cross-scope or create fix script in required application scope & then use it

View solution in original post

4 REPLIES 4

sachin_namjoshi
Kilo Patron
Kilo Patron

As a workaround, you can create fix script in HR scope and run this fix script.

 

find_real_file.png

 

Regards,

Sachin

Jaspal Singh
Mega Patron
Mega Patron

Hi Ray,

 

Yes, you are correct as of now the only possibility is to run the script in background script for the application created by the instance admin (starting with x_) for anything that is available with sn_ will not show up.

Only option being to create cross-scope or create fix script in required application scope & then use it

Vikram19
Tera Guru

Hi Ray,

Can you explain how we can use Cross Scope Privilege to achieve this?

On "sys_restricted_caller_access" you can easily grant full scope to scope access like this:

 

find_real_file.png