Hola comunidad 👋 ,
Estoy creando un agente en Copilot Studio que necesita buscar una tarea dentro de un plan específico de Microsoft Planner y extraer información del campo Notas de esa tarea (como la fecha de inicio, el supervisor, el técnico, etc.).
El plan se denomina "Req. Correctivo" y el usuario proporciona el número de caso (por ejemplo, R36716), que se puede encontrar en el título o la descripción de la tarea. El agente debe buscar ese número de caso, obtener el y, a continuación, extraer los detalles mediante la acción.taskId
GetTaskDetails
Estoy usando el siguiente valor para el ID de tarea:
YAML:
value: "outputs('BuscarTarea')?['body/value']?[0]?['id']"
GetTaskDetails
action, I get the following error:I’ve checked:
The Planner connector is configured correctly
The plan is accessible and the plan ID is valid
The search returns tasks (I confirmed the output of the previous step)
Am I passing the taskId
incorrectly?
Do I need to transform or encode the value before using it?
Any help or working examples would be greatly appreciated 🙌
Hi Michael, thank you very much for your response. @Michael E. Gernaey
I've tried several times to review the Copilot run history and follow the flow step by step, including checking the GetTaskDetails action, but I keep getting the same 400 “Bad Request” error.
What I’m trying to do is have the agent search for a task in Planner using a case number (for example, ), which can appear either in the title or description, and then retrieve specific fields from the field of that task.R12345
Notes
I’ve set up the flow to locate the task and extract the lines that start with the symbol , but it seems like something is wrong when it tries to retrieve the task details.➣
Do you have any example of how this part should be correctly configured or any additional recommendations?
Thanks in advance for your help.
Michael E. Gernaey
468
Super User 2025 Season 2
stampcoin
52
Super User 2025 Season 2
trice602
46
Super User 2025 Season 2