hi Team,
We are using java-sdk (1.17.0) and we are setting the workflow id based on the incoming request.
These workflow id are unique. We are using WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
But there is a scenario, where we might receive concurrent duplicate requests which causes one of the request to proceed and causing failures for other requests. Ideally, we would like to process all these requests.
Is there any API to find out if an id is avaliable for use based on the policy set.