Skip to content

Commit e2c88a6

Browse files
committed
TODO
1 parent eddc53e commit e2c88a6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

temporal-sdk/src/main/java/io/temporal/client/ActivityCompletionClientImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ private static WorkflowExecution toExecution(String workflowId, Optional<String>
163163
}
164164

165165
private static WorkflowExecution toStandaloneExecution(Optional<String> activityRunId) {
166+
// TODO: consider not using a WorkflowExecution here, but instead passing
167+
// workflow/activity and run IDs to the factory separately.
166168
return WorkflowExecution.newBuilder()
167169
.setWorkflowId("") // empty workflowId = standalone activity
168170
.setRunId(activityRunId.orElse(""))

0 commit comments

Comments
 (0)