Synchronization of activities in Orchestration

Home Page Forums BizTalk 2004 – BizTalk 2010 Synchronization of activities in Orchestration

Viewing 1 reply thread
  • Author
    Posts
    • #18162

      Hi,

      I have a requirement of Extracting Body and attachments from a e-Mail in a folder.

      But problem is that attachments can be of .doc and .zip format. If it is of .zip format then I have to perform an additional step of unzipping before dropping it into a folder. For this I have created a .NET component.

      There would be following steps:

      1. Extract the Body and attachments in a folder.

      2. After extraction, BTS has to call .NET component to unzip the files.

      But problem is that, there is no synchronization between these two steps. Ideally, step-2 should happen only after step-1 has been completed. But step-2 is firing irrespective of step-1. Due to this when .NET component is called there is no zipped attachment in the folder, so it does not extract any file.

      How can we schronize two activities in BTS, so that second activity happens only when first is completed i.e. It should not call .NET component until unless all the attachments and body have been dropped in the folder.

      Thanks in Advance

    • #18181

      I do this by using the "Parallel Action" shape in an Orchestration.

      I receive invoice files from a supplier that are broken up across 3 files. I need all 3 files received before I move on to my Transformations. I believe this will work for your application. I'm hoping my success isn't just dumb luck.

      Can someone confirm? 

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