You need to sign in to do that
Don't have an account?
Nicholas Pace
Anonymous Execute Button
Currently I open develop window and go to debug and open execute anonymous window and I enter
"Id batchJobId = Database.executeBatch(new BatchClass_Retrieve_Inventory_BL(), 1);"
I would like to create a button for this so I can let other people run it as well or schedule it to run once or twice per day.
Any help would be greatly appreciated.
"Id batchJobId = Database.executeBatch(new BatchClass_Retrieve_Inventory_BL(), 1);"
I would like to create a button for this so I can let other people run it as well or schedule it to run once or twice per day.
Any help would be greatly appreciated.
VF page + button + @RemoteAction method in controller
or
Lighning component + button + @AuraEnabled method in controller