1 resposta
You could try doing this with Process Builder.
Build a process with a criteria step that checks the following:
1. Lookup2 is changed (is changed = true)
2. Lookup2 is not empty (is null = false)
3. Lookup1 is empty (is null = true)
If the criteria is met, set the value of Lookup1 to Lookup2.
You can create a second criteria step to populate Lookup2 is Lookup1 is populated.