-
Task
-
Resolution: Done
-
Major
-
7.11.1.GA
-
An error "Could not find task instance with id xxx" pops up when consuming the jbpm rest api such as
{containerId}
/server/containers//tasks/
{taskInstanceId}/contents/input
when the audit mode is disabled by setting as NONE.The following sql query is being executed when hitting the aforementioned rest url
select * from ( select audittaski0_.taskId as col_0_0_, audittaski0_.status as col_1_0_, audittaski0_.activationTime as col_2_0_, audittaski0_.name as col_3_0_, audittaski0_.description as col_4_0_, audittaski0_.priority as col_5_0_, audittaski0_.actualOwner as col_6_0_, audittaski0_.createdBy as col_7_0_, audittaski0_.deploymentId as col_8_0_, audittaski0_.processId as col_9_0_, audittaski0_.processInstanceId as col_10_0_, audittaski0_.createdOn as col_11_0_, audittaski0_.dueDate as col_12_0_, audittaski0_.workItemId as col_13_0_, taskimpl1_.formName as col_14_0_, taskimpl1_.subject as col_15_0_ from SVC_WAL_PAM.AuditTaskImpl audittaski0_ left outer join SVC_WAL_PAM.Task taskimpl1_ on (taskimpl1_.id=audittaski0_.taskId) where audittaski0_.taskId=? ) where rownum <= ?It appears that the engine is trying to query the table AuditTaskImpl to retrieve the task info. However, since the audit mode is disabled there's no record being stored in the table it returns nothing. Therefore, the engine fails with the error " Could not find task instance with id xxx".
An error "Could not find task instance with id xxx" pops up when consuming the jbpm rest api such as /server/containers/ {containerId} /tasks/ {taskInstanceId} /contents/input when the audit mode is disabled by setting as NONE. The following sql query is being executed when hitting the aforementioned rest url select * from ( select audittaski0_.taskId as col_0_0_, audittaski0_.status as col_1_0_, audittaski0_.activationTime as col_2_0_, audittaski0_.name as col_3_0_, audittaski0_.description as col_4_0_, audittaski0_.priority as col_5_0_, audittaski0_.actualOwner as col_6_0_, audittaski0_.createdBy as col_7_0_, audittaski0_.deploymentId as col_8_0_, audittaski0_.processId as col_9_0_, audittaski0_.processInstanceId as col_10_0_, audittaski0_.createdOn as col_11_0_, audittaski0_.dueDate as col_12_0_, audittaski0_.workItemId as col_13_0_, taskimpl1_.formName as col_14_0_, taskimpl1_.subject as col_15_0_ from SVC_WAL_PAM.AuditTaskImpl audittaski0_ left outer join SVC_WAL_PAM.Task taskimpl1_ on (taskimpl1_.id=audittaski0_.taskId) where audittaski0_.taskId=? ) where rownum <= ? It appears that the engine is trying to query the table AuditTaskImpl to retrieve the task info. However, since the audit mode is disabled there's no record being stored in the table it returns nothing. Therefore, the engine fails with the error " Could not find task instance with id xxx".
-
False
-
False
-
-
-
-
-
-
CR1
-
+
-
undefined
-
-
2021 Week 34-36 (from Aug 23), 2021 Week 37-39 (from Sep 13), 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15), 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10)