+ Start a Discussion
Kou XiongKou Xiong 

Can lightning component controller read field values?

Is lightning component able to read field values in the controller?

My situation:

I need the controller to read the value of a field value on a recordUpdated and initiate a flow if the field value is "Closed Won".

Is this possible?

Naveen KNNaveen KN
Yes, that is possible. 

In the lightning framework we have two controllers
1. client-side - js file 
2. server-side - Apex class 

Based on the action at the browser user interface, you can call a method in the client-side js file which can read the value of any field.

- Naveen K N