Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
saksham2105 committed Jul 5, 2024
1 parent 069350a commit 84c614a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ public TaskResult execute(Task task) {
System.out.println("Starting dynamic_subworkflow_task");
TaskResult result = new TaskResult(task);
try {
result.setOutputData(startQuestWorkflow());
result.setOutputData(startExistingWorkflow());
} catch (JsonProcessingException e) {
throw new RuntimeException(e);
}
result.setStatus(TaskResult.Status.COMPLETED);
return result;
}

public Map<String, Object> startQuestWorkflow() throws JsonProcessingException {
public Map<String, Object> startExistingWorkflow() throws JsonProcessingException {
StartWorkflowRequest request = new StartWorkflowRequest();
request.setName("dynamic_workflow");
Map<String, Object> inputData = new HashMap<>();
Expand Down

0 comments on commit 84c614a

Please sign in to comment.