Replies: 7 comments 4 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
Beta Was this translation helpful? Give feedback.
-
This issue has been linked to a new work item: W-11385847 |
Beta Was this translation helpful? Give feedback.
-
related discussion: #2544 |
Beta Was this translation helpful? Give feedback.
-
Reported GH issues on this topic: |
Beta Was this translation helpful? Give feedback.
-
In my opinion, when deploying workflow children is fixed, it would be nice to allow child workflows to be separated into their own meta files rather than all workflows for a Parent being contained in 1 meta file. Something like this: My team keeps running into the issue of overwriting workflows depending on how the person retrieves the workflow (if they just retrieve 1 child workflow, it overwrites the entire workflow meta file). A couple of guys on team wish that workflow files were more granular so that you could deploy just 1 child workflow file without affecting other child workflows from the same parent. Since deploying Children Workflows is already broken via the CLI, it could be an opportunity to update how the CLI creates workflow meta files upon retrieval. |
Beta Was this translation helpful? Give feedback.
-
I can confirm that all these scenarios work with the new feature. Also tried a few other things (esp around deleting and change tracking). |
Beta Was this translation helpful? Give feedback.
-
Summary
Converting and deploying and retrieving
Workflow
s and child types likeWorkflowFieldUpdate
is broken.I'm aware that
Workflow
is currently not decomposed but I think it could be easily decomposed because it contains only fully addressable child components.The described behavior further shows that in non-decomposed form,
Workflow
cannot be placed in multiple package directories.Steps To Reproduce:
The following repo contains 3
WorkflowFieldUpdate
components split over multiple package directories:force-app
:Case.ChangePriorityToHigh
,Case.ChangePriorityToMedium
another-package
:Case.ChangePriorityToLow
Repository to reproduce: mdapi-issues/sfdx-workflow-handling
sfdx force:source:convert -m Workflow:Case -d mdapi
sfdx force:source:convert -m WorkflowFieldUpdate:Case.ChangePriorityToHigh -d mdapi
sfdx force:source:retrieve -m WorkflowFieldUpdate:Case.ChangePriorityToHigh
Expected result
mdapi/workflows/Case.workflow
metadata filemdapi/workflows/Case.workflow
metadata fileforce-app/main/default/workflows/Case.workflow-meta.xml
or updatesanother-package/workflows/Case.workflow-meta.xml
Actual result
Case.ChangePriorityToLow
) are converted tomdapi/workflows/Case.workflow
workflowFieldUpdates
instead ofworkflows
):mdapi/workflowFieldUpdates/Case.workflow
force-app/main/default/workflows/Case.workflow-meta.xml
is overwrittenSystem Information
zsh
Additional information
Beta Was this translation helpful? Give feedback.
All reactions