Title: Support orchestration cloning · Issue #311 · microsoft/durabletask-java · GitHub
Open Graph Title: Support orchestration cloning · Issue #311 · microsoft/durabletask-java
X Title: Support orchestration cloning · Issue #311 · microsoft/durabletask-java
Description: Add a native SDK API with a required target ID and optional version. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to the source orchestration. Example using t...
Open Graph Description: Add a native SDK API with a required target ID and optional version. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to t...
X Description: Add a native SDK API with a required target ID and optional version. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to t...
Opengraph URL: https://github.com/microsoft/durabletask-java/issues/311
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support orchestration cloning","articleBody":"Add a native SDK API with a **required target ID** and **optional version**. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to the source orchestration.\n\nExample using the JavaScript `durable-functions` SDK v3.x:\n\n```javascript\nawait client.restart(\"order-123\", {\n newInstanceId: \"order-123-retry\",\n version: \"2.0\",\n});\n```\n\nRestart from the beginning with the original name/input—not copied history. Inside the clone:\n\n```javascript\ndf.orchestrator(function* (context) {\n context.df.instanceId; // \"order-123-retry\"\n context.df.sourceInstanceId; // \"order-123\"\n context.df.version; // \"2.0\"\n});\n```\n\nCloning `\"order-123-retry\"` again gives the next clone `sourceInstanceId === \"order-123-retry\"`, not `\"order-123\"`.\n\nIf `version` is omitted, preserve the backend’s existing default restart behavior. An explicit empty string selects an unversioned orchestration.\n\nPreserve existing APIs and replay behavior. Sub-orchestrations must not inherit the source reference.\n\nExamples use the `Azure/azure-functions-durable-js` API; other SDKs should follow their native naming conventions.","author":{"url":"https://github.com/bachuv","@type":"Person","name":"bachuv"},"datePublished":"2026-11-03T22:59:20Z","url":"https://github.com/microsoft/durabletask-java/issues/311"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:42ac5818-878c-9dff-1523-16e8f13a2d28 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCB0:E55BA:7D034:A3370:6AFE31F1 |
| html-safe-nonce | c3847910a15fd625274c5ad5c01b9cb35de1a08de9c0fddc3ef5bd0dbea18902 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0IwOkU1NUJBOjdEMDM0OkEzMzcwOjZBRkUzMUYxIiwidmlzaXRvcl9pZCI6IjU5NTYzOTg2ODgxMzY3MzcyNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2e3d9dd73fb89e7c07b3181bd51eceffc19665784705e654455c6c06ecd2bcb0 |
| hovercard-subject-tag | issue:6192696101 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/durabletask-java/311/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9dd1690dae05862486737684647a65c07be99a830585c8a69e068d9a9d00aafe/microsoft/durabletask-java/issues/311 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9dd1690dae05862486737684647a65c07be99a830585c8a69e068d9a9d00aafe/microsoft/durabletask-java/issues/311 |
| og:image:alt | Add a native SDK API with a required target ID and optional version. Enable users to clone an existing orchestration with a chosen instance ID and optional version, while retaining a reference to t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bachuv |
| hostname | github.com |
| expected-hostname | github.com |
| None | d70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/durabletask-java git https://github.com/microsoft/durabletask-java.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 452823832 |
| octolytics-dimension-repository_nwo | microsoft/durabletask-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 452823832 |
| octolytics-dimension-repository_network_root_nwo | microsoft/durabletask-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ccb88d9c92abe69245b429398c8a57ae87070c7c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width