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
Starting a Process Flow from a batch job
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Brady
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5274
People Online:
Visitors:
382
Members:
0
Total:
382
Online Now:
New Topics
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Integration / Customization
IPA/ProcessFlow
Starting a Process Flow from a batch job
Please
login
to post a reply.
10 Replies
1
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Terry P
Veteran Member
Posts: 234
9/8/2014 11:33 PM
I want to create a multi-step batch job that does three things:
1) Run HS535 to create a CSV interface file of pending time records entered via ESS Time Entry
2) Run a Process Flow (or some other way) that would create a new CSV file that excludes certain Pay Codes I don't want in the next step
3) Run PR530 to create a payroll batch from the previous steps "edited" records
Creating the PF for step 2 is pretty straight forward. I just don't know how to put this as a step in a batch job. Any suggestions?
Ragu Raghavan
Veteran Member
Posts: 477
9/8/2014 11:41 PM
Split
How about a custom 4GL process to take care of step#2 ? Read the CSV file, exclude specified pay codes, write a new CSV file that is then input to PR530 in step #3
Bob Canham
Veteran Member
Posts: 217
9/8/2014 11:41 PM
Split
What version of process flow are you using? If you're using Process Flow Integrator, or Infor/Lawson Process Automation, you should be able to do all 3 steps in a single process flow.
1. Use a WebRun node to kick off an HS535 program. Use the WAIT=TRUE parameter on it so it doesn't move to the next step until it is done.
2. Use a Data Iterator to iterate through the HS535 output. For the records you want, write them to a new file, skip the records you don't.
3. Put your new file in the PR530 input location
4. Use a WebRun node to kick off the PR530 program, using the WAIT=TRUE parameter again.
That way you can just schedule 1 flow via the Process Flow scheduler and not worry about any batch jobs.
Terry P
Veteran Member
Posts: 234
9/15/2014 2:58 PM
Split
Writing the Process Flow to create the CSV is easy (step 2). Even creating a flow to kick off the jobs for step 1 and 2 is easy. But I need just the opposite - how to execute a flow, from a Windows Server command - which can then be part of a multi-step batch job. These are jobs that the payroll supervisor will run "on demand" so they can't be scheduled. I was hoping to just have one job that would do all three things for him.
Woozy
Veteran Member
Posts: 709
9/15/2014 3:19 PM
Split
You should be able to use the FileClient utility to trigger the flow from the command line. This will trigger a specific flow on demand. A data file is required, but it can be empty if you wish.
Terry P
Veteran Member
Posts: 234
9/15/2014 3:36 PM
Split
What is the FileClient Utility? Never heard of that before. Is it Lawson supplied?
Woozy
Veteran Member
Posts: 709
9/15/2014 4:15 PM
Split
Yes, FileClient is supplied by Lawson. If you go to a Lawson command line and type "FileClient" you should see the help text. I think the minimum information required is the DataFile and the ProcessName.
There is a similar command named "ScanFileClient" which is a filewatcher version of this utility that will trigger a flow when a file with a specified name appears in a specified location.
Additional information is available in the "Processflow Administration Guide".
John Henley
Posts: 3351
9/15/2014 8:24 PM
Split
FileClient and ScanFileClient are only part of "Process Flow Integrator" and aren't included if you just have "Process Flow Professional". They are installed as part of the "BCI" (used to be "Business Component Integrator"). If BCI is installed on your server, you will have FileClient (Unix) or FileClient.exe (Windows) in your GENDIR/bin directory/folder. If they are not there, than BCI is not installed on your server, and (if you are licensed for "Integrator") you would need to download BCI and install it on your server.
Woozy
Veteran Member
Posts: 709
9/15/2014 8:40 PM
Split
Thanks for catching that, John.
My apologies for misleading you, Terry.
Terry P
Veteran Member
Posts: 234
9/15/2014 8:53 PM
Split
I tried the "fileclient" from a LID command line - no joy. We do have PFI, but we're a Managed Services customer so guess they would need to install it.
Kyle Jorgensen
Veteran Member
Posts: 122
9/16/2014 12:15 PM
Split
The command is case-sensitive; try "FileClient" on the command line.
Please
login
to post a reply.