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

REQUEST: Deep Clone action - Ability to edit/default field values on parent cloned record #1464

Open
baobao917 opened this issue Sep 26, 2023 · 0 comments

Comments

@baobao917
Copy link

Is your feature request related to a problem? Please describe.

When using Deep Clone, it creates a cloned record based on the recordId you provide which copies all field values from that record. However, there is a need to either default field values to a different value OR to exclude certain field values from being copied over. For example, Opp.Stage set to New instead of original Opp.Stage=Closed Won or set Opp.SyncedQuoteId (lookup) field = null instead of copying over the original Opp.SyncedQuoteId.

The issue is that if you create the cloned parent record outside of the Deep Clone apex action, then when it comes time to clone the related child records, it doesn't have the newly cloned parent record Id.

Describe the solution you'd like
Ability to either set parent record field values (to either default or set to null) within the Deep Clone action OR if it is necessary to create the cloned parent record outside of the deep clone apex action, to then be able to update all the deep clone related list output collections with that newly created cloned parent record Id.

Describe alternatives you've considered
N/A

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant