Re: [Dev] How can I query a specific task (completed) which belongs to a process instance

2016-04-04 Thread Amal Gunatilake
Hi Amalka, According to the offline chat we had, it was cleared out that the requirement is to retrieve tasks other than user tasks for a particular instance. In this special case, BPMN names them as Activity. The following approach[1] will help you to retrieve the information required. [1]

Re: [Dev] How can I query a specific task (completed) which belongs to a process instance

2016-04-04 Thread Amal Gunatilake
Hi Amalka, Try querying the process instances using *query/process-instances* The following reference[1] will guide you on how to query the instance according to your instance details. [1] http://www.activiti.org/userguide/#_query_process_instances Best regards, Amal. On Mon, Apr 4, 2016 at

[Dev] How can I query a specific task (completed) which belongs to a process instance

2016-04-04 Thread Amalka Subasinghe
I tried to get it querying historic-task-instances. it always gives user tasks only. https://192.168.1.5:9453/bpmn/history/historic-task-instances?processInstanceId=22575 is there a better way to do this? Result of the query: { "sort": "taskInstanceId", "order": "asc", "start": 0,