Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't pull RuleLibraryDefinition with the cli #3099

Open
arazkevichprodly opened this issue Nov 6, 2024 · 5 comments
Open

Can't pull RuleLibraryDefinition with the cli #3099

arazkevichprodly opened this issue Nov 6, 2024 · 5 comments
Labels
bug Issue or pull request that identifies or fixes a bug investigating We're actively investigating this issue validated Version information for this issue has been validated

Comments

@arazkevichprodly
Copy link

arazkevichprodly commented Nov 6, 2024

I followed these steps and couldn't pull the type RuleLibraryDefinition

  1. created new project with sf project generate -n test
  2. created a new package.xml file with this content: <?xml version="1.0" encoding="UTF-8"?><Package xmlns="http://soap.sforce.com/2006/04/metadata"><types><name>RuleLibraryDefinition</name><members>DRORuleLibrary</members><members>RLM_ConfiguratorRuleLibrary</members></types> <version>60.0</version></Package>
  3. Attempted to pull metadata from an org using sfdx force:mdapi:readmetadata -m "ContractType" -u <org>
  4. Got error message
image
@arazkevichprodly arazkevichprodly added the investigating We're actively investigating this issue label Nov 6, 2024
Copy link

github-actions bot commented Nov 6, 2024

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

Copy link

github-actions bot commented Nov 6, 2024

Hello @arazkevichprodly 👋 It looks like you didn't include the full Salesforce CLI version information in your issue.
Please provide the output of version --verbose --json for the CLI you're using (sf or sfdx).

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue.
    • A repository that clearly demonstrates the bug is ideal.
  • Make sure you've installed the latest version of Salesforce CLI. (docs)
    • Better yet, try the rc or nightly versions. (docs)
  • Try running the doctor command to diagnose common issues.
  • Search GitHub for existing related issues.

Thank you!

@github-actions github-actions bot added more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels Nov 6, 2024
@arazkevichprodly
Copy link
Author

Hello @arazkevichprodly 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. Please provide the output of version --verbose --json for the CLI you're using (sf or sfdx).

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue.

    • A repository that clearly demonstrates the bug is ideal.
  • Make sure you've installed the latest version of Salesforce CLI. (docs)

    • Better yet, try the rc or nightly versions. (docs)
  • Try running the doctor command to diagnose common issues.

  • Search GitHub for existing related issues.

Thank you!

{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.64.8",
"nodeVersion": "node-v20.17.0",
"osVersion": "Darwin 24.0.0",
"rootPath": "/Users/razkevich/.local/share/sf/client/2.64.8-21fd4e6",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.6 (core)",
"@oclif/plugin-commands 4.1.3 (core)",
"@oclif/plugin-help 6.2.16 (core)",
"@oclif/plugin-not-found 3.2.22 (core)",
"@oclif/plugin-plugins 5.4.15 (core)",
"@oclif/plugin-search 1.2.12 (core)",
"@oclif/plugin-update 4.6.6 (core)",
"@oclif/plugin-version 2.2.15 (core)",
"@oclif/plugin-warn-if-update-available 3.1.20 (core)",
"@oclif/plugin-which 3.2.16 (core)",
"@salesforce/cli 2.64.8 (core)",
"apex 3.5.4 (core)",
"api 1.3.1 (core)",
"auth 3.6.70 (core)",
"custom-metadata 3.3.35 (user) published 24 days ago (Sun Oct 13 2024) (latest is 3.3.37)",
"data 3.8.1 (core)",
"deploy-retrieve 3.13.1 (core)",
"info 3.4.13 (core)",
"limits 3.3.36 (core)",
"marketplace 1.3.0 (core)",
"org 4.7.2 (core)",
"packaging 2.8.12 (core)",
"schema 3.3.37 (core)",
"settings 2.3.24 (core)",
"sobject 1.4.42 (core)",
"source 3.5.21 (core)",
"telemetry 3.6.17 (core)",
"templates 56.3.24 (core)",
"trust 3.7.35 (core)",
"user 3.5.33 (core)",
"sfdx-plugin-source-read 1.3.0 (user) published 0 days ago (Tue Nov 05 2024)"
]
}

@github-actions github-actions bot added validated Version information for this issue has been validated investigating We're actively investigating this issue and removed more information required Issue requires more information or a response from the customer labels Nov 6, 2024
@cristiand391
Copy link
Member

interesting, I don't see it in the metadata coverage:
https://developer.salesforce.com/docs/metadata-coverage/62

just to confirm, do you see the metadata listed when you run this:

sf org list metadata --metadata-type RuleLibraryDefinition

@cristiand391 cristiand391 added the bug Issue or pull request that identifies or fixes a bug label Nov 11, 2024
Copy link

git2gus bot commented Nov 11, 2024

This issue has been linked to a new work item: W-17203557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug investigating We're actively investigating this issue validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

2 participants