위치:
혜택 신청을 화면화하는 트리거 만들기
혜택 신청자 평가 신청에 대한 개별 신청 레코드가 생성될 때 통합 절차를 호출하는 트리거를 만듭니다. 통합 절차는 신청서에서 명명된 참가자가 미국 시민인지 여부를 확인하는 등 신청서에 대한 기본 선별을 수행합니다. 응용 프로그램이 선별에 실패하면 통합 절차에서 응용 프로그램을 거부합니다. 신청이 통과되면 통합 절차에서 사례담당자가 검토할 수 있도록 대기열을 지정합니다.

더 일반적인 검색 용어를 사용하십시오.
필터 수를 줄여 검색 범위를 확장하십시오.
혜택 신청자 평가 신청에 대한 개별 신청 레코드가 생성될 때 통합 절차를 호출하는 트리거를 만듭니다. 통합 절차는 신청서에서 명명된 참가자가 미국 시민인지 여부를 확인하는 등 신청서에 대한 기본 선별을 수행합니다. 응용 프로그램이 선별에 실패하면 통합 절차에서 응용 프로그램을 거부합니다. 신청이 통과되면 통합 절차에서 사례담당자가 검토할 수 있도록 대기열을 지정합니다.
| 지원되는 제품 버전 보기 |
| 필요한 사용자 권한 | |
|---|---|
| Apex 트리거 정의: | 작성자 Apex |
trigger ProcessIAForBenefitAssistance on IndividualApplication (after update) {
String procedureName = 'BenefitManagement_ProcessIndividualApplication';
Map <String, Object> ipInput = new Map <String, Object> ();
Map <String, Object> ipOutput = new Map <String, Object> ();
Map <String, Object> ipOptions = new Map <String, Object> ();
for (IndividualApplication ia: trigger.new) {
/* Populating input map for an Integration Procedure. Follow whatever structure your VIP expects */
if(ia.Status == 'Submitted' && ia.Category == 'Benefit') {
String recordId = ia.Id;
ipInput.put('RecordId', recordId);
/* Call the IP via runIntegrationService, and save the output to ipOutput */
ipOutput = (Map <String, Object>) Omnistudio-Namespace-Prefix.IntegrationProcedureService.runIntegrationService(procedureName, ipInput, ipOptions);
System.debug('IP Output: ' + ipOutput);
}
}
}

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 are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security 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 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.