# Flowable multiinstance completion condition being called twice

**URL:** <https://forum.flowable.org/t/flowable-multiinstance-completion-condition-being-called-twice/10800>\
**Category:** Flowable Engine\
**Created:** [August 28, 2023, 11:55am UTC](https://forum.flowable.org/t/flowable-multiinstance-completion-condition-being-called-twice/10800 "2023-08-28T11:55:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saideepullal](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/saideepullal/32/2981_2.png) [@saideepullal](https://forum.flowable.org/u/saideepullal)\
**Post date:** [August 28, 2023, 11:55am UTC](https://forum.flowable.org/t/flowable-multiinstance-completion-condition-being-called-twice/10800/1 "2023-08-28T11:55:32Z")

</div>

Hi, Im using a combination of cardinality and completion condition to achieve multi instance (parallel) executions.  
In cardinality field i have passed “${someBean.multiInstanceCardinality(execution)}”, This returns an integer value at runtime

In completion condition, I have passed ${someBean.multiInstanceCompletionCondition(execution)}. This returns either **true** (if i want to terminate other instances and end multi instance) or **false** if i want the instance to go on.  
However whenever i return **false** , the method ${someBean.multiInstanceCompletionCondition(execution)} is called twice. I want this method to be only called once once a task is completed. Am i missing something here? Im using flowable version 6.8.0.

Thanks in advance
