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:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5270
People Online:
Visitors:
292
Members:
0
Total:
292
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
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?
Deleted User
New Member
Posts: 0
3/26/2013 7:48 PM
Split
That sounds scary - what variables? What LSF version are you on?
David Williams
Veteran Member
Posts: 1127
3/26/2013 7:48 PM
Split
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
Split
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
Split
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.
Deleted User
New Member
Posts: 0
3/26/2013 9:11 PM
Split
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
Split
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: 3351
3/28/2013 8:42 PM
Split
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
Split
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
Split
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: 3351
5/7/2013 1:36 PM
Split
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.