# Stop only the faulty process instance in sequential multi instance process

**URL:** <https://forum.camunda.io/t/stop-only-the-faulty-process-instance-in-sequential-multi-instance-process/31273>\
**Category:** Discussion & Questions\
**Tags:** process-engine\
**Created:** [November 15, 2021, 7:13am UTC](https://forum.camunda.io/t/stop-only-the-faulty-process-instance-in-sequential-multi-instance-process/31273 "2021-11-15T07:13:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nithindavis](https://forum.camunda.io/letter_avatar_proxy/v4/letter/n/a88e57/32.png) [@nithindavis](https://forum.camunda.io/u/nithindavis)\
**Post date:** [November 15, 2021, 7:13am UTC](https://forum.camunda.io/t/stop-only-the-faulty-process-instance-in-sequential-multi-instance-process/31273/1 "2021-11-15T07:13:39Z")

</div>

Hi Team,

I have a scenario where I have a **sequential** multi instance process. Lets say process A and B are the two process getting executed inside multi instance. My requirement is like, if any of the service task inside the multi instance sub process fails during the execution of process A then process A should rollback to the last saved point and retry should be made possible. This should not affect process B and process B should continue. The execution should come out of the multi instance loop only if the faulty process instance A is retried/resolved. How can i achieve the above on **sequential** multi instance sub process. Attaching the parent and child bpmn

Thanks & Regards  
Nithin

 ![bpmn](https://forum.camunda.io/uploads/default/original/3X/4/8/482f37e13cdb0c54d1c5a5be1bb078a0fd4a483e.png)

---

<div class="post-metadata">

**Author:** ![Ingo\_Richtsmeier](https://forum.camunda.io/user_avatar/forum.camunda.io/ingo_richtsmeier/32/25968_2.png) [@Ingo\_Richtsmeier](https://forum.camunda.io/u/Ingo_Richtsmeier)\
**Post date:** [November 15, 2021, 8:53am UTC](https://forum.camunda.io/t/stop-only-the-faulty-process-instance-in-sequential-multi-instance-process/31273/2 "2021-11-15T08:53:04Z")

</div>

Hi @nithindavis,

if you mark the service tasks in the subprocess with async before, the subprocess with create an incident in the Cockpit and the execution of both (super- and subprocess) will pause, until you resolve the incident and retry the failed service.

The second process instance of the subprocess is not influenced, as it will be started once the first ist completed. They are running sequentially.

Hope this helps, Ingo

---

<div class="post-metadata">

**Author:** ![nithindavis](https://forum.camunda.io/letter_avatar_proxy/v4/letter/n/a88e57/32.png) [@nithindavis](https://forum.camunda.io/u/nithindavis)\
**Post date:** [November 17, 2021, 5:54am UTC](https://forum.camunda.io/t/stop-only-the-faulty-process-instance-in-sequential-multi-instance-process/31273/3 "2021-11-17T05:54:37Z")

</div>

@Ingo_Richtsmeier thanks for the reply

yes, the service tasks inside sub process are marked as async before.

what I should have mentioned earlier is that in sequential multi instance when process A is failed we are creating an incident by throwing a runtime exception and it causes the instance to rollback to last saved point and entire flow stops executing. Is there any way I can rollback only process A to last saved point at the same time process B should continue. We have achieved it by changing the multi instance to parallel, but my requirement is to have the above mentioned on a sequential multi instance.

---

<div class="post-metadata">

**Author:** ![Ingo\_Richtsmeier](https://forum.camunda.io/user_avatar/forum.camunda.io/ingo_richtsmeier/32/25968_2.png) [@Ingo\_Richtsmeier](https://forum.camunda.io/u/Ingo_Richtsmeier)\
**Post date:** [November 17, 2021, 8:19am UTC](https://forum.camunda.io/t/stop-only-the-faulty-process-instance-in-sequential-multi-instance-process/31273/4 "2021-11-17T08:19:40Z")

</div>

Hi @nithindavis,

> [@nithindavis](#):
>
> Is there any way I can rollback only process A to last saved point at the same time process B should continue.

Not with a sequential multi instance.

> [@nithindavis](#):
>
> We have achieved it by changing the multi instance to parallel,

Thats the only option.

Hope this helps, Ingo

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [January 30, 2024, 1:33pm UTC](https://forum.camunda.io/t/stop-only-the-faulty-process-instance-in-sequential-multi-instance-process/31273/5 "2024-01-30T13:33:25Z")

</div>

Closed on January 30, 2024, 1:33pm UTC


