-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
When the bridge tries to complete a task
And the process instance was stopped in the meantime:
"The task could not be found"
Or the bot did not return a required output parameter:
The corresponding process instance could not be resumed. Reason: status code: 500, reason phrase: \{"type":"ProcessEngineException","message":"Unknown property used in expression: ${outputVar1}. Cause: Cannot resolve identifier 'outputVar1'"}
Then the bridge should not retry to complete the task
Currently, the bridge continues to try to complete the task every 4 seconds and the only obvious way to stop this is to kill the bridge.
—
missing output parameter log:
2020-08-20 09:41:02.128 WARN 23339 --- [ scheduling-1] org.camunda.bpm.rpa.bridge.Bridge : Exception while reporting result of RPA bot 12294614 back to the Camunda engine2020-08-20 09:41:02.128 WARN 23339 --- [ scheduling-1] org.camunda.bpm.rpa.bridge.Bridge : Exception while reporting result of RPA bot 12294614 back to the Camunda engine org.camunda.bpm.client.exception.NotResumedException: TASK/CLIENT-01009 Exception while completing the external task: The corresponding process instance could not be resumed. Reason: status code: 500, reason phrase: \{"type":"ProcessEngineException","message":"Unknown property used in expression: ${outputVar1}. Cause: Cannot resolve identifier 'outputVar1'"} at org.camunda.bpm.client.impl.ExternalTaskClientLogger.externalTaskServiceException(ExternalTaskClientLogger.java:124) ~[camunda-external-task-client-1.4.0-SNAPSHOT.jar!/:1.4.0-SNAPSHOT] at org.camunda.bpm.client.task.impl.ExternalTaskServiceImpl.complete(ExternalTaskServiceImpl.java:68) ~[camunda-external-task-client-1.4.0-SNAPSHOT.jar!/:1.4.0-SNAPSHOT] at org.camunda.bpm.client.task.impl.ExternalTaskServiceImpl.complete(ExternalTaskServiceImpl.java:61) ~[camunda-external-task-client-1.4.0-SNAPSHOT.jar!/:1.4.0-SNAPSHOT] at org.camunda.bpm.rpa.bridge.externaltask.ExternalTaskAdapter$TaskHandler.complete(ExternalTaskAdapter.java:160) ~[classes!/:1.0.0-SNAPSHOT] at org.camunda.bpm.rpa.bridge.externaltask.ExternalTaskAdapter.botCompleted(ExternalTaskAdapter.java:126) ~[classes!/:1.0.0-SNAPSHOT] at org.camunda.bpm.rpa.bridge.Bridge.pollRpaStatus(Bridge.java:51) ~[classes!/:1.0.0-SNAPSHOT] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84) ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE] at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na] at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
—
task not found log
2020-08-20 09:41:18.054 WARN 23339 --- [ scheduling-1] org.camunda.bpm.rpa.bridge.Bridge : Exception while reporting result of RPA bot 12294614 back to the Camunda engine2020-08-20 09:41:18.054 WARN 23339 --- [ scheduling-1] org.camunda.bpm.rpa.bridge.Bridge : Exception while reporting result of RPA bot 12294614 back to the Camunda engine org.camunda.bpm.client.exception.NotFoundException: TASK/CLIENT-01008 Exception while completing the external task: The task could not be found at org.camunda.bpm.client.impl.ExternalTaskClientLogger.externalTaskServiceException(ExternalTaskClientLogger.java:119) ~[camunda-external-task-client-1.4.0-SNAPSHOT.jar!/:1.4.0-SNAPSHOT] at org.camunda.bpm.client.task.impl.ExternalTaskServiceImpl.complete(ExternalTaskServiceImpl.java:68) ~[camunda-external-task-client-1.4.0-SNAPSHOT.jar!/:1.4.0-SNAPSHOT] at org.camunda.bpm.client.task.impl.ExternalTaskServiceImpl.complete(ExternalTaskServiceImpl.java:61) ~[camunda-external-task-client-1.4.0-SNAPSHOT.jar!/:1.4.0-SNAPSHOT] at org.camunda.bpm.rpa.bridge.externaltask.ExternalTaskAdapter$TaskHandler.complete(ExternalTaskAdapter.java:160) ~[classes!/:1.0.0-SNAPSHOT] at org.camunda.bpm.rpa.bridge.externaltask.ExternalTaskAdapter.botCompleted(ExternalTaskAdapter.java:126) ~[classes!/:1.0.0-SNAPSHOT] at org.camunda.bpm.rpa.bridge.Bridge.pollRpaStatus(Bridge.java:51) ~[classes!/:1.0.0-SNAPSHOT] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84) ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE] at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na] at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
This is the controller panel for Smart Panels app
- is duplicated by
-
CAM-13306 The RPA bridge makes infinite API calls if it permanently cannot complete an external task
- Closed