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:
LynneB
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5123
People Online:
Visitors:
194
Members:
0
Total:
194
Online Now:
New Topics
Lawson S3 Financials
PO Matched Dollars and Matched Quantity
5/10/2024 6:51 PM
Can anyone share the Lawson calculation to determi
S3 Customization/Development
COBOL CSV file
5/10/2024 2:36 PM
We have a custom Cobol program ZU200 that creates
S3 Systems Administration
Using MFA for Lawson S3 Access
5/8/2024 1:23 PM
Does anyone use Multi Factor Authentication when u
Lawson Landmark
Executing IPA from PR160
5/3/2024 2:46 PM
We're facing a situation where we need to upda
IPA/ProcessFlow
Executing IPA from PR160
5/3/2024 2:46 PM
We're facing a situation where we need to upda
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1357
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
IPA/ProcessFlow
Variables Truncate after User Action
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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: 3352
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: 3352
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.
You are not authorized to post a reply.