Skip to content

Commit f9dfcad

Browse files
af-mdmaxdml
authored andcommitted
Fix workflow ID reference in Send function to use current workflow state
1 parent 8b55202 commit f9dfcad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbos/system_database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ func (s *systemDatabase) Send(ctx context.Context, input WorkflowSendInput) erro
10301030

10311031
// Check if operation was already executed and do nothing if so
10321032
checkInput := CheckOperationExecutionDBInput{
1033-
workflowID: input.DestinationID,
1033+
workflowID: workflowState.WorkflowID,
10341034
operationID: stepID,
10351035
functionName: functionName,
10361036
tx: tx,

0 commit comments

Comments
 (0)