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?
どのようなことでお手伝いできますか?
学ぶ。 共有する。 議論する。
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 Wrike Discover で Wrike のエキスパートになろう
Rohan V Wrike Team member Wrike Discover で Wrike のエキスパートになろう