+ Start a Discussion
Deepika GhoseDeepika Ghose 

how to achieve update functonality in trigger where we have event after update?Will it update the record twice?

It will update recursively. So, you have to set a flag variable. once the trigger is fired, change the value of flag and do some value check in if condition.
the code will be like this
string flag=true;
if (Trigger.isupdate)
if (flag==true)
<update event>

Thank you