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