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
sfdc dev 2264sfdc dev 2264 

Trigger for posting chatter feed

Hi,

I need help on the below requirement,

1) I have a approval process  which is on campaign , it updates a field called as "Approval status" on campaign based on approval or rejection

Approved -> Approval status is set to Approved
Rejected -> Approval status is set to Rejected

My req is i want to post a chatter text to the user who has created the record based on Approval status(Approval Status__c) values (approval means custom text, rejected same custom text)

I have created a process builder for the same , but whats happening is though the value for approval process gets updated on campaign the chatter post is not happening , I have to edit and save the record again to trigger the process builder action which is then posting it.

Kindly help me on this regard if a trigger can be used.