function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pooja NekkalapudiPooja Nekkalapudi 

clone a case with case parent filled in

Is there a way to clone a case and make the orignal case the Parent on the cloned case?
NagendraNagendra (Salesforce Developers) 
Hi Pooja,

If you wanna populate the parent Case number on a cloned case field try the below approach:-
 
Have a custom clone button(URL) which would send the value to fields through URL parameters.
 
essentially in URL, u have to specify something like this
/{!Case.Id}/e?clone=1&00N80000002voCf={!Case.CaseNumber}
Where the 00N80000002voCf is the field id.

Hope this helps.

Kindly mark this as solved if the reply was helpful so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Thanks,
Nagendra