# Calling workflow in JVM to workflow running in other JVM

**URL:** <https://community.temporal.io/t/calling-workflow-in-jvm-to-workflow-running-in-other-jvm/2588>\
**Category:** Community Support\
**Tags:** general-impl\
**Created:** [July 20, 2021, 6:05pm UTC](https://community.temporal.io/t/calling-workflow-in-jvm-to-workflow-running-in-other-jvm/2588 "2021-07-20T18:05:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![phani](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/phani/32/1309_2.png) [@phani](https://community.temporal.io/u/phani)\
**Post date:** [July 20, 2021, 6:05pm UTC](https://community.temporal.io/t/calling-workflow-in-jvm-to-workflow-running-in-other-jvm/2588/1 "2021-07-20T18:05:09Z")

</div>

Hi All,

How do we call workflow running in one JVM to workflow running in other JVM of temporal .  
We want to have parent workflow as one service and that wont change and invoke subworkflow running as other service which is expecting frequent changes .and parent workflow can invoke subworkflow dynamic .

---

<div class="post-metadata">

**Author:** ![ryland](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/ryland/32/11_2.png) [@ryland](https://community.temporal.io/u/ryland)\
**Post date:** [July 24, 2021, 4:34pm UTC](https://community.temporal.io/t/calling-workflow-in-jvm-to-workflow-running-in-other-jvm/2588/2 "2021-07-24T16:34:13Z")

</div>

Made this topic public on July 24, 2021, 4:34pm UTC



---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [July 24, 2021, 6:20pm UTC](https://community.temporal.io/t/calling-workflow-in-jvm-to-workflow-running-in-other-jvm/2588/3 "2021-07-24T18:20:26Z")

</div>

Use different task queues for these workflows. Make sure to specify the child task queue explicitly through [ChildWorkflowOptions.taskQueue](https://github.com/temporalio/sdk-java/blob/30420212a26283cf7cbe6339512058a3186074e8/temporal-sdk/src/main/java/io/temporal/workflow/ChildWorkflowOptions.java#L190) when creating its stub.

---

<div class="post-metadata">

**Author:** ![phani](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/phani/32/1309_2.png) [@phani](https://community.temporal.io/u/phani)\
**Post date:** [July 24, 2021, 8:55pm UTC](https://community.temporal.io/t/calling-workflow-in-jvm-to-workflow-running-in-other-jvm/2588/4 "2021-07-24T20:55:21Z")

</div>

Hi maxim,

Thank you.

I tried this and it worked child workflow should implement dynamic workflow.

Do Temporal provide any paid support if we select the product??

Thanks  
Phani

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [July 25, 2021, 12:30am UTC](https://community.temporal.io/t/calling-workflow-in-jvm-to-workflow-running-in-other-jvm/2588/5 "2021-07-25T00:30:41Z")

</div>

Child workflow doesn’t need to implement dynamic workflow for this to work. DynamicWorkflow is used to implement multiple workflow types by a single class.

> Do Temporal provide any paid support if we select the product??

No. We only provide support for our [cloud offering](https://us17.list-manage.com/survey?u=2334a0f23e55fd1840613755d&id=f1895b6f4a).
