Created
February 2, 2026 23:52
-
-
Save peterlyeung/38e9898e9ba800806fb3fda87232ade1 to your computer and use it in GitHub Desktop.
Call LSC4CE Affiliation batch process within lsc4ce namespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Map<String, Object> paramMap = new Map<String, Object>{ | |
| 'batchName' => 'AffiliationDataLoadProcessorBatch', | |
| 'batchSize' => 200, | |
| 'isCreatedByCurrentUser' => false, | |
| 'createdAfter' => Datetime.now().addDays(-30), | |
| 'whereClause' => '' | |
| }; | |
| Boolean result = (Boolean)(lsc4ce.LifeScienceApi.getInstance(lsc4ce.LifeScienceApi.Command.AffiliationBatchJob).execute(paramMap)); | |
| System.debug('Result: ' + result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment