---
schema_version: "1"
id: e7ea27bbd973dea5d58ee885eb8172a46913153c9d8ec241b50ba3889e2ba49e
title: EPC Update Attribute Configurable Batch Job
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_epc_update_attribute_configurable_batch_job.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_epc_update_attribute_configurable_batch_job.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bd5dcc8a78920ac75c180856bf255344877b021e91dae803acd69f086b5b1e94
description: This job sets the IsConfigurable__c for products with attributes created prior to the use of the Product Console. For products that were created in legacy Salesforce Aloha page through the Attributes Setup component, the IsConfigurable__c flag was used differently than it is in Product Console.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# EPC Update Attribute Configurable Batch Job

This job sets the IsConfigurable\_\_c for products with attributes created prior to the use of the Product Console. For products that were created in legacy Salesforce Aloha page through the Attributes Setup component, the IsConfigurable\_\_c flag was used differently than it is in Product Console.

To update the flag for usage in Product Console, change the flag according to the logic:

1. If IsReadOnly\_\_c is False and IsConfigurable\_\_c is False, then set IsConfigurable\_\_c to True. Otherwise, do not change IsConfigurable\_\_c.
2. Enter a Datetime where all attribute assignments created before that date will be updated
3. Run the batch job in execute anonymous:
    
    ```
    Datetime createdBeforeDate = Datetime.newInstanceGmt(2016, 1, 1, 0, 0, 0); //example, change to reflect your date
    UpdateAttributeConfigurableBatchJob epcBatch = new UpdateAttributeConfigurableBatchJob(createdBeforeDate);
    Database.executeBatch(epcBatch);
    ```