@@ -232,16 +232,16 @@ func (workflow *Workflow) executeParallel(progress *Progress, input *PartialData
232232 progress .Complete (parallelTasks [i ].GetId ())
233233 }
234234
235- outputData := NewPartialData (ReqId (r .Id ), "" , "" , outputMap ) // partial initialization of outputData
236- outputData .ForTask = parallelTasks [0 ].GetNext ()[0 ] // TODO: we are assuming that the next task is unique for all the parallel tasks (i.e. a FanIn)
235+ outputData := NewPartialData (ReqId (r .Id ), "" , outputMap ) // partial initialization of outputData
236+ outputData .ForTask = parallelTasks [0 ].GetNext ()[0 ] // TODO: we are assuming that the next task is unique for all the parallel tasks (i.e. a FanIn)
237237 progress .AddReadyTask (parallelTasks [0 ].GetNext ()[0 ])
238238 return outputData , progress , nil
239239}
240240
241241func (workflow * Workflow ) doNothingExec (progress * Progress , input * PartialData , task Task , r * Request ) (* PartialData , * Progress , bool , error ) {
242242
243243 output := input .Data
244- outputData := NewPartialData (ReqId (r .Id ), task .GetNext ()[0 ], task . GetId (), output )
244+ outputData := NewPartialData (ReqId (r .Id ), task .GetNext ()[0 ], output )
245245
246246 progress .Complete (task .GetId ())
247247
@@ -436,7 +436,7 @@ func (workflow *Workflow) Invoke(r *Request) (ExecutionReport, error) {
436436 // TODO: move into a function?
437437 if ! r .Resuming {
438438 progress = InitProgress (requestId , workflow )
439- pd = NewPartialData (requestId , workflow .Start .Id , "" , r .Params )
439+ pd = NewPartialData (requestId , workflow .Start .Id , r .Params )
440440 } else {
441441 var found bool
442442 progress , found = RetrieveProgress (requestId , true )
0 commit comments