Checking files before send new data?

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Checking files before send new data?

Viewing 1 reply thread
  • Author
    Posts
    • #20280

      Hello any help would be much appreciated

      I am relatively new to the Biztalk area but I have been asked to complete a mapping project.

       

      I am experiencing problems and was wondering whether you could send some advice.

       

      I have created schemas and maps to take a text file disassemble it pass it through a map re-assemble and pass out into a text file %MessageID.txt.  This all works fine and thought that this was job completed.

       

      But I have now been asked to complete this as part of the project.

       

      The file I’m sending out should be placed in a file drop area using an alternate file name, this should then be renamed to SO-Import.DAT.  Another file cannot be submitted until the previous file has been processed and renamed SO-Import.DONE.  Also I need to determine the frequency the files are sent.

       

      Can this be achieved and if so how?

       

      Please be very detailed.

       

      Many Thanks

       

      N

       

    • #20283

       It would seem you need an orchestration that uses a helper component to check the destination directory for files named SO-import.DONE.  If it doesn’t find it, then within an orchestration loop, you’d have a delay for a defined amount of time (e.g. 5 minutes).  Then, it would try again and again until the file was there on disk.  Once the “.DONE” file was found, the loop should break and you can send the message out of the orchestration through the send port.

      As for frequency of files being sent, you can consider using BizTalk BAM to monitor it.

      • #20290

        Interesting approach Richard, that one had me stumped to be honest!

        Nick.

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