Show: |
AbstractBeforeWithDataSourcesActionable
Signature
global interface AbstractBeforeWithDataSourcesActionable
AbstractBeforeWithDataSourcesActionable Methods
execute(actionable, docConfig, objectId, inputMap, dataSources, cdm)
Interface for a Before Actionable. You can run custom APEX code after the DataSources has been fetched but before the document has been generated
Signature
void execute(Actionable__c actionable, Id docConfig, Id objectId, Map<String, Object> inputMap,Map<String,Object> dataSources, ConvertController.ConvertDataModel cdm)
Parameters
actionable
Type:
Actionable__c
The Actionable record with all fields in the Actionable__c sObject the current user has read-permission on
docConfigId
the Id of the docConfig that was running
objectId
Type:
Id
recordId of the record on which the request was initiated on
inputMap
Type:
Map<String, Object>
map of fields that are used with parameters for running the SOQL DataSources. recordId and userId are always in the inputMap
dataSources
map that has all the DataSoures with the data. The key of the map is the CustomerDataSourceId__c field. This field is unique for this DataSource on every Org (Stage)
cdm
Type:
ConvertController.ConvertDataModel
ConverDataModel => see ConvertController.ConvertDataModel
See
|