BMC Helix Remedyforce : How to fix the error ‘Field Createddate is not editable’ received while updating CMDB record ?

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Helix Remedyforce Service Desk



    PROBLEM:

    How to fix the error ‘Field Createddate is not editable’ received while updating CMDB record in BMC Helix Remedyforce?


    CAUSE:

    Defect 104032


    SOLUTION:

    SCOPE:  If under Setup->User Interface-> Enable “Set Audit Fields upon Record Creation” and “Update Records with Inactive Owners” User Permissions checkbox is checked in your org, then while updating CMDB record this error “Field Createddate is not editable” is encountered.

    SOLUTION: This issue would be addressed under defect 104032, until then, one of the suggested workarounds can be applied.

    Workaround 1: Uncheck the checkbox Setup->User Interface->Enable “Set Audit Fields upon Record Creation” and “Update Records with Inactive Owners” User Permissions

    In general, Salesforce recommends that this feature only be enabled while doing data migration. In certain cases, such as routinely copying new data from an external system to Salesforce, this can be enabled permanently.
    https://help.salesforce.com/articleView?id=000331038&type=1&mode=1
     

       
    1. From Setup, enter ‘User Interface’ in the Quick Find box, then select User Interface. 
    2.  
    3. Uncheck Enable “Set Audit Fields upon Record Creation” and “Update Records with Inactive Owners” User Permissions.
    4.  
    5. Save
      
    Workaround 2: Limit permissions for Set Audit fields to Integration Users only via profiles / permission-sets.
    It is recommended to limit such permissions only to System Administrators who are involved in migrating data from external systems.
    To do that,
       
       
    1. From Setup, enter ‘Profile’ in the Quick Find box, Select the Integration Users Profile. 
    2.  
    3. Set the following profile permissions for this profile.     
           
      • Set Audit Fields upon Record Creation
      •    
      • Update Records with Inactive Owner
      •   
       
       
    1. This Permission should be removed from any other profile/permission set, if they have it.
      
    Workaround 3: Remove audit fields (Createddate, Createdby, LastmodifiedDate, LastmodifiedBy) from the Base element field set or Replace those with corresponding formula fields.
       
       
    1. From Setup, Open Base element Object
    2.  
    3. From the Base Element field set, remove the Audit fields:     
           
      • Createddate
      •    
      • Createdby
      •    
      • LastmodifiedDate
      •    
      • LastmodifiedBy
      •   
       
       
    1. If the data related to above fields need to be on UI, you can create corresponding formula fields for these Audit fields and add them to Base Element field set
      
       
    • From Setup, Open Base element Object
    •  
    • Create New Field.
    •  
    • Select Formula and click Next
    •  
    • In Field Label, type Label for the formula field.
    •  
    • Select the type of data the formula should return. (Eg. Date/Time for createddate)
    •  
    • Click Next. Formula Editor will get open, Insert the Createddate field.
    •  
    • After saving you can view the newly created field in the list.
    •  
    • Repeat above steps for the given Audit fields
    •  
    • Now, go back to the custom Object definition and add these Corresponding Formula fields to Base Element field set.
      
    Note:Once the fix is available, you may choose to continue or remove the workarounds.


      

     


    Article Number:

    000188555


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles