Salesforce Fact #887 | fields empty on LWC getRecords

If the fields parameter in LWC getRecords is an empty array, then it returns no data neither it returns any error. It just skips the execution of the getRecords.

Note: This is just a POC and ideally the fields array won't be empty.

Attached are the screenshots.






Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow