Loading
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create a Batch Job Definition

          Create a Batch Job Definition

          Define a batch job that selects eligible insurance policies based on filter criteria and invokes a flow to process policies in bulk.

          1. In Setup, find and select Batch Management.
          2. Click New.
          3. Provide these details.
            1. Specify a name of the batch job.
            2. Select Flow as the process type.
            3. In Execution Process, select the auto-launched flow that you created for policy renewal.
            4. Enter the batch size, up to 2,000 records.
            5. Enter the retry count.
              Set the retry count with caution. If the renewInsurancePolicies invocable action runs successfully but the flow fails later, the policy is still renewed because it's already enqueued. Retrying can result in duplicate renewals.
            6. In Retry Interval, enter the time (in milliseconds) to wait before running the failed batch job again.
          4. Click Next.
          5. In Flow Input Variable, specify the text variable to accept the Policy ID.
          6. Select Insurance Policy as the object.
          7. Set the filter conditions to return unique and valid policy records for renewal.
          8. Save your changes, and activate the batch job.
           
          Loading
          Salesforce Help | Article