You need to sign in to do that
Don't have an account?
Sebastian Roeder
Update lookup field with releated Objects lookup field value
Hi,
I have a lookup field on my "Case" object and im trying to Update "lookupfield__c" with values from a releated Objects lookup fields value.
I tryed with the Processbuilder but i never was able to get the value or the Process didnt run.:(
Do you have any ideas?
When iam using Formula i only get the SF ID back in my field (and dont have a lookup) and its not linked to the record.
Thanks.
regards
Sebastian
I have a lookup field on my "Case" object and im trying to Update "lookupfield__c" with values from a releated Objects lookup fields value.
I tryed with the Processbuilder but i never was able to get the value or the Process didnt run.:(
Do you have any ideas?
When iam using Formula i only get the SF ID back in my field (and dont have a lookup) and its not linked to the record.
Thanks.
regards
Sebastian
trigger updateproject on case (before insert, before update)
{ for (case a : Trigger.new)
{ a.Project__c = a.nlookup2__c;
}
}
If that's the situation - then how do you know which custom object record id is suppose to go into the Case lookup field? The first one found? The last one? Some other criteria?