Instructions for Testing Automated Activity

Document Version 1.0 Created By: Dipesh A. Automated activity consists of three projects running simultaneously: 1. HCD.BizTalkGateway 2. HCD.BizTalk.Schema 3. HCD.BizTalk.Queue.Tasks

HCD.BizTalkGateway
This application is responsible for validating input files and redirecting them to appropriate folders if they are valid, else they are moved to a rejection folder. Breaking up of multisheet excel files and converting them to CSV equivalents is also carried out by this application.
NOTE: PLEASE MAKE SURE THAT THE INPUT FILENAMES DONT HAVE ANY SPACES IN THEM.

(EG: 02-0466.xls -Correct, 02 - 0466.xls - Incorrect) This project is placed on Nazgul at C:\BizTalkProject. The sample files are provided with this project in the sample files folder.

HCD.BizTalk.Schema
This BizTalk application is responsible for picking records from flat files and moving them to the activity queue. This project is placed on Nazgul at C:\BizTalkProject.

HCD.BizTalk.Queue.Tasks
This BizTalk application is responsible for picking records from different queues and moving them to the database if it’s a good record or to an on-hold queue if it is a bad record. This project is placed on Nazgul at C:\BizTalkProject. INSTALLATION PROCEDURE:

1

1. You will have to install HCD.BizTalkGateway by clicking on the setup file on this link: \\nazgul.momentumi.com\c$\BizTalkProject\HCD.BizTalkGateway\Setup \HCD.BizTalkGatewaySetup\Release\Setup.exe

2. The next step is installing HCD.BizTalk.Schema by click on this link: \\nazgul.momentumi.com\c$\BizTalkProject\HCD.BizTalk.Schema\Setup .bat 3. The last step is to install HCD.BizTalk.Queue.Tasks by click on this link: \\nazgul.momentumi.com\c$\BizTalkProject\HCD.BizTalk.Queue.Tasks\ Setup.bat NOTE: Please follow steps carefully as you install the BizTalk projects. Make sure all the orchestrations are enlisted and running after the installation. RUNNING THE PROJECTS: 1. Start the HCD.BizTalkGateway. 2. You will need to set the default BizTalk folders path in the .config in order to make this application work properly. 3. Currently 31 folders have been mapped in the .config for 31 different files. If there be a need to add more folder mappings, please refer to the ReadMe file for HCD.BizTalkGateway. 4. Before starting the watcher, please verify the paths set for application folders are valid. 5. After all the paths have been set; you can start the watcher and drop a file in the monitoring folder. 6. The file is detected by this application and validated. The file is redirected by Gateway if it is a valid card; else it is moved to the rejection folder. 7. Make sure the orchestrations of HCD.BizTalk.Schema are running. 8. BizTalk detects this file which is redirected by Gateway and the records in this flat file are sent to the activity queue. A status message is posted on the system event log for each record in every file.

2

9. The messages in the activity queue are detected by HCD.Queue.Tasks and each message is checked if it’s a good record or a bad one. If it is a good record then it is moved to the database or the on-hold queue if it is bad. (For process logic of HCD.Queue.Tasks, please refer to its technical document). The message status is posted on the system event log for every message processed.

UNINSTALLATION PROCEDURE: 1. You can remove HCD.BizTalkGateway by going to “Add/Remove Programs” in the Control Panel. 2. You can uninstall HCD.BizTalk.Schema by clicking this link: \\nazgul.momentumi.com\c$\BizTalkProject\HCD.BizTalk.Schema\Cleanup.bat 3. You can uninstall HCD.Queue.Tasks by clicking this link: \\nazgul.momentumi.com\c$\BizTalkProject\HCD.BizTalk.Queue.Tasks\Cleanup .bat

3