sfpowerscripts
sfpowerscripts copied to clipboard
Picklist deploy resulting in "Cannot update or delete a picklist while a picklist background job is being executed" error
Describe the bug
"Cannot update or delete a picklist while a picklist background job is being executed"
thrown upon pre picklist deployer (see screenshot below).
To Reproduce This is an intermittent, but frequent issue (≈ 5–10% of pipeline runs). This occurs when there are multiple picklists to be deployed in the pre deployer.
Expected behavior
When getting "Cannot update or delete a picklist while a picklist background job is being executed"
, retry the picklist deployment.
Screenshots
Platform Details (please complete the following information):
- OS: Linux
- Version [e.g. CLI Version eg: 1.6.6]: 25.5.3
- Salesforce CLI(sfdx cli) Version: sf version that is on 25.5.3
- CI Platform: Azure DevOps
@petter-eikeland Can you create this issue in
https://github.com/flxbl-io/sfp
@azlam-abdulsalam No issue button though 😅 You might need to enable issues in that repo
I've enabled Issues so please go ahead @petter-eikeland.