Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
IPA/ProcessFlow
ScanFileClient example
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Wayne
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5120
People Online:
Visitors:
253
Members:
0
Total:
253
Online Now:
New Topics
Lawson S3 Financials
PO Matched Dollars and Matched Quantity
5/10/2024 6:51 PM
Can anyone share the Lawson calculation to determi
S3 Customization/Development
COBOL CSV file
5/10/2024 2:36 PM
We have a custom Cobol program ZU200 that creates
S3 Systems Administration
Using MFA for Lawson S3 Access
5/8/2024 1:23 PM
Does anyone use Multi Factor Authentication when u
Lawson Landmark
Executing IPA from PR160
5/3/2024 2:46 PM
We're facing a situation where we need to upda
IPA/ProcessFlow
Executing IPA from PR160
5/3/2024 2:46 PM
We're facing a situation where we need to upda
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1357
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
IPA/ProcessFlow
ScanFileClient example
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
slavo
Basic Member
Posts: 8
2/12/2013 5:15 PM
I am relatively new at PF development, but what I read, I want to use ScnaFileClient to kick off a Flow when someone FTP's a file to a directory. I know I need to create a ScanFileCLient.cfg but I don't really know how to use it. Can someone give be a very simple explanation on how to of ScanFIleCLient? Perhaps an example? We are a Windows shop. Thanks.
John Henley
Posts: 3352
2/12/2013 6:16 PM
You create a ScanFileClient config file for each unique folder you want to monitor/process flow you want to run (i.e. unique config/parameters are required for monitoring each given directory); the config file has the following parameters:
# Lawson host name or IP address
BCIHost=lawson.example.com
# Port number for Process Flow
BCIPort=16002
# logan
CCProdLine=logan
# username/password for running process flow; get the encrypted password from %LAWDIR%/system/pfserv.cfg
HostLogin=lawson
Password=<
>
# Process flow service to execute for each incoming file
Procedure=<
>
# TRUE to read entire file or FALSE for record by record (i.e. each record creates a workunit)
Batch=TRUE
# folder to monitor
ScanDir=E:\incoming
# file types to look for
Extension=.CSV
# optional location to archive files after processing
ArchiveDir=E:\archive
Manually invoking ScanFileClient:
E:\LINTE\gen\bin\ScanFileClient.exe -ConfigFile ScanFileClient-Sample1.cfg -ErrorLogFile ScanFileClient-Sample1.errors -LogFile ScanFileClient-Sample1.log
To invoke it automatically at system startup, you can include that command in a startup script.
Or you can add it to %LAWDIR%/system/laserv.cfg with a tag:
scfsamp "E:\LINTE\gen\bin\ScanFileClient.exe -ConfigFile ScanFileClient-Sample1.cfg -ErrorLogFile ScanFileClient-Sample1.errors -LogFile ScanFileClient-Sample1.log"
And then use:
E:\LINTE\gen\bin\startserv.exe scfsamp
slavo
Basic Member
Posts: 8
2/12/2013 6:27 PM
Thank you John. That is exactly what I was asking for. Much appreciated.
You are not authorized to post a reply.