Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
328 views
in Technique[技术] by (71.8m points)

Property Selection INCORRECT in dynamic content -Logic app Azure

I am writing a logic app. My schema looks like below. enter image description here

i am able to select the dynamic content at each step. I am have 4 "for each" operations for the 4 arrays.

However when i test through postman , i get the error at " for each " step. "InvalidTemplate. Unable to process template language expressions for action 'For_each_items' at line '1' and column '1710': 'The template language expression 'triggerBody()?['Data']?['Orders_items']' cannot be evaluated because property 'Data' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'"

question from:https://stackoverflow.com/questions/65909466/property-selection-incorrect-in-dynamic-content-logic-app-azure

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I think when you use postman to test, you need to select the body type as json:

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...