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
Create a workunit in batch using basic method.
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5270
People Online:
Visitors:
369
Members:
0
Total:
369
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
Create a workunit in batch using basic method.
Please
login
to post a reply.
13 Replies
0
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
pfguy
Basic Member
Posts: 14
3/26/2013 8:12 PM
My question can you do it by just calling the standard api, 1000-processflow and what will the service code be.
For example an online program if the from is xt30, would be xt30.1_R if the routine is called from the Release tab....
If not not really sure what the service will be , how can I get a small batch pgm to display back (can be crude) what the created service code is/was....Make an interactive one, but maybe with no form in it.. So its really a abtch pgm, but testing it interactively is an idea, maybe..
The program I am working with is very large and is an interface prohram, so I can't be running it a lot of
times and just plain guessing on what it could be...
Any info along these lines would be appreciated..
Thank You
Tags:
processflow
Ragu Raghavan
Veteran Member
Posts: 477
3/27/2013 12:39 PM
Split
I do not believe the Service code will automatically be populated. The code will need to explicity populate the field WFAPI-I-SERVICE.
Let us say you have a flow set up to send an email on a Release, and the flow is tied to a Service "EMAIL_PFGUY".
In the 4GL code, you will need to code something like:
*** Perform CREATE WORK routine.
INITIALIZE WFAPI-INPUT.
MOVE "EMAIL_PFGUY" TO WFAPI-I-SERVICE.
Set the key values etc.
PERFORM 1000-WF-CREATE-SETUP.
followed by creating the variables etc.
Tags:
processflow
pfguy
Basic Member
Posts: 14
3/27/2013 1:54 PM
Split
Thank You for the quick reply... Sounds like what your saying is I cannot use the basic code to trigger a workunit.
Basic is Perform 1000-Open-workflow-db populate the criteria and variables then perfrom 1000-Procesdflow.
Was hoping to stay away from the advanced code, as its a lot more coding and haven't yet done one..
Any more ideas on this, on how to trip a workunit in a batch type colbol program..
Question: I will not be sending any emails.. SO if I use the advanced code method, do I to populate
the email type fields at all... (mailto,mailtouser, mailsubject) thinking would not need to..
Thanks in advance..
Tags:
processflow
Ragu Raghavan
Veteran Member
Posts: 477
3/27/2013 3:22 PM
Split
Sorry, missed the reference to the Basic trigger. Not used it before.
Tags:
processflow
pfguy
Basic Member
Posts: 14
3/27/2013 4:14 PM
Split
I'm plowing thru it right now, have my doubts, time will tell.
Tags:
processflow
pfguy
Basic Member
Posts: 14
3/27/2013 6:59 PM
Split
Ragu, would you be willing to send me the portion of the code that you have to trigger a Workunit.
If so, we can get togther with out email addr....
Tags:
processflow
Ragu Raghavan
Veteran Member
Posts: 477
3/27/2013 7:45 PM
Split
Do you have PA52 ? Search for WFAPI- in the PD file
Tags:
processflow
pfguy
Basic Member
Posts: 14
3/28/2013 9:00 PM
Split
I think I have it. I compiled a basic trigger with the l option, for list. It puts
All of the Lawson Apis in the source list, Pgm.lst is the ext. will let you know how it works out. Thanks for all of the info dropped off in this thread.
Tags:
processflow
JM
Basic Member
Posts: 6
5/8/2013 3:53 PM
Split
Hi pfguy! Were you able to figure this out? I am also having issue with basic COBOL trigger that I applied to online program RQ04, the workunits do not get created. Can you advise? Thank you.
Tags:
processflow
Kyle Jorgensen
Veteran Member
Posts: 122
5/8/2013 5:16 PM
Split
I find this to be the easiest way to trigger flows from COBOL.
The passed variables are passed to the flow as one block of fixed widith text as "_inputData".
No services needed.
[code] MOVE "XX99" TO WFBCI-FORM. MOVE XX99-FC TO WFBCI-FC. MOVE WS-FLOW-NAME TO WFBCI-API-NAME. MOVE "N" TO WFBCI-WAIT. MOVE ZEROS TO WFBCI-KEY-SIZES. MOVE VAR1 TO WFBCI-KEY-VALUE (1). MOVE 04 TO WFBCI-KEY-SIZE (1). MOVE VAR2 TO WFBCI-KEY-VALUE (2). MOVE 05 TO WFBCI-KEY-SIZE (2). MOVE VAR3 TO WFBCI-KEY-VALUE (3). MOVE 04 TO WFBCI-KEY-SIZE (3). MOVE VAR4 TO WFBCI-KEY-VALUE (4). MOVE 04 TO WFBCI-KEY-SIZE (4). MOVE VAR5 TO WFBCI-KEY-VALUE (5). MOVE 04 TO WFBCI-KEY-SIZE (5). MOVE VAR6 TO WFBCI-KEY-VALUE (6). MOVE 04 TO WFBCI-KEY-SIZE (6). MOVE VAR7 TO WFBCI-KEY-VALUE (7). MOVE 14 TO WFBCI-KEY-SIZE (7). MOVE VAR8 TO WFBCI-KEY-VALUE (8). MOVE 08 TO WFBCI-KEY-SIZE (8). PERFORM 1000-SEND-TO-BCI.[/code]
Tags:
processflow
JM
Basic Member
Posts: 6
5/8/2013 5:53 PM
Split
Thank You Kyle, it is interesting idea. I added the code to my RQ04, but now I am getting "An error occurred outside of IOS while accessing Lawson Application : " java error, do you have any idea what am I missing yet? Thank you for sharing.
Tags:
processflow
JM
Basic Member
Posts: 6
5/8/2013 6:06 PM
Split
And here is more, getting it in both LID or portal:
Error: [0x8f001801 E:Clnt - BCI SDK (ClientSdk) 2049] com.lawson.bpm.netutils.InvalidLoginException: Login error
Thank you.
Tags:
processflow
Kyle Jorgensen
Veteran Member
Posts: 122
5/9/2013 3:11 PM
Split
Do you have any other flows triggered by 4GL stuff (either delivered services or other custom code)? Or is this the first one? Do you have other process flows that work normal?
I ask because the error seems to indicate configuration issues; user authentication to be specific.
Tags:
processflow
JM
Basic Member
Posts: 6
5/9/2013 4:36 PM
Split
Yes, we do have other triggered flows using Lawson standard triggers, they all work fine. thank you.
Tags:
processflow
Please
login
to post a reply.