---
schema_version: "1"
id: 5b5ef30ee7c8cb431ba71af40a3697c0dfb616dbced24a74aeb0e77236bfe99b
title: Use Apex Jobs in Power Update
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_use_apex_jobs_in_power_update.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_use_apex_jobs_in_power_update.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fe65e73b964647e153981dc665162fb1eb7f737715fbdc91ee996dcaab6321c9
description: The DefaultPowerUpdateJobThreshold custom setting controls when an Apex job handles a Power Update operation. By default, if there are 200 or more line items, Power Update uses an Apex job. You can change the threshold for when to use an Apex job in Power Update.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Use Apex Jobs in Power Update

The DefaultPowerUpdateJobThreshold custom setting controls when an Apex job handles a Power Update operation. By default, if there are 200 or more line items, Power Update uses an Apex job. You can change the threshold for when to use an Apex job in Power Update.

To change the DefaultPowerUpdateJobThreshold custom setting:

1. From Setup, in the **Quick Find** box, enter **Custom Settings**.
2. Click **Custom Settings**.
3. Next to CPQ Configuration Setup, click **Manage**.
4. Next to DefaultPowerUpdateJobThreshold, click **Edit**.
5. In **Setup Value**, enter a new threshold.
    
    If the number of selected line items exceeds this threshold, an Apex job handles the Power Update operation.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_note.png)
    
    Note
    
    If you delete the value, there is no threshold; that is, an Apex job will never handle a Power Update operation.
6. Click **Save**.
    
    When an Apex job handles a Power Update operation, Power Update notifies the user with the Apex job ID. The Records panel is not automatically refreshed when an Apex job runs. Power Update runs the job in multiple batches with a batch size of the threshold value.
    
    To check the status of an Apex job, from Setup, in the **Quick Find** box, enter Apex jobs.