I'm comparing the current SharePoint List item vs its previous stage. I'm using Send an HTTP request to SharePoint then I Parese JSON it to get an array of version. I have no trouble getting an entire version history. However, when I try to get the previous version through Initiate Variable I ran into trouble.
When I hardcode the array index inside of the Initialize Variable I have no trouble. Initialize Variable component gives me an array with a single object.
However, when I try to use a previously initialized variable as an index the flow returns me an empty array.
Please help me resolve that problem.