Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ public void approvePendingTransfer(String workflowId, String managerName) {
// a Workflow Execution involves sending a request to the Temporal Service,
// much like happens when you start the Workflow Execution. We must specify the
// Workflow ID corresponding to the Workflow Execution we want to Signal (i.e.,
// the one that was launched in the Starter class). I hardcoded that Workflow ID
// here since I don't have access to the TransactionDetails instance used by the
// Starter to create the Workflow ID.
// the one that was launched in the Starter class).
WorkflowServiceStubs service = WorkflowServiceStubs.newLocalServiceStubs();
WorkflowClient client = WorkflowClient.newInstance(service);
client.newUntypedWorkflowStub(workflowId).signal("approve", managerName);
Expand Down