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:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
275
Members:
0
Total:
275
Online Now:
New Topics
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
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
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
1351
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
Starting a Process Flow from a batch job
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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: 469
9/8/2014 11:41 PM
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
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
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
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
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
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
Senior Member
Posts: 3348
9/15/2014 8:24 PM
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
Thanks for catching that, John.
My apologies for misleading you, Terry.
Terry P
Veteran Member
Posts: 234
9/15/2014 8:53 PM
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
The command is case-sensitive; try "FileClient" on the command line.
You are not authorized to post a reply.