05-19-2011 11:31 AM
19 mai 2011 16:42:14 org.activiti.engine.impl.interceptor.CommandContext close
GRAVE: Error while closing command context
org.activiti.engine.ActivitiException: Invalid number of instances: must be positive integer value, but was 0
at org.activiti.engine.impl.bpmn.behavior.ParallelMultiInstanceBehavior.createInstances(ParallelMultiInstanceBehavior.java:42)
at org.activiti.engine.impl.bpmn.behavior.MultiInstanceActivityBehavior.execute(MultiInstanceActivityBehavior.java:82)
at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:40)
at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:76)
…
05-19-2011 08:16 PM
05-20-2011 04:12 AM
"A multi-instance activity is a way of defining repetition for a certain step in a business process. In programming concepts, a multi-instance matches the for each construct: it allows to execute a certain step or even a complete subprocess for each item in a given collection, sequentially or in parallel. "For instance, in Java, when using the for each loop, the following code doesn't throw any exception :
List<String> list = new ArrayList<String>();
for (String aString : list)
{
// doStuff
assertEquals("Hello", aString);
}
The loop is skipped.05-20-2011 08:54 AM
Actually I think that "positive integer" usualy refers to positives numbers + 0, and "strictly positive integer" doesn't include 0.
05-20-2011 09:46 AM
05-20-2011 10:01 AM
What is exactly the issue? It doesn't make sense to have an multi-activity be have zero instances executed (messes up the flow history as well)
05-20-2011 10:11 AM
05-20-2011 10:17 AM
05-20-2011 11:07 AM
What is exactly the issue? It doesn't make sense to have an multi-activity be have zero instances executed (messes up the flow history as well)
05-23-2011 05:49 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.