hi,
i have created a flow which extracts content of a file and puts everything into a JSON. i can see this is working - when i look into the last run flows, the JSON is there in all it's glory. the agent calling the flow tells me that he doesn't get anything. Looking at the result of running the flow it also says there is no output, though when looking at raw output i can see the content i want.
this is the code that has been created at the end of the flow to return the result to the agent. "out" should get information, as i am initiating a variable with this formula before and that works. so basically after testing the formula i created this by saying i want a string parameter as an output and added the formula.. what else could i do?
{
"type": "Response",
"description": "Gibt das JSON direkt als Body zurück, ohne es in ein Objekt zu verschachteln. Das Schema wird entfernt und im Body-Feld steht nur u/variables('varJSONOutput').",
"kind": "Skills",
"inputs": {
"schema": {
"type": "object",
"properties": {
"out": {
"title": "out",
"description": "Ausgabe",
"type": "string",
"x-ms-content-hint": "TEXT",
"x-ms-dynamically-added": true
}
},
"additionalProperties": {}
},
"statusCode": 200,
"body": {
"out": "@{outputs('Dateiinhalt_zu_JSON')?['body/responsev2/predictionOutput/text']}"
}
},
"runAfter": {
"Variable_initialisieren": [
"SUCCEEDED"
]
}
}