Get workflow of a task, or of a customstatus
Given a task ID, how can I retrieve via the API the workflow for the custom status that is currently active?
Il semble que nous n'ayons pas la page traduite que vous cherchez, mais nous avons d'autres contenus en anglais et offrons une assistance en anglais.
Que pouvons-nous faire pour vous ?
Apprendre. Partager. Discuter.
Given a task ID, how can I retrieve via the API the workflow for the custom status that is currently active?
Folllowing List for Post: Get workflow of a task, or of a customstatus
[this list is visible for admins and agents only]
"Hi. I tried with my custom Wrike agent (in Claude Code, which uses both MCP server and API), and here's what I found:"
Step 1: Get the task → returns customStatusId
Step 2: Call GET /workflows → returns all workflows with their custom statuses
Problem: The customStatusId from my task doesn't appear in any of the workflows returned by the API.
It seems the /workflows endpoint only returns account-wide workflows. If your task uses a custom status from a space-specific workflow or a custom item type, that workflow won't be included in the response.
I couldn't find official documentation confirming this limitation. Can anyone from Wrike clarify?
Rohan V Community Team at Wrike Wrike Product Manager Devenez un expert de Wrike grâce à Wrike Discover
Rohan V Wrike Team member Devenez un expert de Wrike grâce à Wrike Discover