Skip to Content
Author's profile photo Vamshi Palepu

How to extract data from different file types using Wait_For_File().

Requirement was to process various master data mapping files such chart-of-account and Sub-Department and also process transactional Monthly General Ledger and Monthly Sales data files. We accomplished this task by building a batch job with Wait_For_File and Conditional workflows.

Chart_of_Account: FileName_COA_MAP.TXT

SubDepartment: FileName_CC_MAP.TXT

GL File: FileName_GL.TXT

Sales File: FileName_Sales.TXT

wait_for_file(‘FolderName/COA_Map.csv’,0,0,1,$FileType);

(If $FileType is NOT NULL)

Begin

Processing COA Work Flow

End

You can replicate above wait_for_file and conditional workflows for various file types such as “FileName_CC_MAP.TXT”, “FileName_GL.TXT” and “FileName_Sales.TXT”

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.