# \#faq

**URL:** https://community.orkes.io/tag/faq/7.md

[Latest](https://community.orkes.io/latest.md) · [Categories](https://community.orkes.io/categories.md) · [Tags](https://community.orkes.io/tags.md)

---

## [Duplicate Content-Type header rejected by server](https://community.orkes.io/t/duplicate-content-type-header-rejected-by-server/171)

<div class="topic-metadata">

**Author:** [@orkes\_community](https://community.orkes.io/u/orkes_community)\
**Replies:** 1\
**Last updated:** [May 12, 2025, 3:32pm UTC](https://community.orkes.io/t/duplicate-content-type-header-rejected-by-server/171 "2025-05-12T15:32:56Z")

</div>

For SDK version v1.5.4 (ref: Duplicate \`Content-Type\` header rejected by server · Issue #184 · conductor-sdk/conductor-go · GitHub) I try to observe the HTTP dump sent when execute the workflow through the SDK using set…

---

## [Trigger workflow in synchronous fashion using conductor's provided api](https://community.orkes.io/t/trigger-workflow-in-synchronous-fashion-using-conductors-provided-api/163)

<div class="topic-metadata">

**Author:** [@anupsinha007](https://community.orkes.io/u/anupsinha007)\
**Replies:** 0\
**Last updated:** [April 19, 2025, 4:33pm UTC](https://community.orkes.io/t/trigger-workflow-in-synchronous-fashion-using-conductors-provided-api/163 "2025-04-19T16:33:35Z")

</div>

Hi team, we do have a usecase where we want to trigger conductor workflow with few input parameter using conductor’s provided api where this workflow should work in synchronous fashion meaning it will wait till all the t…

---

## [Fixing Flyway Migration After OSS-Conductor Upgrade (3.21.4+)](https://community.orkes.io/t/fixing-flyway-migration-after-oss-conductor-upgrade-3-21-4/146)

<div class="topic-metadata">

**Author:** [@pyarun](https://community.orkes.io/u/pyarun)\
**Replies:** 0\
**Last updated:** [March 12, 2025, 5:47pm UTC](https://community.orkes.io/t/fixing-flyway-migration-after-oss-conductor-upgrade-3-21-4/146 "2025-03-12T17:47:20Z")

</div>

Problem: Upgrading OSS-Conductor from version 3.21.4 to a newer version (e.g., 3.21.12 or similar) results in a Flyway migration error: “Validate failed: Migrations have failed validation” Caused by: org.flywaydb.core.a…

---

## [How do I create a \`DO\_WHILE\` task in Conductor that loops until a condition is met?](https://community.orkes.io/t/how-do-i-create-a-do-while-task-in-conductor-that-loops-until-a-condition-is-met/57)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 9, 2025, 8:06pm UTC](https://community.orkes.io/t/how-do-i-create-a-do-while-task-in-conductor-that-loops-until-a-condition-is-met/57 "2025-01-09T20:06:31Z")

</div>

I’m new to Conductor workflows and tried creating a DO\_WHILE task that should loop until the status is different from ‘Pending’, but the loop isn’t working as expected. Answer: Check the condition you are using in the…

---

## [Can I delay each iteration of a loop in Conductor by a specific duration, like 15 minutes?](https://community.orkes.io/t/can-i-delay-each-iteration-of-a-loop-in-conductor-by-a-specific-duration-like-15-minutes/58)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 9, 2025, 8:06pm UTC](https://community.orkes.io/t/can-i-delay-each-iteration-of-a-loop-in-conductor-by-a-specific-duration-like-15-minutes/58 "2025-01-09T20:06:32Z")

</div>

Can I make the loop try again after 15 minutes if the status is still Pending? Answer: Use the WAIT task before checking the status again. You can configure it like this: { "name": "wait\_task", "type": "WAIT"…

---

## [Why is the output status null when switching to a \`WAIT\` task?](https://community.orkes.io/t/why-is-the-output-status-null-when-switching-to-a-wait-task/59)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 9, 2025, 8:06pm UTC](https://community.orkes.io/t/why-is-the-output-status-null-when-switching-to-a-wait-task/59 "2025-01-09T20:06:32Z")

</div>

When switching to a WAIT task, the output status from gpi\_tracker\_status\_check\_ref is coming as null. Answer: Ensure the WAIT task is appropriately followed by the next logical task. You might need to adjust how the W…

---

## [Will new Conductor releases be available under the same coordinates after the repository ownership change?](https://community.orkes.io/t/will-new-conductor-releases-be-available-under-the-same-coordinates-after-the-repository-ownership-change/60)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 9, 2025, 8:06pm UTC](https://community.orkes.io/t/will-new-conductor-releases-be-available-under-the-same-coordinates-after-the-repository-ownership-change/60 "2025-01-09T20:06:33Z")

</div>

With the change of repo and ownership, will we still find the new releases in the same location? Answer: No, the coordinates will change with the new repository. The artifacts will now be published under org.conductor…

---

## [Is it possible to access parent workflow variables within a sub-workflow?](https://community.orkes.io/t/is-it-possible-to-access-parent-workflow-variables-within-a-sub-workflow/54)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 7:51pm UTC](https://community.orkes.io/t/is-it-possible-to-access-parent-workflow-variables-within-a-sub-workflow/54 "2025-01-02T19:51:55Z")

</div>

Follow-up: Since a sub-workflow is part of the parent workflow, shouldn’t it have access to the parent workflow’s variables? No, it is not possible to directly access parent workflow variables from a sub-workflow. To pa…

---

## [How does conductor keep the outputs of task, especially when the task in a workflow is completed?](https://community.orkes.io/t/how-does-conductor-keep-the-outputs-of-task-especially-when-the-task-in-a-workflow-is-completed/53)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 7:46pm UTC](https://community.orkes.io/t/how-does-conductor-keep-the-outputs-of-task-especially-when-the-task-in-a-workflow-is-completed/53 "2025-01-02T19:46:26Z")

</div>

Follow-up: Does it keep the whole output for that task, or only keep the one that is used on subsequence task or final output? Conductor will store the input and output payloads for the tasks in the execution data store…

---

## [What is the best way to run an executable jar file using conductor?](https://community.orkes.io/t/what-is-the-best-way-to-run-an-executable-jar-file-using-conductor/52)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 7:20pm UTC](https://community.orkes.io/t/what-is-the-best-way-to-run-an-executable-jar-file-using-conductor/52 "2025-01-02T19:20:35Z")

</div>

Follow-up: For example, you have a workflow which needs to invoke multiple executable jar files as tasks. What would be the best way to implement such orchestration. Also, how to store or load the jar file to the runtime…

---

## [Welcome to the FAQ category of the Orkes Community](https://community.orkes.io/t/welcome-to-the-faq-category-of-the-orkes-community/51)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:42pm UTC](https://community.orkes.io/t/welcome-to-the-faq-category-of-the-orkes-community/51 "2025-01-02T18:42:24Z")

</div>

This category is your go-to resource for answers to the most common questions about Orkes, Conductor, and our community. Whether you’re a newcomer or a seasoned user, you’ll find helpful insights on topics like getting …

---

## [Can I exit early from a task without executing the configured automatic retries in the task definition?](https://community.orkes.io/t/can-i-exit-early-from-a-task-without-executing-the-configured-automatic-retries-in-the-task-definition/50)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:38pm UTC](https://community.orkes.io/t/can-i-exit-early-from-a-task-without-executing-the-configured-automatic-retries-in-the-task-definition/50 "2025-01-02T18:38:32Z")

</div>

Set the status to FAILED\_WITH\_TERMINAL\_ERROR in the TaskResult object within your worker. This would mark the task as FAILED and fail the workflow without retrying the task as a fail-fast mechanism.

---

## [I want my worker to stop polling and executing tasks when the process is being terminated (Java client)](https://community.orkes.io/t/i-want-my-worker-to-stop-polling-and-executing-tasks-when-the-process-is-being-terminated-java-client/49)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:35pm UTC](https://community.orkes.io/t/i-want-my-worker-to-stop-polling-and-executing-tasks-when-the-process-is-being-terminated-java-client/49 "2025-01-02T18:35:52Z")

</div>

In a PreDestroy block within your application, call the shutdown() method on the TaskRunnerConfigurer instance that you have created to facilitate a graceful shutdown of your worker in case the process is being terminate…

---

## [How do I configure a notification when my workflow completes or fails?](https://community.orkes.io/t/how-do-i-configure-a-notification-when-my-workflow-completes-or-fails/48)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:35pm UTC](https://community.orkes.io/t/how-do-i-configure-a-notification-when-my-workflow-completes-or-fails/48 "2025-01-02T18:35:15Z")

</div>

When a workflow fails, you can configure a “failure workflow” to run using thefailureWorkflow parameter. By default, three parameters are passed: reason workflowId: use this to pull the details of the failed workflow. f…

---

## [My workflow is running and the task is SCHEDULED but it is not being processed](https://community.orkes.io/t/my-workflow-is-running-and-the-task-is-scheduled-but-it-is-not-being-processed/47)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:34pm UTC](https://community.orkes.io/t/my-workflow-is-running-and-the-task-is-scheduled-but-it-is-not-being-processed/47 "2025-01-02T18:34:35Z")

</div>

Make sure that the worker is actively polling for this task. Navigate to the Task Queues tab on the Conductor UI and select your task name in the search box. Ensure that Last Poll Time for this task is current. In Condu…

---

## [How can I get help with Dynomite?](https://community.orkes.io/t/how-can-i-get-help-with-dynomite/46)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:34pm UTC](https://community.orkes.io/t/how-can-i-get-help-with-dynomite/46 "2025-01-02T18:34:05Z")

</div>

Visit Dynomite’s Github page to find details on setup and support mechanism.

---

## [How do I setup Dynomite cluster?](https://community.orkes.io/t/how-do-i-setup-dynomite-cluster/45)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:31pm UTC](https://community.orkes.io/t/how-do-i-setup-dynomite-cluster/45 "2025-01-02T18:31:09Z")

</div>

Visit Dynomite’s Github page to find details on setup and support mechanism.

---

## [How do I schedule workflows to run at a specific time?](https://community.orkes.io/t/how-do-i-schedule-workflows-to-run-at-a-specific-time/44)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:29pm UTC](https://community.orkes.io/t/how-do-i-schedule-workflows-to-run-at-a-specific-time/44 "2025-01-02T18:29:37Z")

</div>

Conductor itself does not provide any scheduling mechanism. But there is a community project Schedule Conductor Workflows which provides workflow scheduling capability as a pluggable module as well as workflow server. O…

---

## [How does conductor run my tasks?](https://community.orkes.io/t/how-does-conductor-run-my-tasks/43)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:28pm UTC](https://community.orkes.io/t/how-does-conductor-run-my-tasks/43 "2025-01-02T18:28:36Z")

</div>

Follow-up question: Where does my worker run? Conductor does not run the workers. When a task is scheduled, it is put into the queue maintained by Conductor. Workers are required to poll for tasks using /tasks/poll API…

---

## [Why does my workflow fail to start with a missing task error](https://community.orkes.io/t/why-does-my-workflow-fail-to-start-with-a-missing-task-error/42)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:26pm UTC](https://community.orkes.io/t/why-does-my-workflow-fail-to-start-with-a-missing-task-error/42 "2025-01-02T18:26:22Z")

</div>

Ensure all the tasks are registered via /metadata/taskdefs APIs. Add any missing task definition (as reported in the error) and try again.

---

## [Can I have a workflow that keeps running for days or months?](https://community.orkes.io/t/can-i-have-a-workflow-that-keeps-running-for-days-or-months/41)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:25pm UTC](https://community.orkes.io/t/can-i-have-a-workflow-that-keeps-running-for-days-or-months/41 "2025-01-02T18:25:37Z")

</div>

Follow-up question: How long can a workflow be in running state? Yes, you can have a workflow that continues to run for days/months. As long as the timeouts on the tasks are set to handle long running workflows, it wil…

---

## [How do you schedule a task to be put in the queue after some time (e.g. 1 hour, 1 day etc.)](https://community.orkes.io/t/how-do-you-schedule-a-task-to-be-put-in-the-queue-after-some-time-e-g-1-hour-1-day-etc/40)

<div class="topic-metadata">

**Author:** [@jeff.bull](https://community.orkes.io/u/jeff.bull)\
**Replies:** 0\
**Last updated:** [January 2, 2025, 6:23pm UTC](https://community.orkes.io/t/how-do-you-schedule-a-task-to-be-put-in-the-queue-after-some-time-e-g-1-hour-1-day-etc/40 "2025-01-02T18:23:46Z")

</div>

After polling for the task update the status of the task to IN\_PROGRESS and set the callbackAfterSeconds value to the desired time. The task will remain in the queue until the specified second before worker polling for i…
