I am trying to create a simple flow as shown in the first screenshot.
I noticed that after i claimed and completed the user task “Requester Confirmation”
(essentially post to /runtime/task/taskID with body
the sequential HTTP tasks were executed even before the post request for completing the task was finished.
(as shown in the log below, the first line is when the user claims/ completes the task, and then it proceeds with the three http tasks (sending message), then the post request returns the result)
[2019-05-15T15:49:54.147+08:00] Confirm at Thread 72 [2019-05-15T15:49:57.666+08:00] Sending Message to cwang44 [2019-05-15T15:50:01.983+08:00] Sending Message to cwang44 [2019-05-15T15:50:06.105+08:00] Sending Message to cwang44 [2019-05-15T15:50:10.102+08:00] "POST /api/gce-limit-amend/send-confirmation-form HTTP/1.1" 200 0 "-" "Apache-HttpClient/4.5.3 (Java/1.8.0_162)" 4369
Does anyone know why this is happening? None of the flow is asynchronous.
Would really appreciate your help thanks!!!