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:
fieldsca
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5228
People Online:
Visitors:
593
Members:
0
Total:
593
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
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
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
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
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
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
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
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
Karen,
For consistent results, remove the special characters from your service name.
Karen Sheridan
Veteran Member
Posts: 142
9/6/2011 8:08 PM
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
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.