Describe the bug
When a Business Process is renamed, related Record Types aren't pulled
To Reproduce
Steps to reproduce the behavior:
Create a Scratch Org
Create a Sales Process (= Business Process) named "My Processes"
Go to Opportunity, create a Record Type using this process
Pull everything
Change the process name to "My Process" (or whatever other name)
Pull again
Expected behavior
Both Business Process and Record Type should be pulled, but only the Business Process, which means that the local metadata of the Record Type still references the old name, and thus is invalid.
Describe the bug When a Business Process is renamed, related Record Types aren't pulled
To Reproduce Steps to reproduce the behavior:
Expected behavior Both Business Process and Record Type should be pulled, but only the Business Process, which means that the local metadata of the Record Type still references the old name, and thus is invalid.