FavoriteKrishnakumar Raghu asked in #ApexMar 4, 2016, 5:07 PMTrigger - Update Task field based on Case fieldHi Team, I have a custom field on task object. Whenever, there is a change in Case custom field, i would like to update the custom field in task. Please let me know, to achieve it through trigger ..7 answersSortSort by DateSort by Most HelpfulSort by DateLoad more comments...Accepted AnswerVenkateswara Reddy DubbaMar 4, 2016, 5:32 PMAnd to get customfield, use belowTrigger.newmap.get(child.WhatId).customfield to get value of custom field on caseAdd a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Accepted AnswerVenkateswara Reddy DubbaMar 4, 2016, 5:32 PMAnd to get customfield, use belowTrigger.newmap.get(child.WhatId).customfield to get value of custom field on case