-
Notifications
You must be signed in to change notification settings - Fork 78
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
Unable to retrieve new Expression set version using CLI #2823
Comments
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. |
Hello @svpsiva 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
{ |
I was able to reproduce this {
"orgName": "Sample Org",
"edition": "developer",
"features": [
"ADVANCEDDECISIONTABLE"
]
} app launcher -> expression sets -> create -> save -> activate ➜ sf project retrieve start
Retrieving v60.0 metadata from [email protected] using the v60.0 SOAP API
Preparing retrieve request... Succeeded
Retrieved Source
======================================================================================================================================================
| State Name Type Path
| ─────── ─────────────────────────────── ─────────────────────── ────────────────────────────────────────────────────────────────────────────────────
| Created test ExpressionSetDefinition force-app/main/default/expressionSetDefinition/test.expressionSetDefinition-meta.xml
| Created ExpressionSetConsole_UtilityBar FlexiPage force-app/main/default/flexipages/ExpressionSetConsole_UtilityBar.flexipage-meta.xml
---
Increment the version by 1 in the org
---
➜ dreamhouse-lwc git:(main) ✗ hub:(DevHub) scratch:([email protected])
➜ sf project retrieve preview
No conflicts found.
No files will be deleted.
Will Retrieve [4] files.
Type Fullname Path
────────────────────────────── ───────────────────────── ────
ExpressionSetDefinitionVersion test_V1
ExpressionSetDefinitionVersion test_V1CLONE0
ExpressionSetDefinitionVersion test_V1CLONE0CLONE0
ExpressionSetDefinitionVersion test_V1CLONE0CLONE0CLONE0
No files were ignored. Update your .forceignore file if you want to ignore certain files.
➜ dreamhouse-lwc git:(main) ✗ hub:(DevHub) scratch:([email protected])
➜ sf project retrieve start
Retrieving v60.0 metadata from [email protected] using the v60.0 SOAP API
Preparing retrieve request... Succeeded
› Warning: Nothing retrieved |
This issue has been linked to a new work item: W-15489723 |
This issue applies to ExpressionSetDefinitionVersion and DecisionMatrixDefinitionVersion, both for retrieve and deploy using Salesforce CLI - tested with the latest version 2.38.7. The following example manifest file does not retrieve from org, and does not deploy to org:
|
@mshanemc, @shetzel, @WillieRuemmele, before we close this issue, can we ensure it also works for the sub-expression sets? I was testing the latest release candidate to retrieve
I've raised support ticket #467793105 because it fails both when trying to deploy it directly and when using Package Manager. There's still much to be done to support these metadata types properly because even the legacy vlocity-build managed this (and it also deployed matrix row data, not just headers). CC: @svpsiva, @twardegaSFDC |
This issue is fixed in version 2.49.7 (July 10, 2024). |
@jshackell-sfdc, before we close this issue, can you please check my comment about sub-expression sets? Has this scenario been tested? |
Summary
Steps To Reproduce
sf project retrieve preview -o MyScratchOrg
No conflicts found.
No files will be deleted.
Will Retrieve [3] files.
Type Fullname Path
─────────────────────────────── ────────────────────── ────
DecisionMatrixDefinitionVersion Fixed_deposit_rates_V1
ExpressionSetDefinitionVersion FD_calculator_V1
ExpressionSetDefinitionVersion FD_calculator_V1CLONE0
sf project retrieve start -o MyScratchOrg
Retrieving v59.0 metadata from [email protected] using the v60.0 SOAP API
Preparing retrieve request... Succeeded
› Warning: Nothing retrieved
Expected result
SFDX cli should have retrieved the new version of expression set.
Actual result
Nothing was retrieved
The text was updated successfully, but these errors were encountered: