Skip to content

Commit

Permalink
Correctly pass through WorkflowIDReusePolicy on SignalWithStart API (#…
Browse files Browse the repository at this point in the history
…707)

Workflow client implementation does not pass on user specified
WorkflowIDReusePolicy to Cadence server on SignalWithStart API call
resulting in default policy 'WorkflowIDReusePolicyAllowDuplicate'
to be used for all calls.
  • Loading branch information
samarabbas authored May 8, 2019
1 parent c99d7e5 commit d481995
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/internal_workflow_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ func (wc *workflowClient) SignalWithStartWorkflow(ctx context.Context, workflowI
RetryPolicy: convertRetryPolicy(options.RetryPolicy),
CronSchedule: common.StringPtr(options.CronSchedule),
Memo: memo,
WorkflowIdReusePolicy: options.WorkflowIDReusePolicy.toThriftPtr(),
}

var response *s.StartWorkflowExecutionResponse
Expand Down

0 comments on commit d481995

Please sign in to comment.