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
Custom Trigger changes - No Work Unit
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Coconut
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5272
People Online:
Visitors:
453
Members:
0
Total:
453
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
Custom Trigger changes - No Work Unit
Please
login
to post a reply.
6 Replies
0
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Karen Sheridan
Veteran Member
Posts: 142
8/30/2011 6:37 PM
I have a custom online update (ZZ07 - has supervisor data on it). I created a End user exit (ZZ07EPD). On my initial test I had employee number as my only service variable.
Compiled the user exit, created the service, tied them together, voila - work unit.
Today, I added a few other service variables to the Cobol; added them to the service; recompiled the user exit; no work unit. No errors in the compile; no errors that I can find in PF, but we have some of the logs turned off because of size issues.
Is there a special order the variables need to be in?
000700 ZZ07ES1-START.
PERFORM 1000-OPEN-WORKFLOW-DB.
MOVE "EMPLOYEE" TO WFAPI-I-VARIABLE-NAME (1).
MOVE ZZ07F1-MER-EMPLOYEE TO WFAPI-I-VARIABLE-VAL (1).
MOVE "MER_COMPANY" TO WFAPI-I-VARIABLE-NAME (2).
MOVE ZZ07F1-MER-COMPANY TO WFAPI-I-VARIABLE-VAL (2).
MOVE "MER_MERIT_LEVEL" TO WFAPI-I-VARIABLE-NAME (3).
MOVE ZZ07F1-MER-MERIT-LEVEL TO WFAPI-I-VARIABLE-VAL (3).
MOVE "MER_SUPERVISOR" TO WFAPI-I-VARIABLE-NAME (4).
MOVE ZZ07F1-MER-SUPERVISOR TO WFAPI-I-VARIABLE-VAL (4).
PERFORM 1000-PROCESS-FLOW.
Is there a log that would help troubleshoot this issue?
Is there a cache that needs to be cleared?
Any help would be greatly appreciated.
Thanks,
Karen
Karen Sheridan
Veteran Member
Posts: 142
8/30/2011 11:55 PM
Split
I've tweaked and changed and no work unit; stepped away for a while - now its working
Sam Simpson
Veteran Member
Posts: 239
9/2/2011 2:12 PM
Split
Some applications like AP has to deliver a commit to the database before it can be granted by
the database to proceed with the release of the workunit. If the application tries to process
the workunit before the commit, then the database will deny to grant the authority until such
time a commit has been issued. The database will wait until the next instance of the workunit timer
from the event manager to check if a commit has been issued.
The default for eventMgrWorkunitTimer is 30 minutes. If you want the system to create workunits much faster then set it at 5 minutes (but not lower or it will have high memory usage). This value can be found in the bpm.properties file in LAWDIR/system directory.
Karen Sheridan
Veteran Member
Posts: 142
9/6/2011 7:23 PM
Split
It turnes out that I needed to implicity pass the service definition from the cobol
Here is an example:
IF (CU01F1-FC NOT = "A")
GO TO CU01ES1-TRANSACTION-END.
PERFORM 1000-OPEN-WORKFLOW-DB.
MOVE "CU01E.1_I" TO WFAPI-I-SERVICE.
Something to do with some OS versions not translating the service name call correctly.
Karen
KK - Infor
Veteran Member
Posts: 61
9/6/2011 7:35 PM
Split
Karen,
For consistent results, remove the special characters from your service name.
Karen Sheridan
Veteran Member
Posts: 142
9/6/2011 8:08 PM
Split
KK - The documentation is very specific about you call your service when you are adding a custom trigger in cobol - it is the form name, where the user exit is (B, M, E), DOT, the token number, underscore, the action
CU01E.1_I - is the example that Lawson gave me, but it straight from the developer documentation
Are you saying I should name it something else?
Thanks,
Karen
KK - Infor
Veteran Member
Posts: 61
9/6/2011 11:31 PM
Split
This used to work fine with PF 8.x; however I've experienced many issues around special characters in PF 9.x.
So, as a practice, I avoid special characters in PFlows.
Please
login
to post a reply.