AnsweredAssumed Answered

why it doensn't return children of workflow package by CMIS?

Question asked by amrorabi on Mar 5, 2014
hi all,

I started "Review And Approve Workflow" on specific file, assigning the task on a user.

Then I got the user task by REST:


{
…..
"bpm_package": "workspace://SpacesStore/db7ec6c5-4dfe-44fd-a7fd-271526237c86",
….
{


According to http://forums.alfresco.com/forum/developer-discussions/workflow/workflow-rest-api-and-workflow-content-12022010-0903

It supposed that I can retrieve the workflow package children by CMIS REST, but when I called it by:

http://localhost:8080/alfresco/service/cmis/s/SpacesStore/i/db7ec6c5-4dfe-44fd-a7fd-271526237c86/children

It returns response with no children:


<feed>
   ….
  <title>db7ec6c5-4dfe-44fd-a7fd-271526237c86 Children</title>
  <updated>2014-03-05T12:12:46.356+03:00</updated>
  <opensearch:totalResults>0</opensearch:totalResults>
  <opensearch:startIndex>0</opensearch:startIndex>
  <opensearch:itemsPerPage>-1</opensearch:itemsPerPage>
  <cmisra:numItems>0</cmisra:numItems>
</feed>


Please, could someone advise me ?!

Outcomes