+ Start a Discussion
Shamrock SnowmanShamrock Snowman 

Copy Comment into Activity Notes

I have a custom activity field called Activity Notes (255 text area) and I am looking to create a trigger that will automatically copy text from an activity's Comments field into that same activity's Activity Notes field.

 

Assuming that

  1. the Activity Notes field was otherwise blank for this activity (it will be), and 
  2. the Comment is <= 255 characters so that it will fit.  Ideally, even if the comment is longer the trigger would just copy over the first 255 characters of it.

 

Does anyone have any tips for such a trigger?

 

Thanks.