Disponible en: Ediciones Enterprise y Unlimited con licencia Life Sciences Cloud, Life Sciences Cloud para Customer Engagement Add-on y el paquete gestionado Life Sciences Customer Engagement.
Permisos de usuario necesarios
Para crear, modificar y eliminar datos Life Sciences Cloud:
Conjunto de permisos Administrador comercial de Ciencias de la vida
Antes de ejecutar el trabajo por lotes AffiliationDataLoadProcessorBatcha, desactive los controladores de desencadenador HardAffiliationHandler y AffiliationReciprocalHandler. Antes de ejecutar el trabajo por lotes AccountPrimaryAffiliationBatch, desactive el controlador de desencadenadores HealthcareProviderAffiliationHandler.
Ejecute el trabajo Apex por lotes utilizando este código Apex: 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);
Los parÔmetros batchSize, createdAfter, isCreatedByCurrentUser y whereClause son opcionales. Para obtener instrucciones sobre cómo ejecutar trabajos de Apex por lotes, consulte Ejecutar código Apex anónimo.
Este código ejecuta el trabajo AffiliationDataLoadProcessorBatch, estableciendo el tamaño del lote en 200. Procesa solo los registros que creó el usuario que inició sesión el 1 de agosto de 2025 a las 0 horas. Ejecuta los registros con el tipo affiliation-strength como alto.
ĀæResolvió este artĆculo su problema?
”HÔganos saber cómo podemos mejorar!
Cargando
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.