Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
add subworkflowId to task input for the backward compatibility reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
Viren Baraiya committed May 16, 2017
1 parent 262793a commit 4468667
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void start(Workflow workflow, Task task, WorkflowExecutor provider) throw

String subWorkflowId = provider.startWorkflow(name, version, wfInput, correlationId, workflow.getWorkflowId(), task.getTaskId(), null);
task.getOutputData().put("subWorkflowId", subWorkflowId);
task.getInputData().put("subWorkflowId", subWorkflowId);
task.setStatus(Status.IN_PROGRESS);

} catch (Exception e) {
Expand Down

0 comments on commit 4468667

Please sign in to comment.