Developer Console에서 배치 Apex를 실행하여 복잡한 자동화 처리를 작성합니다.
Id <variable name>= Database.executeBatch(new <Class name>(), batch size);
예제 코드:
Id batchJobId = Database.executeBatch(new RunThisBatch(), 200);
참고: Apex 클래스에서는 인터페이스 Database.Batchable을 구현해야 합니다. batchJobId에는 배치의 작업 ID가 포함됩니다. 배치 Apex 작업 실행을 모니터링하거나 중지하려면 설정에서 빠른 찾기 상자에 Apex 작업을 입력한 후 Apex 작업을 선택합니다.
000385654

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.