You need to sign in to do that
Don't have an account?
Sumit jaitly
Callouts is not allowed at Scheduled Apex
Hi All,
Could you please let me know , how can we run a batch class which are containing callouts, on Scheduled Apex.
when i am running batch process on click event It is working fine but when i scheduled it the it is giving me error like 'callouts is not allowed at Scheduled Apex. '
Regards
Sumit
Could you please let me know , how can we run a batch class which are containing callouts, on Scheduled Apex.
when i am running batch process on click event It is working fine but when i scheduled it the it is giving me error like 'callouts is not allowed at Scheduled Apex. '
Regards
Sumit
To use a callout in batch Apex, you must specify Database.AllowsCallouts in the class definition.