# Accessing root stage

**URL:** <https://forum.flowable.org/t/accessing-root-stage/12259>\
**Category:** Flowable Engine\
**Created:** [May 19, 2025, 2:30pm UTC](https://forum.flowable.org/t/accessing-root-stage/12259 "2025-05-19T14:30:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sschlppi](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@sschlppi](https://forum.flowable.org/u/sschlppi)\
**Post date:** [May 19, 2025, 2:30pm UTC](https://forum.flowable.org/t/accessing-root-stage/12259/1 "2025-05-19T14:30:54Z")

</div>

Our case model looks like this:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/9/9494fda14193fbfc48ef0586c6ba20c61734eac8.png)  
Through an API call we return information about open tasks. One information is the stage which the task is part of. For this I’m using something like:

```auto
cmmnRuntimeService.createPlanItemInstanceQuery().planItemInstanceId(task.getPropagatedStageInstanceId()).singleResult()

```

So far so good.

My fist question:  
Let’s say “Client Task” is active, then I get back the stage “Client Input”. How can I do it to receive the stage “Data Provision” instead?

My second question:  
How can I achieve the same for tasks within the process “Validation”? Meaning to also retrieve stage “Data Provision”.

Happy day,  
Sulamith
