You need to sign in to do that
Don't have an account?
how to insert a feedItem from trigger
trigger acc on FeedItem (after insert)
{
FeedItem post = new FeedItem();
post.ParentId ='0019000000GuVUM';
post.Body = 'welcome';
Database.insert(post);
}
the above code showing exception like
CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY
How to solve it.
can you please state in narrative form what you want your trigger to accomplish? then we might be able to help. thanks
just i need to post a feed on parent account of a perticuler opportunity, whenever we post a feed on that opportunity.