How can I configure the ScanFile.cfg configuration file in order to run and execute the process flow? I have assigned values to the parameters in the CFG file as shown below and then recycled the pf services. It is not calling the process flow because the work unit did not increment and the dropped txt file still in the same Unix directory. We prefer setting up the parameters in the config file rather than executing the ScanFileClient from the command line. Also, how can I setup in the config file multiple ScanFileClient processes to listen in various directories and file extensions?. Thank you, Gaston ScanFileClient.cfg:
# BCI client configuration parameter file BCIHost=myhost.lha.org BCIPort=16002 # CCProdLine=Productline where CCS has been installed CCProdLine=logan Procedure="Add AP25 Batch" # HostLogin=Login of user on BCIHost HostLogin=lawson Password=mypassword ScanDir=/lawson/lawson/bpm/flow_scan ArchiveDir=/lawson/lawson/bpm/flow_scan/flow_arch Extension=.txt Batch=TRUE
We are using Lawson 9.014 with Unix. Then we will setup a script to run the ScanFileClient commands but is there any advantage of referring to cfg files using –ConfigFile instead of just inserting the paramer values straight in the command as ScanFileClient –ScanDir=/lawson/lawson/bpm/flow_scan Extension=.txt ... ?
If we go the route of scripting multiple ScanFileClient queues, can we just add these commands to the startup script so they can run as part of the server reboots? Is there a way to gracefully shut these queues down? Is there shutdown part of the pfserv shutdown? Or, do they just die with the shutdown like the EDI MultiServer and SMTPAgent?
Thank you so much for your help, I appreciate it.
Gaston
Sam,
We were contemplating the idea of having one ScanFileClient command calling a main process flow that will branch to the corresponding sub-process-flows based on the file name instead of having various commands. I wonder if this approach will put too much processing overhead to a single ScanFileClient and if it is worthy dealing with an additional work unit for the sub-process. Did you ever consider this approach of using only one ScanFileClient command instead of 30? If it is not much asking, could you please provide me with a snip code of your scripts so we get an idea how to set this up? When you kill these clients, does it do it gracefully or is not an issue at all?
Thank you,
Sam, These snip code examples are very useful. Now we have an idea on how to start/stop the ScanFileClient sessions and I feel more comfortable knowing that a handful of ScanFileClient session will not slow down the system.
Thank you for your help,