# Sub Process User Task Execution Issue

**URL:** <https://forum.camunda.io/t/sub-process-user-task-execution-issue/41958>\
**Category:** Discussion & Questions\
**Tags:** getting-started\
**Created:** [January 10, 2023, 5:49am UTC](https://forum.camunda.io/t/sub-process-user-task-execution-issue/41958 "2023-01-10T05:49:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![StephanHaarmann](https://forum.camunda.io/user_avatar/forum.camunda.io/stephanhaarmann/32/21924_2.png) [@StephanHaarmann](https://forum.camunda.io/u/StephanHaarmann)\
**Post date:** [January 10, 2023, 6:42am UTC](https://forum.camunda.io/t/sub-process-user-task-execution-issue/41958/2 "2023-01-10T06:42:18Z")

</div>

Hi,  
The subprocess should have a propertie called `parentkey` containing the process instance ID of the parent process (Operate API):

> **[Overview | Camunda 8 Docs](https://docs.camunda.io/docs/apis-tools/operate-api/overview/)**
>
> Operate API is a REST API and provides searching, getting, and changing Operate data. Requests and responses are in JSON.

> [@Camunda 8 Get Parent Process Instance Key](https://forum.camunda.io/t/camunda-8-get-parent-process-instance-key/40765):
>
> Hi, which is the path (zeebe client, operate api, …) to get the Parent Process Instance Key of a called activity?

---

_[View the full topic](https://forum.camunda.io/t/sub-process-user-task-execution-issue/41958)._
