Show: |
Batch_ProcessController
Signature
global class Batch_ProcessController
Batch_ProcessController Methods
schedulebatchMethod(batchInfoId)
schedule the batch according to the Cron statement
Signature
@AuraEnabled
webService static void schedulebatchMethod(Id batchInfoId)
Parameters
batchInfoId
Type:
Id
SFDC Id of the BatchInfo record
Example
startBatch(batchInfoId)
Starts the batch to generate documents in bulk.
Signature
@AuraEnabled
webService static void startBatch(Id batchInfoId)
Parameters
batchInfoId
Type:
Id
SFDC Id of the BatchInfo record
Example
startBatch(batchInfoId, inputMap)
Starts the batch to generate documents in bulk.
Signature
global static void startBatch(Id batchInfoId, Map<String, Object> inputMap)
Parameters
batchInfoId
Type:
Id
SFDC Id of the BatchInfo record
inputMap
Type:
Map<String, Object>
parameters to pass on and that can be used in the SOQL used for batch input
Example
|