Hi Community friends,
@EddieE
I have a Power Automate Flow where I am trying to get the ID of a Share Point record [Response from Approver] I created in the Flow from the response in "Start and wait for an approval" action which has "Apply to each"

-I initialized a variable, varList2ID as integer with initial value =0, As I am trying to set the variable by pulling the ID of the item/record created in "Create item List2" step. In the "Dynamic content" -It does not show the ID of the Apply to each-> 'Create item List2' step-> shows only "Current item". I am trying to pull the ID from the current item: tried following 2 expressions after' Current item' as follows

outputs('Create_item_List2')?['body/ID']
and also tried
item()?['body/ID']
But getting Invalid expression error, I tried to typecast using int() outside the outputs(….) and item()…- but no luck!
I would appreciate any suggestion. Many thanks in advance!