Expression backed record- rf variables are mapped properly

Generally when we use entity backed record, and when we click on particular record we can access that record data using "rf!".

But I am using expression backed record 

example I have a record with company employee cdt which has company id as one column.

Suppose for instance i have three companies and their ids are {15,16,17}. But these companies can have many employees.

So after you select a company it will redirect you to summary dashboard, and I can use rf!companyId to get all the employees 

If I use entity backed record am getting 16 if I click on a record whose company id is 16. but it is not happening in case of expression backed record.

 

Did someone faced similar challenges.

  Discussion posts and replies are publicly visible