executeNow() function is not working in installed scoped application, version Madrid

amitsrivastava
Mega Expert

Hi,

Instance version- Madrid.

We have developed a Scoped application in Dev instance and have used "gs.executeNow()" function in a script to execute the schedule job and it's working fine there, however when we installed this scoped application to aTest instance the same function is not working.

Please help me out to fix this issue.

 

Thanks,

Amit Srivastava

1 ACCEPTED SOLUTION

amitsrivastava
Mega Expert

Hi All,

Thanks for your time.

 

We have rectified this issue, The root cause of this issue was missing records in “Application Cross-Scope Access (sys_scope_privilege)” table for “scheduled_import_set” table, we allowed the read access from our scoped application to Global and it worked.

 

 

Thanks,

Amit Srivastava

 

View solution in original post

8 REPLIES 8

Thanks reginabautista for your reply!

Yes, all schedule jobs exist in test instance within the scoped application.

 

Thanks,

Amit Srivastava

Pooja Mallikarj
Kilo Sage

Hi,

 

In scoped application ,to call scheduled job use the function gs.executeNow(rec);

 

Regards,

Pooja

Thanks for your reply.

 

I'm doing same.

 

Thanks,

Amit Srivastava

amitsrivastava
Mega Expert

Hi All,

Thanks for your time.

 

We have rectified this issue, The root cause of this issue was missing records in “Application Cross-Scope Access (sys_scope_privilege)” table for “scheduled_import_set” table, we allowed the read access from our scoped application to Global and it worked.

 

 

Thanks,

Amit Srivastava