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
Flint LockwoodFlint Lockwood 

Event Listener for Record Save

Hi,

Is is possible to create a Lightning component to listen in on the result of a Lightning action? For instance, if the Lightning action creates a Task, the Lightning component can listen and interpret that a Task was created and then display a message.
Raj VakatiRaj Vakati
You can able to it by using the lightning events or lightning data change events 


https://developer.salesforce.com/blogs/2018/08/what-is-change-data-capture.html

https://trailhead.salesforce.com/en/content/learn/modules/change-data-capture/understand-change-data-capture
https://developer.salesforce.com/docs/atlas.en-us.change_data_capture.meta/change_data_capture/

https://salesforce.stackexchange.com/questions/155478/lightning-components-how-to-use-events-to-detect-record-updates/155535