• Shylu
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi all,

I need to update whoid on task and here is my simplified trigger which is not working.

trigger UpdateWhoID on Task (before insert, before update)
{
        for(Task t:Trigger.new)
        {
                t.whoid='003c000000csRby';    
        }
}

Note: Shared Activities is enabled in the organization.
  • August 03, 2015
  • Like
  • 0