+ Start a Discussion
summerprojectsummerproject 

Updating custom object field by editing a standard object field

Hello,

 

I have been trying to create a workflow that will cause a custom object field to change when I edit a field on standard object field. I found out that workflows don't work between standard and custom objects, they have to be both standard or both costum.

Does anyone know how I update custom object  field by editing a standard object field? Or, what are object links? can I do this using object links? (Object to link my standard and costum objects)?

Any ideas will be appreciated. Thanx.

wesnoltewesnolte

Hey

 

You could create an update or insert trigger on the standard object. The code for the trigger would be written in apex and could update the field of the custom object for you. A starting point for writing triggers would be here:

http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_triggers.htm?SearchType=Stem

 

 

Wes