# How to skip a task?

**URL:** <https://forum.camunda.io/t/how-to-skip-a-task/12398>\
**Category:** Discussion & Questions\
**Tags:** process-engine\
**Created:** [April 17, 2019, 2:18am UTC](https://forum.camunda.io/t/how-to-skip-a-task/12398 "2019-04-17T02:18:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vamsi](https://forum.camunda.io/user_avatar/forum.camunda.io/vamsi/32/5864_2.png) [@Vamsi](https://forum.camunda.io/u/Vamsi)\
**Post date:** [April 17, 2019, 2:18am UTC](https://forum.camunda.io/t/how-to-skip-a-task/12398/1 "2019-04-17T02:18:35Z")

</div>

We have a process-instance running and we have a requirement to select a task and skip the task. Could you please let us know any example or ways to achieve this functionality.?

Thanks  
Vamsi

---

<div class="post-metadata">

**Author:** ![Miklas](https://forum.camunda.io/user_avatar/forum.camunda.io/miklas/32/5499_2.png) [@Miklas](https://forum.camunda.io/u/Miklas)\
**Post date:** [April 17, 2019, 6:25am UTC](https://forum.camunda.io/t/how-to-skip-a-task/12398/2 "2019-04-17T06:25:00Z")

</div>

Hey @Vamsi,

If it is always the same task you want to skip, consider putting that logic into your model. (e.g. by using a gateway)

A nother possibility is to use the process instance modification API.  
[https://docs.camunda.org/manual/7.7/user-guide/process-engine/process-instance-modification/](https://docs.camunda.org/manual/7.7/user-guide/process-engine/process-instance-modification/)  
This topic was also discussed in this thread: [Skip Task in Camunda Using ProcessInstanceModification](https://forum.camunda.io/t/skip-task-in-camunda-using-processinstancemodification/3924/6)

I hope that helps you!  
Cheers,  
Miklas

---

<div class="post-metadata">

**Author:** ![Vamsi](https://forum.camunda.io/user_avatar/forum.camunda.io/vamsi/32/5864_2.png) [@Vamsi](https://forum.camunda.io/u/Vamsi)\
**Post date:** [April 17, 2019, 6:40am UTC](https://forum.camunda.io/t/how-to-skip-a-task/12398/3 "2019-04-17T06:40:51Z")

</div>

HI Miklas,

Its not always the same task. The user can select any task and he should be able to skip. The requirement is that a process instance is running and i want to select a task and want to skip this. But the documentation says that is not possible with in the same process instance. Could you please provide some examples and other pointers if any?

Thanks  
Vamsi

---

<div class="post-metadata">

**Author:** ![Miklas](https://forum.camunda.io/user_avatar/forum.camunda.io/miklas/32/5499_2.png) [@Miklas](https://forum.camunda.io/u/Miklas)\
**Post date:** [April 23, 2019, 7:12am UTC](https://forum.camunda.io/t/how-to-skip-a-task/12398/4 "2019-04-23T07:12:30Z")

</div>

Hi @Vamsi,  
you can not modify the process instance from within the instance, that’s correct.  
What about modeling that behavior with BPMN? Add a gateway before every skippable task and bypass the task if it was selected by the user.

Cheers,  
Miklas

---

<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, 11:41am UTC](https://forum.camunda.io/t/how-to-skip-a-task/12398/5 "2024-01-30T11:41:21Z")

</div>

Closed on January 30, 2024, 11:41am UTC


