# Wrong documentation for WorkflowIDReusePolicy

**URL:** <https://community.temporal.io/t/wrong-documentation-for-workflowidreusepolicy/8578>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [June 20, 2023, 10:32am UTC](https://community.temporal.io/t/wrong-documentation-for-workflowidreusepolicy/8578 "2023-06-20T10:32:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitriusan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/dmitriusan/32/2936_2.png) [@Dmitriusan](https://community.temporal.io/u/Dmitriusan)\
**Post date:** [June 20, 2023, 10:32am UTC](https://community.temporal.io/t/wrong-documentation-for-workflowidreusepolicy/8578/1 "2023-06-20T10:32:28Z")

</div>

There is a contradiction at Java SDK documentation for `WorkflowIDReusePolicy`

At [Java WorkflowOptions reference | Legacy documentation for Temporal SDKs](https://legacy-documentation-sdks.temporal.io/java/reference-workflowoptions) , it is said:

Default: `enums.AllowDuplicateFailedOnly` is the default value. It means that the Workflow can start a new run if the previous run failed, was canceled, or was terminated.

At [WorkflowOptions.Builder (temporal-sdk 1.19.1 API)](https://www.javadoc.io/static/io.temporal/temporal-sdk/1.19.1/io/temporal/client/WorkflowOptions.Builder.html#setWorkflowIdReusePolicy(io.temporal.api.enums.v1.WorkflowIdReusePolicy))

it is mentioned that Default value if not set: **AllowDuplicate**

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [June 20, 2023, 4:07pm UTC](https://community.temporal.io/t/wrong-documentation-for-workflowidreusepolicy/8578/2 "2023-06-20T16:07:01Z")

</div>

Nice catch, thanks. Docs team will make the update asap.
