I have a trigger to feed to Chatter Event activities. It predates Salesforce's chattering of activites and I'd like to keep it.
It works when I use the manual web interface. Upon investigating debugs now the WhatId is blank during the trigger run but when I pull the event later in the Excel Connector, the WhatId is not blank - it has been associated.
The trigger runs after insert and associates via the field WhatId - what I need to use. AccountId field is also blank during the trigger run.
Any suggestions? Do I need to run a batch after this, later than the 'after insert"? How can the event be inserted and associated but return a null WhatId?