Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Energy & Utilities Cloud
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
          Troubleshoot Static Resources Migration for Utilities Self Service Portal

          Troubleshoot Static Resources Migration for Utilities Self Service Portal

          Troubleshoot issues that can occur when you deploy Utilities Self Serve Portal datapacks to your org.

          Error deploying decisionMatrixDefinition and expressionSetDefinition metadata

          Visual Studio Code displays an error that reads:

          salesforce_sfdx/main/default/decisionMatrixDefinition/Utilities_Application_Approval_DM.decisionMatrixDefinition-meta.xml  Matrix cannot be updated/deleted when the associated decision matrix version is enabled.              
          salesforce_sfdx/main/default/expressionSetDefinition/Utilities_Application_Approval_Rule.expressionSetDefinition-meta.xml  This Expression Set Version already exists in Active state, Please create a new version and try again.

          The error may be caused if the decisionMatrixDefinition (Utilities_Application_Approval_DM) and expressionSetDefinition(Utilities_Application_Approval_Rule) metadata present in zip are already available in the org.

          To solve this problem, ignore decisionMatrixDefinition and expressionSetDefinition components in the list, then select the rest of the components and deploy them.

          Deploy all components except the expression set and decision matrix components

          Error deploying EUC_SSP_OSRT_Sfdx_Datapacks metadata

          The static resource permission set fails while deploying with an error -

          The permission set license doesn't allow Apex Class Access

          To solve this issue, perform the following:

          1. Download and unzip EUC_SSP_OSRT_Sfdx_Datapacks.
          2. Go to salesforce_sfdx/main/default/permissionsets/
            1. Open the OmniStudio_User_Read.permissionset-meta.xml file and remove the following code.
              <classAccesses>
                  <apexClass>vlocity_cmt__DefaultOmniScriptEditBlock</apexClass>
                  <enabled>true</enabled>
                </classAccesses>
                <classAccesses>
                  <apexClass>vlocity_cmt__DefaultUserCustomLabelsImplementation</apexClass>
                  <enabled>true</enabled>
                </classAccesses>
            2. Save your changes.
            3. Open the EnergySelfServiceCCUser.permissionset-meta.xml file and add the following code.
              <classAccesses>
                     <apexClass>vlocity_cmt__DefaultOmniScriptEditBlock</apexClass>
                     <enabled>true</enabled>
                     </classAccesses>
                     <classAccesses>
                     <apexClass>vlocity_cmt__DefaultUserCustomLabelsImplementation</apexClass>
                     <enabled>true</enabled>
                     </classAccesses>
            4. Save your changes.
            5. Open the EnergySelfServiceGuestUser.permissionset-meta.xml file and add the following code.
              <classAccesses>
              
                  <apexClass>vlocity_cmt__DefaultOmniScriptEditBlock</apexClass>
              
                  <enabled>true</enabled>
              
                </classAccesses>
            6. Save your changes.
          3. Zip the parent folder and deploy.
           
          Loading
          Salesforce Help | Article