Salesforce Fact #416 | Cache.Session getKeys() iteration: another approach

Continuing with the previous use case, we can use an alternative approach as well to maintain the correct order of indexes. We can create a list equal to the size of session keySet and populate the keys in the respective indexes.

Attached is the screenshot.



Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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