AnsweredAssumed Answered

Script to update fields from one layout to another and capture errors

Question asked by JayalakshmiMohan on Apr 16, 2015
Latest reply on Apr 17, 2015 by philmodjunk

Title

Script to update fields from one layout to another and capture errors

Post

Can someone help me with a script for the below requirement

1) Once a records is added/update in a layout 1 , it should be automatically inserted in another layout 2  as well

2) If a duplicate entry is added in the source layout 1, it should be created as new record in the destination layout 2

3) If the record is inserted successfully from layout 1 to 2, an successful message should be stored in layout 3

4) If the record is not inserted successfully, it must update the error message in layout 3

Outcomes