Forum Discussion
Logic Apps - Tracked properties for HTTP action`s INPUTS not working
Can someone help me and tell me why tracked properties for HTTP action`s INPUTS not working
I get an error:
TrackedPropertiesEvaluationFailed
In case for OUTPUTS everything works
@{outputs('HTTP_2')?['statusCode']}
@{inputs('HTTP_2')?['uri']}
https://learn.microsoft.com/en-us/azure/logic-apps/monitor-workflows-collect-diagnostic-data?tabs=consumption
2 Replies
- balasubramanimIron Contributor
The issue occures because the inputs function may not be directly supported in tracked properties for HTTP actions in Logic Apps. The error TrackedPropertiesEvaluationFailed indicates this limitation.
Fix Options:
Use Variables: Capture the HTTP input into a variable before the action and reference the variable in tracked properties:
"trackedProperties": {
"uri": "@{variables('HttpInputUri')}"
}Use Action Metadata: Reference the input directly using:
"trackedProperties": {
"uri": "@{action('HTTP_2').inputs.uri}"
}Check Runtime Version: Ensure you're using the latest Logic Apps runtime, as older versions may have limitations.
Reference URL: https://learn.microsoft.com/en-us/azure/logic-apps/monitor-workflows-collect-diagnostic-data?tabs=consumption
Try below:
1. Check for Updates: Ensure that your Logic Apps environment is up-to-date. Sometimes, bugs are fixed in newer versions.
2. Use Outputs Instead: As a workaround, you can try using outputs instead of inputs for tracked properties, since you mentioned that outputs are working correctly.