Salesforce Fact #159 | Flow collection index consideration

In Lightning flow, the index of collection elements start with 1.

In this example, we got the errors when we are trying to access the record at 0th index and also when we are trying to access an index which is greater than the length of the collection.

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