Hello everybody,

I have a process where one or more user tasks that can be completed while
the process is not yet finished. But, my problem is to retrieve those
completed task to have access to their comments. All of that by using the
REST web service.

I know we can retrieve the completed tasks, and their comment because the
Web UI provided by WSO2 allows so [1] & [2]

To illustrate what I am talking about, you can find my process definition
in [3].

What I tried, for the moment, is to retrieve the list of activities via the
endpoint
/bpmn/history/historic-activity-instances?processInstanceId=<MY_PROCESS_INSTANCE_ID>.
>From here, I can retrieve the taskId of the completed task but I can't find
a way to retrieve the information concerning it, nor its comment. I tried
via :

- /bpmn/runtime/tasks/<TASK_ID> => returns 404
- /bpmn/runtime/tasks/<TASK_ID>/comments => returns 404
- /bpmn/history/historic-task-instances?taskId=<TASK_ID> => returns empty
list (even if I filter by processInstanceId)
- /bpmn/history/historic-task-instances/<TASK_ID> => returns 404

Can you help me, please?

[1] [image: Images intégrées 2]

[2] [image: Images intégrées 3]

[3]
[image: Images intégrées 1]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to