Problem with task iteration in 7.1.0 Community ?

1
+1
-1

Maybe i'm wrong but when i try to use standard loop iteration i can't use a BDO list in "loop while" condition (something like : return (myBdoList.size()>0) )i get this error :

GRAVE: THREAD_ID=177 | HOSTNAME=3MA-FIXE | TENANT_ID=1 | The work [ExecuteFlowNodeWork: processInstanceId:20, flowNodeInstanceId: 168] failed. The failure will be handled.
2015-10-05 23:42:10.178 +0200 org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork org.bonitasoft.engine.log.technical.TechnicalLoggerSLF4JImpl log 
GRAVE: THREAD_ID=177 | HOSTNAME=3MA-FIXE | TENANT_ID=1 | org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException : "PROCESS_DEFINITION_ID=8488967302996224510 | PROCESS_NAME=ordoMis | PROCESS_VERSION=1.5 | PROCESS_INSTANCE_ID=20 | ROOT_PROCESS_INSTANCE_ID=20 | FLOW_NODE_DEFINITION_ID=8317488481120275660 | FLOW_NODE_INSTANCE_ID=168 | FLOW_NODE_NAME=Étape2 | org.bonitasoft.engine.expression.exception.SExpressionEvaluationException: Groovy script throws an exception of type class org.bonitasoft.engine.commons.exceptions.SBonitaRuntimeException with message = Unable to evaluate expression without a definitionId
Expression : SExpressionImpl [name=tes, content=return (lmisLanc.size()>0), returnType=java.lang.Boolean, dependencies=[SExpressionImpl [name=lmisLanc, content=lmisLanc, returnType=java.util.List, dependencies=[], expressionKind=ExpressionKind [interpreter=NONE, type=TYPE_BUSINESS_DATA]]], expressionKind=ExpressionKind [interpreter=GROOVY, type=TYPE_READ_ONLY_SCRIPT]]"
org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException: PROCESS_DEFINITION_ID=8488967302996224510 | PROCESS_NAME=ordoMis | PROCESS_VERSION=1.5 | PROCESS_INSTANCE_ID=20 | ROOT_PROCESS_INSTANCE_ID=20 | FLOW_NODE_DEFINITION_ID=8317488481120275660 | FLOW_NODE_INSTANCE_ID=168 | FLOW_NODE_NAME=Étape2 | org.bonitasoft.engine.expression.exception.SExpressionEvaluationException: Groovy script throws an exception of type class org.bonitasoft.engine.commons.exceptions.SBonitaRuntimeException with message = Unable to evaluate expression without a definitionId
Expression : SExpressionImpl [name=tes, content=return (lmisLanc.size()>0), returnType=java.lang.Boolean, dependencies=[SExpressionImpl [name=lmisLanc, content=lmisLanc, returnType=java.util.List, dependencies=[], expressionKind=ExpressionKind [interpreter=NONE, type=TYPE_BUSINESS_DATA]]], expressionKind=ExpressionKind [interpreter=GROOVY, type=TYPE_READ_ONLY_SCRIPT]

Is it normal ?

Finally I used a "multiple instance" iteration but when the entry list is empty, it doesn't work so i have to test it before executing the task, it would be nice in this case th task would naturally end ?

2 answers

1
0
-1

hi
I have by mistake mad an infinite loop and my service task keeps on iterating i have tried to delete the process as well as the case but its not getting deleted giving an error . I have closed my bonita studio as well but still the iteration keeps on going.
Is there any way to delete that process?

1
0
-1

Hi Joteam03,

your last comment indicate this could be a bug.

can you share your process with BDM definition ?

regards,

L.

Notifications