카테고리 없음
[Salesforce] Trigger 사용 가이드
Like A Flowing Cloud
2022. 8. 29. 11:22
[트리거 사용 가이드]
1. 예약어 확인 : https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_reserved_words.htm
2. 거버너 리밋 확인 : https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_apexgov.htm
3. Trigger -> Class (Extend : TriggerHandler) 사용
4. 명명 규칙
5. 개념
1) Bulk API : 대량데이터 삽입이, 모든 데이터 -> 모든 로직을 검증할 수 있도록 처리
2) Governer Limit Check : Bulk 진행시 Governer Limit 제한을 넘지 않도록 주의
( 반복문 안에서 soql 문 돌리면 안됨.)