6 votes
Accepted

How do I set "enableHistory" to "true" on a managed object in a scratch org?

This is a frustratingly tricky area. There's one simple (but somewhat fragile) solution, and one programmatic (but reliable) solution. Simple But Fragile You need to pull down (via, for example, sfdx ...
David Reed's user avatar
  • 92.6k
6 votes
Accepted

"ERROR running force:source:push" when doing "cci task run dx_push" to a Developer edition org

Use the deploy task to deploy to a persistent org that does not have source tracking (as Developer Editions do not): cci task run deploy --org thead-dev001 You can use this against Trailhead ...
David Reed's user avatar
  • 92.6k
5 votes
Accepted

cumulusci commit message not generated

Disclosure: I am a Salesforce employee and the author of much of this code in CumulusCI. There's a few different things that need to happen to make this very complex process work, but once you get ...
David Reed's user avatar
  • 92.6k
3 votes
Accepted

CCI scratch org management

You almost certainly have a Dev Hub set as your project default. To confirm that, run cci service info devhub. If you do not receive a message stating devhub is not configured for this project. Use ...
David Reed's user avatar
  • 92.6k
3 votes

CumulusCI 'utf-8' error

I am on the CumulusCI team at Salesforce.org. This issue almost certainly indicates that your local repository contains a critical file (probably cumulusci.yml) that is not correctly saved in UTF-8 ...
David Reed's user avatar
  • 92.6k
3 votes
Accepted

Scratch org creation hangs

Your sporadic errors occurring in the recent weeks are likely due to this known issue which was created around that time period: sfdx force:org:create getting failed with an error - Socket timeout ...
Kris Goncalves's user avatar
3 votes
Accepted

Cumulus CI deletes custom list views from production

I am on the CumulusCI team at Salesforce.org. I really do not recommend using the dev_org flow to deploy to production. That's not what that flow is intended to do, and it may have unintended ...
David Reed's user avatar
  • 92.6k
3 votes
Accepted

CumulusCI trailhead challenge stuck due to cci error

I am a coauthor of CumulusCI and of this Trailhead module. Your repository contains some metadata that's not supposed to be there. My best guess is that when you completed Make and Capture ...
David Reed's user avatar
  • 92.6k
3 votes
Accepted

Trying to connect to someone else's Scratch Org via CumulusCI - does Cci allow this; if so how, if not why?

Since you've established a link to the org already via Salesforce DX, you can use the cci org import command to add it to CCI: $ sfdx force:org:list ALIAS SCRATCH ORG NAME ...
David Reed's user avatar
  • 92.6k
3 votes
Accepted

Does CumulusCI help with the deployment of per version layout and flexi-page changes?

This is fundamentally a Hard Problem, or rather two hard problems. CumulusCI can support you in implementing solutions to those hard problems, but it won't abstract them away. Problem 1: Upgrading ...
David Reed's user avatar
  • 92.6k
2 votes

How to push code to an org using a CCI command?

CumulusCI executes commands against the org whose name you specify with --org. If that org does not yet exist, CumulusCI creates an empty org and executes the command against it. Before running tests,...
David Reed's user avatar
  • 92.6k
2 votes

Load PricebookEntry in empty Scratchorg with Cumulusci

Whitespace and indentation are significant in YAML. This mapping file isn't valid and would result in CumulusCI missing information and misunderstanding your intent. A correctly-formatted version of ...
David Reed's user avatar
  • 92.6k
2 votes
Accepted

Cumulus CI: Cannot connect sandbox org after upgrade to latest version (3.35.0)

I am on the CumulusCI team at Salesforce.org This is a bug in CumulusCI 3.35.0 that will be fixed in our next release in two days (safe harbor). We have a number of reports that using the --login-url ...
David Reed's user avatar
  • 92.6k
2 votes
Accepted

snowfakery INVALID_CROSS_REFERENCE_KEY error when doing Insert PermissionSetAssignment

Answered over on the CumulusCI group in trailhead by Paul Prescod (Salesforce.org) Snowfakery and CCI need to infer in what order to load data based on relationships between records. Your particular ...
Mark Irvine's user avatar
2 votes

Bulk upload data with cumulusci

Data loading and extraction in CumulusCI is documented in Automating Data Operations. The load_dataset task defaults to using the Bulk API or the REST API based on data volume. For small record ...
David Reed's user avatar
  • 92.6k
2 votes
Accepted

How do I add active TDTM trigger handler records to an org with CumulusCI?

