In my i need to give a Id value lookup field. in my app i have so many lookup field values.
Go its getting exceed number of apply to each value.
So i am thinking to get a ID from filter array values.
But its getting error.
Following is my error,
InvalidTemplate. Unable to process template language expressions in action 'Compose_6' inputs at line '0' and column '0': 'The template language expression 'first(body('Filter_array_6')?['Value'])?['ID']' cannot be evaluated because property 'Value' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.
Now i need to get a ID value form filter array elements.
Based on your error, you are possibly looking for first(body('Filter_array_6'))?['Value']?['ID']
Without seeing your JSON, the error indicates that your Value is another Array of objects. You can either use First to return the first Value object or ? i.e. body('Filter_array_6')??['Value']?['ID'].
If ID is also an array of objects for each Value, you might have to contruct the following body('Filter_array_6')??['Value']??['ID'].