On such a process definition (without user task), all data are flushed in the database at the end of the Activiti processing. And as the process is completed at the end of the Activiti processing, the process instance is archived. To generate the reply of the service creating the process instance, the Petals SE Activiti try to retrieve the process instance using a query about process instance. Archived process instance should be also taken into account to cover the use case of a process definitions without user tasks.
On such a process definition (without user task), all data are flushed in the database at the end of the Activiti processing. And as the process is completed at the end of the Activiti processing, the process instance is archived. To generate the reply of the service creating the process instance, the Petals SE Activiti try to retrieve the process instance using a query about process instance. Archived process instance should be also taken into account to cover the use case of a process definitions without user tasks.