DRD Processor is an application for batch operations dealing with a DMS environment.
DRD Processor can be used to perform all kind of batch operations against a DMS system (document and profile import/update and export). You can import or update document files, set profile fields, security and more - even batch exports with (or without) transfer to other systems and so on.
The application uses two standards introduced by MAY Computer based on many years of experience dealing with document management systems and projects - the DRD and DRS standard.
The DRD standard stands for Document Related Data and holds profile/meta-information for documents and the document files itself or links to them. DRD can be passed between applications by passing object references or using it as a file in simple text format, XML or ZIP. The standard is open and can be used by any third party application also.
The DRS standard stands for Document Related Script and is a simple scripting language. It consists of a common part that contains commands for reading system information, reading and writing files, launching other processes and so on - and it contains a part for dealing with DRD and DMS. The language is itself extensible with plugins as script enhancements. At this time there are more than 250 commands available. See DRS online help for more details.
DRD Processor combines both technologies in the way that it can walk through folders processing files and DRS scripts. Also Included is a monitoring tool that gives an overview about the running processes.
Not required but recommended is the use of Nudger3 which gives more flexible scheduling possibilities.
DRD Processor is DMS independent and offers a plugin interface that makes it possible to integrate any DMS system and then run the same scripts no matter which is the underlying DMS.
A sample of the look of a DRD file in simple text format - easy to create from whatever application:
BEGIN DRD
BEGIN OPT
;Options
Creator=Administrator
CreatorsWS=WSTEST
Editor=Administrator
EditorsWS=WSTEST
RouteInfo=[Administrator;WSTEST]
Action=IMPORT
DocFile=Import.tif
END OPT
BEGIN PRF
;Profile
Title=Test %VAR.TestSeries% %NOWyyyy-mm-dd hh:nn:ss%
Author=%DMSUSER%
Typist=%DMSUSER%
Application=IMAGING
DocType=TEST
Description=Test document at %DATE% %TIME% from %DMSUSER%
END PRF
BEGIN SEC
;Security
usr.ADMINISTRATOR=ALL
grp.OTHERUSERS=READONLY
END SEC
BEGIN HST
;History
Act1=Imported
END HST
END DRD
Here is a simple DRS sample script:
SUB MAIN
ONERROR RESUMENEXT
DIM Loaded
DIM Processed
;DEBUGMODE ON
USEDMS HUMMINGBIRD_DM
DMSINIT
USEDRD CurrentDRD
FILEOPENDLG DRDFile, "*.drd|*.drd", , "*.drd"
IF '%SCR.DRDFile%' = '' THEN
DMSDONE
EXIT SUB
END IF
READDRDFROMFILE Loaded, "%SCR.DRDFile%"
PROCESSDRD Processed
DMSMOVEERRORS2APPERRS
DMSMOVEWARNINGS2APPWRNS
IF %ERRORS% > 0 THEN
SHOWERRORS
ELSE
MSGBOX "DRD processed OK: %DRDDOCID%"
END IF
FLUSHLOGGING
DMSDONE
END SUB
