-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
more information requiredIssue requires more information or a response from the customerIssue requires more information or a response from the customer
Description
Summary
Salesforce CLI appears to be unable to deploy workflow elements for Standard objects when those workflow elements are specified in the package.xml as individual metadata elements (i.e. WorkflowRule, WorkflowAlert, WorkflowFieldUpdate, etc.) and not as a whole workflow metadata element (i.e. Workflow).
Steps To Reproduce:
- Create a workflow rule with a workflow email alert and workflow field update on the Account object
- Create a package.xml file listing each of the elements individually in WorkflowRule, WorkflowAlert, WorkflowFieldUpdate, metadata types.
- Retrieve the metadata. (this works correctly)
- Deploy the workflow to another org. (Failure point)
Expected result
The workflow elements should be deployed to the target org
Actual result
No deployment occurs. The error seen is:
=== Deployed Source
No results found
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.77.0-112dd7d412 darwin-x64 node-v12.18.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.2.0
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.0 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.9.1 (core)
@oclif/plugin-update 1.3.10 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.4.3 (core)
alias 1.1.2 (core)
analytics 1.12.1 (core)
auth 1.3.0 (core)
config 1.1.9 (core)
generator 1.1.3 (core)
salesforcedx 50.2.0 (core)
├─ templates 50.1.0 (core)
├─ custom-metadata 1.0.10 (core)
├─ salesforce-alm 50.2.0 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
└─ apex 0.1.1 (core)
sfdmu 3.7.17
sfdx-cli 7.77.0 (core)
shane-sfdx-plugins 4.41.2
├─ @mshanemc/sfdx-sosl 1.1.0
└─ @mshanemc/plugin-streaming 1.1.7
soqlx-opener 0.1.12
OS and version:
MacOS v10.15.7
akalatksy
Metadata
Metadata
Assignees
Labels
more information requiredIssue requires more information or a response from the customerIssue requires more information or a response from the customer