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
Variables Truncate after User Action
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
566
Members:
0
Total:
566
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
Variables Truncate after User Action
Please
login
to post a reply.
10 Replies
0
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Preston Burdwell
Advanced Member
Posts: 33
3/26/2013 7:34 PM
ProcessFlow is truncating variables after a user action. Has anyone seen this before?
BarbR
Veteran Member
Posts: 306
3/26/2013 7:48 PM
That sounds scary - what variables? What LSF version are you on?
David Williams
Veteran Member
Posts: 1127
3/26/2013 7:48 PM
Yes, non-persistent variables will often clear after a Branch or a UserAction. If you need a query's values throughout the life of your flow you should assign them to persistent variables.
Preston Burdwell
Advanced Member
Posts: 33
3/26/2013 8:17 PM
The one I am having an issue with is a Message Builder Variable . . . It collects the data just fine through the first UserAction, but if I reference it after this, only the first line of data appears. The message builder collects Requisition Lines and presents them in an HTML table within an email. David, is there a way to assign a Message Builder Variable to another variable? It won't work within a string type variable, I already tried that. We are on 9.0.1.9 Technology.
David Williams
Veteran Member
Posts: 1127
3/26/2013 9:08 PM
That I haven't seen. I've seen the MsgBuilder variable limited to 250 characters and I've seen it where the log warns that you've exceeded 250 characters but it still keeps the value. You should be able to define a string variable and use it in a MsgBuilder. The only advantage to using a MsgBuilder is that it keeps you from having to reference the original variable in the content window.
You could try using an Assign var=var+newstring and that should work as well. I've used a MsgBuilder to build an HTML table of data before so that shouldn't be the issue. You can email your flow to me (david@consultdavidw.com) and I'll look at it to see if anything obvious jumps out.
BarbR
Veteran Member
Posts: 306
3/26/2013 9:11 PM
I define my msg variables as strings in the Start node. Try that if yours are not set up that way.
Robert Spurr
Veteran Member
Posts: 130
3/28/2013 4:51 PM
FYI
I have experienced issues with message builder in regards to length and at times it cut off part of the variable. I decided that if I was going to capture anything long that I would just store it in a file using the file node. Since making the change I've haven't had any issues.
John Henley
Posts: 3353
3/28/2013 8:42 PM
Not sure if I'm jumping into this late or not, or completely understanding, but here's my input. Variable values longer than 250 characters are truncated when they are persisted, which happens when a flow stops at a user action. This is whether the variable is result from a query, created as part of the flow, or, in what it sounds like is your case, the msg builder variable itself. What you have to do if you are building a long message (i.e. an HTML table of requisition lines), after EACH user action, you have to look up the requisition variables again using DME query, and execute the message builder node. Yes, after EACH user action, the variables need to be refreshed. It's a little bit of a pain in that you have multiple copies of a given node if you have multiple approval levels and user actions, but that's been my experience.
Preston Burdwell
Advanced Member
Posts: 33
4/2/2013 6:28 PM
Robert, you are officially my hero! The suggestion to use File Access Nodes was the way to resolve this. I even checked out your example from Cue where you build an HTML table and attach it an email. Thanks everyone, this has been very helpful.
cBreeze
Basic Member
Posts: 20
5/7/2013 12:40 PM
I have the same problem with MSGBuilder truncating the variables after the first time I use the variable in the email.
I had a case open a while ago. They know it's a problem.
JT 334081
KB 1340383
212723 - processflow useraction email notification
MsgBuilder Missing data
Resolution JT is not available yet
Since this is a priority 3 fix it may be a little while before Development gets a fix for this issue.
My MsgBuilder stores Line items from a Requisition.
The First Level Approver is Emailed a Notice of Pending Req Approval.
(Work Unit is Created.)
First email (Notice of Pending Req Approval ), Has all Line Items Stored from MsgBuilder.
(With Line Item Number)
Using the same MsgBuilder variable
2nd email, Notice to second Level Approver Does not have all of the Line Items and the Line Item Number is replaced by a Letter?
3rd email, (Notice to requester that Req was approved, Does not have all of the Line Items and the Line Item Number is replaced by a Letter?
The Work unit log file shows all of the Line items in MsgBuilder.
I will have to create an attachment to include all the data.
The approvers would rather just see the info in the email (via Smart Phone) rather than open an attachment.
John Henley
Posts: 3353
5/7/2013 1:36 PM
I would not expect that it will get fixed, since processflow goes away with v10, and is replaced with Process Automation.
My solution when building a long message (i.e. an HTML table of requisition lines) is to just look up the requisition variables again using DME query before executing the message builder node. Yes, after EACH user action, the variables need to be refreshed. It's a little bit of a pain in that you have multiple copies of a given node if you have multiple approval levels and user actions, but that's been my experience.
Please
login
to post a reply.