# Know the actors assigned to next task

**URL:** <https://community.ofelia.com/t/know-the-actors-assigned-to-next-task/7895>\
**Category:** Q&A\
**Created:** [24 October 2016 09:37 UTC](https://community.ofelia.com/t/know-the-actors-assigned-to-next-task/7895 "2016-10-24T09:37:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcarmo20](https://avatars.discourse-cdn.com/v4/letter/t/977dab/32.png) [@tcarmo20](https://community.ofelia.com/u/tcarmo20)\
**Post date:** [24 October 2016 09:37 UTC](https://community.ofelia.com/t/know-the-actors-assigned-to-next-task/7895/1 "2016-10-24T09:37:50Z")

</div>

3 questions in one 😛

1st Is there a way to know EVERY task (or flowNode) in a workflow? not only the archived tasks, failed or ready tasks, but every single one from start to finish? (by tasks I mean every user\_task, automatic\_task, gateway and so on…)

2nd If there is way to know every task I suppose there is way to know which task is next from a certain point in the workflow…is there?

3rd This one is easy but depends on the other two questions…is there a way to know the actors assigned to the NEXT task (or flowNode)?

P.S I want to access the answers to these questions from an app that communicates with bonita through the REST API

---

<div class="post-metadata">

**Author:** ![contact\_420](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@contact\_420](https://community.ofelia.com/u/contact_420)\
**Post date:** [24 October 2016 17:18 UTC](https://community.ofelia.com/t/know-the-actors-assigned-to-next-task/7895/2 "2016-10-24T17:18:19Z")

</div>

To know these things you would have to predict the future, which in most real cases is impossible. Usually the process path depends on data or actions taken by users. Also actors can depend on data that yo don’t know at the beginning of the process. So (in most cases) it is simply impossible.

Best regards,  
[bpms.help](http://bpms.help)

---

<div class="post-metadata">

**Author:** ![kiran.neupane](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kiran.neupane](https://community.ofelia.com/u/kiran.neupane)\
**Post date:** [24 October 2016 20:44 UTC](https://community.ofelia.com/t/know-the-actors-assigned-to-next-task/7895/3 "2016-10-24T20:44:25Z")

</div>

If we know everything in the process then we don’t even required a BPM it could have been some java app or .net app doing all the processing.
