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

Need some help pls

Hello guys,
I need to copy a value from one recordtype to another, can i do it?
With a formula field or a workflow... i don´t really know.
Santhosh SSanthosh S
Hi Nuno.Carvalho,

You can achive this with Worflow field update, Create a new field update and if the object has recrod type, it will be shown as part of standard field section . once you choose record type it will show the list of available record type, and you can select one. Don't forgot to keep the workflow active.

Refer the below article

if your question is answered, please choose best answer. 

buggs sfdcbuggs sfdc
is it on same object?
Santhosh SSanthosh S
Yes its on same object.
Hi Santhosh,
This doesn´t work, the value i want to show depends on the contract,
I need a comparison to update the field with right value.
I have a recordtype named (players contract) and another named (agent-player contract),
i want to update a field on (agent-player contract) recordtype, named (salary__c) with the salary on (players contract).
If you have any question feel free to ask, sorry if my english is not the best.
Santhosh SSanthosh S
Hi Nuno,

In this case create a worflow field update and add players contract record type value what you want to show in formula and update to (agent-player contract) recordtype salary__c field.

Hi Santhosh,
I tried to create a workflow but it doesn´t update...
Sorry to bother you,
Thank you.
Swimming through thecloudSwimming through thecloud
Is it a master detail or lookup?. You can achieve this functionality with Process builders.
buggs sfdcbuggs sfdc
its possible with apex trigger,give a try?
Hi Raghavanarayana,
it´s a lookup .
Hi buggs,
Can you help me with the basics to write the trigger? pls.