I access data via a HTTP action to a REST API service.
The HTTP response has an object which mostly has and Item "ProjectManager" and properties (ID,Name) but this can be empty - depending if a user has updated this on our cloud service or not.
I have performed "Parse Json" to the HTTP Body and attempted to use a SELECT Data operation flow to map the response before eventual movement of this to SQL server, but I get the following error:
The execution of template action 'Select' failed: The evaluation of 'query' action 'where' expression '{ "Project_ID": "@item()['ID']", "Project_Manager_ID": "@item()['ProjectManager']['ID']", "Project_Manager_Name": "@item()['ProjectManager']['Name']" }' failed: 'The template language expression 'item()['ProjectManager']['ID']' cannot be evaluated because property 'ID' doesn't exist, available properties are ''. Please see https://aka.ms/logicexpressions for usage details.'.
Sample response as follows:
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional