You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that if you edit fields on a record and then click the Refresh button on a soqldatatable, it continues to use the previous values from the current record instead of the new values.
Refreshing the entire tab will force it to use the new values.
Is this the intended behavior?
Repro steps:
Open a scratch org with recipes. Create an Account with one Billing State and a Contact with a different Mailing State.
On the account page, locate the Related Contacts with same Mailing State as this Account's Billing State recipe. You will see zero contacts in the list.
Without leaving the page, edit the Account's Billing State (in the Details pane on the right).
Click the Refresh button at the top of the Related Contacts with same Mailing State as this Account's Billing State datatable. You will not see any Contacts.
Refresh the entire page and you will see a Contact in the list.
The text was updated successfully, but these errors were encountered:
solo-1234
changed the title
SOQLDatatable - clicking Refresh should refresh $CurrentRecord field values
SOQL Datatable - clicking Refresh should refresh $CurrentRecord field values
Jul 16, 2021
Incidentally, I noticed the same behavior when calling refreshsoqldatatable via Event Publisher. It would be helpful if refreshing from either Event Publisher or the Refresh button on a datatable would fetch updated $CurrentRecord.field values to use in filters.
Alternately, I would utilize a separate Event Publisher action to refresh current record field values.
It appears that if you edit fields on a record and then click the Refresh button on a soqldatatable, it continues to use the previous values from the current record instead of the new values.
Refreshing the entire tab will force it to use the new values.
Is this the intended behavior?
Repro steps:
Related Contacts with same Mailing State as this Account's Billing State
recipe. You will see zero contacts in the list.Related Contacts with same Mailing State as this Account's Billing State
datatable. You will not see any Contacts.The text was updated successfully, but these errors were encountered: