function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
trail buzztrail buzz 

How to write a trigger for agent accept/decline the case in omnichannel

I have a requirement like ,whenever agent can accept the case through omni channel,it will displays on case chatter history(feed).Default its shows for everything like accept or decline but i dont want to show for decline or not accepting the case in chatter history(feed ) . Is it possible to achieve ?if yes then we can do through trigger or apex or any standrad functionlaity ?