Pass values to pipeline-Collection of common programming errors

Hi Ravi,

Not sure that I have explained the problem correctly. I don’t have any problems running the pipeline, what I have problem with is to pass values to pipeline at a runtime.

In CS 2007 I could assign some value to pipeline info using specific key (see the code example above) and then access this value in my pipeline component. In CS 2009 I cannot find the place where this can be done since all pipeline execution logic is hidden in corresponding sequence component (Microsoft.Commerce.SequenceComponents.Components.OrderPipelinesProcessor).

Looking at the source code of OrderPipelinesProcessor component (using reflector) I can see that it creates core pipeline info from MCF pipeline info:

 internal static PipelineInfo CreatePipelineInfo(PipelineBase pipeline, string siteName, PipelineInfo requestPipelineInfo)
{ PipelineInfo commercePipelineInfo = new PipelineInfo(pipeline.Name); AddItemsToPipelineInfo(commercePipelineInfo, requestPipelineInfo); ....... return commercePipelineInfo;
}

It also adds items from MCF pipeline info to core one:

 private static void AddItemsToPipelineInfo(PipelineInfo commercePipelineInfo, PipelineInfo requestPipelineInfo)
{ foreach (string str in requestPipelineInfo.Items.Keys) { object obj2 = requestPipelineInfo.Items[str];
    commercePipelineInfo[str] = obj2;
  }
}

Seems like I need to pass my data to MCF pipeline info so that then it is passed to core pipeline info during runtime. But I cannot find a way to do this.