Why do we use Load Current Entity Task?

Why do we use Load Current Entity Task? Please explain different scenarios where one can use this task.

Load Current Entity task is used when you need to get an index of an object in a list and the index starts from 0.

Please provide some business scenario(s) to explain better where we might use this.

@Ritik_Dixit please provide a business scenario.

Load current entity task is used to get values of a particular item in a list. It works based on indexing, which starts from 0, 1, and so on. Suppose you have multiple items in a list and want to access an item at a particular index. In that case, this task is useful.

For better understanding, l have a scenario:
In this scenario, I am getting data from a service that I have stored in an entity. The list is mapped to the entity.

Here, on clicking the view button, it navigates to another page that shows the complete data of that particular item. For instance, if I click on the first view icon, it will show the full details of the first item.

Now If I click on the second view icon of the list it will show

So this is how it works.

And the configuration of load current entity task is
image

This can vary for different scenarios.
If you understand this then kindly mark it as a solution.

@Ritik_Dixit

3 Likes

@Neeraj_Kumar
Thank you for providing such a clear and detailed example. It was very helpful.

1 Like