# How to model a progress Task?

**URL:** <https://forum.flowable.org/t/how-to-model-a-progress-task/554>\
**Category:** Flowable Engine\
**Created:** [May 12, 2017, 8:09am UTC](https://forum.flowable.org/t/how-to-model-a-progress-task/554 "2017-05-12T08:09:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![toni.gamez](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/toni.gamez/32/165_2.png) [@toni.gamez](https://forum.flowable.org/u/toni.gamez)\
**Post date:** [May 12, 2017, 8:09am UTC](https://forum.flowable.org/t/how-to-model-a-progress-task/554/1 "2017-05-12T08:09:11Z")

</div>

I’m facing a process that has tasks with will last several sessions. I was thinking instead of creating a task of the same time each time a session is finish, to do something like a “Save” Action that doesn’t finish the task, only saving a field indicating the progress value. In this task will be still alive until another action like “Done” has used.

Thanks,

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [May 12, 2017, 11:58am UTC](https://forum.flowable.org/t/how-to-model-a-progress-task/554/2 "2017-05-12T11:58:53Z")

</div>

Hi Toni,

Could provide more details please?

Regards  
Martin

---

<div class="post-metadata">

**Author:** ![toni.gamez](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/toni.gamez/32/165_2.png) [@toni.gamez](https://forum.flowable.org/u/toni.gamez)\
**Post date:** [May 16, 2017, 9:53pm UTC](https://forum.flowable.org/t/how-to-model-a-progress-task/554/3 "2017-05-16T21:53:39Z")

</div>

Hi Martin,

I will to explain the use case.

The task is to read a list of webs, let’s imagine there are 20 webs. So the user Claim that task and start to work, and in some moment stop to follow later, after 12 webs visited. He will be helpful to keep in the task how many webs has visited at the moment, to come back to it for finish it.

Is like a look in the task, the user come back to the task until he notifiy is if finish. May be can be done using two tasks, named “Web Reading” and “Web Reading in Progress”, the outcome of the last one can be “Finish” or “Not Finish”.  
Make it sense ? or any other option ?

Thanks,

Toni

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [May 17, 2017, 6:09am UTC](https://forum.flowable.org/t/how-to-model-a-progress-task/554/4 "2017-05-17T06:09:33Z")

</div>

I would suggest to create list of tasks (multiinstance behaviour [http://www.flowable.org/docs/userguide/index.html#bpmnMultiInstance](http://www.flowable.org/docs/userguide/index.html#bpmnMultiInstance)) and user can complete each task after the web is read. Progress can be easily tracked.

(If it is not acceptable another solution could be to update process variable (list of visited webs) and base reporting on this variable. Variable could be replaced with the external system.)

Regrards  
Martin

---

<div class="post-metadata">

**Author:** ![toni.gamez](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/toni.gamez/32/165_2.png) [@toni.gamez](https://forum.flowable.org/u/toni.gamez)\
**Post date:** [May 17, 2017, 7:49am UTC](https://forum.flowable.org/t/how-to-model-a-progress-task/554/5 "2017-05-17T07:49:24Z")

</div>

Hi Martin,

Great !  
Multiinstance behaviour is a very interesting solution for model this progress work.  
I will analyse further to decide between this and having a variable with completed progress.

Thanks,

Best
