Difference between revisions of "IMAS System at DAS"
From PresenceWiki
Line 6: | Line 6: | ||
If the attachment is a zip then the zip will be unzipped and each file in the zip placed in a new folder | If the attachment is a zip then the zip will be unzipped and each file in the zip placed in a new folder | ||
− | + | ||
+ | The folder that is passed around will contain 3 files:- | ||
+ | |||
+ | imasready.txt - a trigger file to say that the folder is ready to be processed | ||
+ | CABR.deleteme | ||
Each of the above folders is then taken and placed in one of the following folders | Each of the above folders is then taken and placed in one of the following folders | ||
Line 37: | Line 41: | ||
.\res\httpdocs\imas\archive\ok\MotorFixed | .\res\httpdocs\imas\archive\ok\MotorFixed | ||
.\res\httpdocs\imas\archive\ok\Unknown | .\res\httpdocs\imas\archive\ok\Unknown | ||
+ | |||
Revision as of 15:33, 18 July 2012
The route through the system is as follows:-
Scanned emails come and each attachment is unzipped to a new folder in:- .\res\httpdocs\imas\scan\BasicDetach If the attachment is a zip then the zip will be unzipped and each file in the zip placed in a new folder The folder that is passed around will contain 3 files:- imasready.txt - a trigger file to say that the folder is ready to be processed CABR.deleteme
Each of the above folders is then taken and placed in one of the following folders .\res\httpdocs\imas\scan\Buckets\HomeDelimit .\res\httpdocs\imas\scan\Buckets\HomeFixed .\res\httpdocs\imas\scan\Buckets\MotorDelimit .\res\httpdocs\imas\scan\Buckets\MotorFixed .\res\httpdocs\imas\scan\Buckets\Unknown Anything in Unknown will need to be dealt with 'by hand'
Another task will then move the folders from the above directories to the equivalent in process:- .\res\httpdocs\imas\archive\process\HomeDelimit .\res\httpdocs\imas\archive\process\HomeFixed .\res\httpdocs\imas\archive\process\MotorDelimit .\res\httpdocs\imas\archive\process\MotorFixed .\res\httpdocs\imas\archive\process\Unknown
Once the as400 table has been inserted into, the program run, and then the as400 table found to be empty again the folder will be placed in:- .\res\httpdocs\imas\archive\ok\HomeDelimit .\res\httpdocs\imas\archive\ok\HomeFixed .\res\httpdocs\imas\archive\ok\MotorDelimit .\res\httpdocs\imas\archive\ok\MotorFixed .\res\httpdocs\imas\archive\ok\Unknown
If something goes wrong then the folder ends up in:- .\res\httpdocs\imas\archive\fail\HomeDelimit .\res\httpdocs\imas\archive\fail\HomeFixed .\res\httpdocs\imas\archive\fail\MotorDelimit .\res\httpdocs\imas\archive\fail\MotorFixed .\res\httpdocs\imas\archive\fail\Unknown