You need to sign in to do that
Don't have an account?
Write to FeedTrackedChange
I tried to insert a FeedTrackedChange in an APEX Trigger:
FeedTrackedChange ftc = new FeedTrackedChange(); ... insert ftc;
I get the following error: DML operation INSERT not allowed on FeedTrackedChange.
Does that mean I am not allowed to write any FeedTrackedChange from custom triggers or is there a workaround for this task?
FeedTrackedChanges are always system-generated. eg if you change an account record, the system will generate the corresponding FeedTrackedChange.
Can you give some more information on what you're trying to do?
Thanks for your answer. I know about the normal system generation of a FeedTrackedChange.
I was trying to build a chatter notification of an object change triggered by my own criterion