Hi i have a workflow with WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY,
first time i submitted a workflow and it went fine, (status completed/success)
now second time when i submit another workflow with same name,
i happen to create stub and call stub.workflowMethod directly, ( as i want to invoke this workflow synchronously)
i get a response immediately, where as i was expected a rejected exception
Is my usage in correct or is it a bug?
WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY -> i Interpret this as -> if workflow failed previously submit one otherwise throw exception/reject (but the behaviour seems to be if workflow ran successfully previously, ignore and do not do anything(no op) ).