There are at least four ways to do this. Dataset Tooling You can persist (as you discuss in your question) your TDTM trigger handler records as part of a CumulusCI dataset, optionally alongside other ...
David Reed's user avatar
  • 92.6k
2 votes
Accepted

Help with SFDX 2GP release version error: "You cannot install an unlocked package without a namespace into an org with a namespace."

The issue is due to the Namespace collision rule criteria discussed here. I am assuming that you are building a namespaced Unlocked package that has the dependencies on the non-Namespaced Unlocked ...
Mohith Shrivastava's user avatar
2 votes

Getting "Error: no such option: --extra" for cci task run dx_push --extra -f

I just tested this and found it worked fine with CumulusCI 3.60.0 (the latest version). Please make sure you're up to date. Here's the log: sea-dreamin main $ cci task run dx_push --extra -f --org dev ...
David Reed's user avatar
  • 92.6k
2 votes
Accepted

How to pass multiple arguments to a test case using CumulusCI?

How to pass multiple arguments to a test case in CumulusCI test automation framework? The way you are doing it is the correct way: -o vars var1:value1,var2:value2 Here's a really simple example: ***...
Bryan Oakley's user avatar
2 votes
Accepted

What's the right way to data-load sample data from a CumulusCI dependency

Yes, you can do this. Use the sources feature to run the load_dataset task from a remote project. It would look something like this: sources: eda: github: https://github.com/...
David Reed's user avatar
  • 92.6k
2 votes
Accepted

Does CCI support Patch Org management?

cci flow run ci_master --org my-patch-5.49 This command represents CumulusCI deploying to a patch org. Patch orgs (and, for that matter, packaging orgs!) are not special from CCI's perspective. They'...
David Reed's user avatar
  • 92.6k
1 vote

Turning off Visual Flows through CCI

I am a member of the Cumulus Suite team. CumulusCI currently supports activating and deactivating TDTM (Table Driven Trigger Management) triggers for NPSP and EDA, but does not offer the capability to ...
David Reed's user avatar
  • 92.6k
1 vote

Is it possible to authenticate your packaging orgs using a connected app in your DevHub org using jwt auth flow?

After doing some more digging, I realize my question is from a lack of understanding of DevHubs, scratch orgs, and the relationship between the two. If you create a connected app in your devhub, you ...
Aggressive Pickle's user avatar
1 vote
Accepted

Cumulus CI Flow has become very slow deploying force-app to a new scratch org - what might affect the speed it processes?

I am on the CumulusCI team at Salesforce. The logs that you've shared show that the slowdown is taking place during CumulusCI's monitoring of a Metadata API deployment. Unfortunately, that means that ...
David Reed's user avatar
  • 92.6k
1 vote
Accepted

Creating second generation package - stuck on Initializing

Unfortunately, the fact that both clients (cci and sfdx) show the same infinite polling behavior indicates that this issue is inside the platform. Neither the CumulusCI team (my team) nor the SFDX ...
David Reed's user avatar
  • 92.6k
1 vote
Accepted

Cumulus CI: Automate Data Operations to associate parent record with child

Disclosure: I am on the CumulusCI team and I wrote the code that does this type of data load. Yes, you can load Account hierarchies and other hierarchies using CumulusCI. CumulusCI executes this as ...
David Reed's user avatar
  • 92.6k
1 vote

CumulusCI: Connect to org by specifying username and password right in command line

Is there any way to provide username and password right into cci command line (despite how insecure it might seem at first glance)? No, there isn't. CumulusCI does not implement the Username-Password ...
David Reed's user avatar
  • 92.6k
1 vote

CumulusCI error - 'utf-8'

WSL is not officially supported for CumulusCI, but I managed to find a way to fix the issue, shown in the steps below, it could be a workaround until Salesforce.org fixes this issue on WSL. Create a ...
Jun Liu's user avatar
  • 29
1 vote
Accepted

Generate sfdxAuthUrl from CumulusCI

Basically, sfdxAuthUrl works only if you authenticate with force:auth:web:login. Reference: How to login to a ScratchOrg that was created by CI/CD scripts?
Nicholas's user avatar
  • 177
1 vote

Error when Merges the latest commit on the master branch into all open feature branches

There's usually two things that cause this error: The git section of the project top-level section in cumulusci.yml is not populated correctly. It should look something like this: git: ...
David Reed's user avatar
  • 92.6k

Only top scored, non community-wiki answers of a minimum length are eligible