Expression field doesn't update immediately - New UI

Posted by IramK on 05-Oct-2015 08:57


I have an expression field that basically gets the count of number of related records attached to it.

When I attach a record, the expression field value remains the same unless and until I go into the record and edit and save it myself. Is this how an expression field is supposed to work?

I have tried the above for a formula field as well and formula field always gets updated when another record is attached. Kindly let me know if this is how these two fields are supposed to behave.


Code given below:

var currentRecord = "{!id}";
var relatedAccounts = rbv_api.getRelatedIds2("R12216", "industry", currentRecord);


if(relatedAccounts.length > 0)
return relatedAccounts.length;

All Replies

Posted by Rajkumar Mateti on 06-Oct-2015 00:10

Hi IramK,

Yes, Those are working as designed. Please refer to



This thread is closed