sfpowerscripts icon indicating copy to clipboard operation
sfpowerscripts copied to clipboard

Picklist deploy resulting in "Cannot update or delete a picklist while a picklist background job is being executed" error

Open petter-eikeland opened this issue 1 year ago • 3 comments

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 image

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 avatar Jan 17 '24 08:01 petter-eikeland

@petter-eikeland Can you create this issue in

https://github.com/flxbl-io/sfp

azlam-abdulsalam avatar Jan 17 '24 08:01 azlam-abdulsalam

@azlam-abdulsalam No issue button though 😅 You might need to enable issues in that repo

petter-eikeland avatar Jan 17 '24 08:01 petter-eikeland

I've enabled Issues so please go ahead @petter-eikeland.

crazynammer avatar Jan 19 '24 16:01 crazynammer