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:
Zac Shields
Past 24 Hours:
1
Prev. 24 Hours:
1
Overall:
5210
People Online:
Visitors:
254
Members:
0
Total:
254
Online Now:
New Topics
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
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
S3 Customization/Development
Read and Write CSV file COBOL
10/9/2024 2:53 PM
Does anyone have a quik example of a program that
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
1372
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: 476
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
Posts: 3353
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.
Please
login
to post a reply.