# Cannot search task with type "MULTI\_INSTANCE\_ACTIVITY"

**URL:** <https://community.ofelia.com/t/cannot-search-task-with-type-multi-instance-activity/10913>\
**Category:** Q&A\
**Created:** [15 September 2021 15:40 UTC](https://community.ofelia.com/t/cannot-search-task-with-type-multi-instance-activity/10913 "2021-09-15T15:40:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndhv1983\_2529106](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@ndhv1983\_2529106](https://community.ofelia.com/u/ndhv1983_2529106)\
**Post date:** [15 September 2021 15:40 UTC](https://community.ofelia.com/t/cannot-search-task-with-type-multi-instance-activity/10913/1 "2021-09-15T15:40:35Z")

</div>

I am making a staff-survey diagram with Parallel Multi-instatiation type task and timer to auto-create multiple tasks assigned to all staffs in my office.

The diagram has an overview page that will display list of staffs that submit their assigned task, and a summary container that will be hidden until all staffs have submited their tasks.

As I use the API "../API/bpm/task?p=0&c=9999&f=caseId={{caseId}}" to check the list of tasks, I saw that there will always be a task with type "MULTI\_INSTANCE\_ACTIVITY" when there is at least 1 staff not submit his/her assigned task. If all staffs submit the assigned tasks, this "MULTI\_INSTANCE\_ACTIVITY" task will auto-complete and no longer list.

Therefore, I intent to use the API "../API/bpm/task?p=0&c=9999&f=caseId={{caseId}}&f=type=MULTI\_INSTANCE\_ACTIVITY" to check if this task is there or not, and use this as a check to hidden or show the summary container.

However, the above API return error:&nbsp;

> Can't convert \< MULTI\_INSTANCE\_ACTIVITY \>. Unknown flow node type.

If I change the type in the API to "USER\_TASK", there is no error.

Why am I not be able to search with type=MULTI\_INSTANCE\_ACTIVITY?
