Loop is skipping records

Home Page Forums BizTalk 2004 – BizTalk 2010 Loop is skipping records

Viewing 1 reply thread
  • Author
    Posts
    • #15291

      Ok.. I am using code to send items to a receive pipeline.

      I use a loop with:
      RcvPipeOutput.MoveNext()

      Then inside the loop I set the message with code as follows:
      FFMessage = null;
      RcvPipeOutput.GetCurrent(FFMessage);

      Then I send it to a web service to be put into a database.

      When running the orch it selects and sends every other record. So for 10 records… I only get 5 into the database (and it is every other). I change the total count and it changes the records returned and is always every other.

      Its probably something stupid in my setup… but any suggestions? If I output the message to a folder on disk before it goes to the receive pipeline it has 10 records.. so I know its getting to the loop at least with proper counts.

      Thanks

    • #15292

      I thought the same thing and could not find. The problem was resolved… it was an issue with to many fields defined.. so the LF/CR got put into a field rather than being processed.

      Thanks Anyways!

      • #15293

        Sound like you might have two MoveNexts

        Are you getting the odd messages (1,3,5,7..) or the even ones

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.