LightningFlowComponents
LightningFlowComponents copied to clipboard
REQUEST: Deep Clone action - Ability to edit/default field values on parent cloned record
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