Lightning page action not found
Detection
- RegExp:
Error (.*) Component \[force:highlightsPanel\] attribute \[actionNames\]: We couldn't validate Custom Action (\S+)
Examples
Error Account_Record_Page Component [force:highlightsPanel] attribute [actionNames]: We couldn't validate Custom Action Account.Send_Invoice
Resolution
Lightning page {1} shows action {2} in its highlights panel, but {2} is not in the target org.
- Deploy the QuickAction {2}: retrieve it from your org with the Metadata Retriever of VS Code, commit it and save your User Story: sfdx-hardis adds it to manifest/package.xml
- With delta deployments, an item that did not change in the Pull Request is not deployed: change it in the Pull Request, or turn on useDeltaDeploymentWithDependencies (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)
- Or remove {2} from the actionNames of the highlights panel in {1}