It's all about the answers!

Ask a question

How to get all available WorkflowDefinition Ids of a given project area (using OSLC EWM/RTC)

S. M. (112) | asked Jan 29 '21, 1:44 a.m.
edited Jan 29 '21, 7:05 a.m.

 Hi All,

I want ro retrieve all available states of a workflow, which works when I Know the WorkflowDefinition id (marked fat).<project area>/states/<workflow definition id>

But i don't know that id and don't find a way to get it programmatically - so Im searching for a way to find all available WorkflowDefinition Ids for a given project area.

I want to do that by using the OSLC interfaces. So could please help me to find the right OSLC url parameters to get all the Ids for a given proejct area.

Thanks & Bye

2 answers

permanent link
vanaja fe (9) | answered Jan 29 '21, 3:50 a.m.


permanent link
Jim Amsden (26837) | answered Jan 29 '21, 8:13 a.m.
edited Jan 29 '21, 8:15 a.m.

 The workflow for a project area is set in the process description. For any work item, its rtc_cm:state provides a link to the Status ( The path before the status is return the list of states. For example, a work item might have Status:

Remove the enumeration literal at the end and you get a URL to the list of statuses in that workflow:

S. M. commented Feb 02 '21, 12:54 a.m. | edited Feb 02 '21, 12:56 a.m.

Thanks for answering...

Maybe it was not clearly described, but I don't wanna read the list of states.
I want to get a list of all available Workflow/workitem types (the identifiers) 
- in your example: 
  • bugzillaWorkflow, 
  • com,
  • ...

Your answer

Register or to post your answer.