Voer batchgewijs Apex taken uit vanuit de Developer Console om taken te automatiseren zoals het instellen van affiliatietypen, het maken van onderlinge affiliaties en het tot stand brengen van primaire affiliaties tussen accounts en bovenliggende organisaties. Houd de status en gezondheid van uw batch Apex taken bij en beëindig deze indien nodig vanuit Set-up.
Vereiste editions
Beschikbaar in: Lightning Experience
Beschikbaar in: Enterprise en Unlimited Edition met Life Sciences Cloud, Life Sciences Cloud voor Customer Engagement Add-on-licentie en het beheerde pakket Life Sciences Customer Engagement.
Benodigde gebruikersmachtigingen
Life Sciences Cloud gegevens maken, bewerken en verwijderen:
Machtigingenset Commercieel beheerder Life Sciences
Schakel voordat u de batchtaak AffiliationDataLoadProcessorBatcha uitvoert, de triggerhandlers HardAffiliationHandler en AffiliationReciprocalHandler uit. Schakel voordat u de batchtaak AccountPrimaryAffiliationBatch uitvoert, de triggerhandler HealthcareProviderAffiliationHandler uit.
Voer de batch Apex taak uit met behulp van deze Apex code: Map<String, Object> paramMap = new
Map<String, Object>{ 'batchName' => '{your_batch_name}', 'batchSize' =>
'{your_batch_size}', 'isCreatedByCurrentUser' => '{your_is_created_by_current_user_boolean}',
'createdAfter' => '{your_datetime}', 'whereClause' => '{your_where_clause_string}' }; // Call
Boolean result =
(Boolean)(lsc4ce.LifeScienceApi.getInstance(lsc4ce.LifeScienceApi.Command.AffiliationBatchJob).execute(paramMap));
System.debug('Result: ' + result);
De batchSize, createdAfter, isCreatedByCurrentUser en whereClause-parameters zijn optioneel. Zie Anonieme Apex code uitvoeren voor instructies voor het uitvoeren van batch Apex taken.
Deze code voert de taak AffiliationDataLoadProcessorBatch uit, waarbij de batchgrootte wordt ingesteld op 200. Deze verwerkt alleen de records die op 1 augustus 2025 om 0 uur door de ingelogde gebruiker zijn gemaakt. Deze voert de records uit met het type affiliatiesterkte als hoog.
Heeft dit artikel uw probleem opgelost?
Laat ons weten wat we kunnen doen om te verbeteren!
Wordt geladen
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.