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
MessageBuilder returning undefined
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Wojo
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5265
People Online:
Visitors:
326
Members:
0
Total:
326
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
MessageBuilder returning undefined
Please
login
to post a reply.
7 Replies
0
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Ward Mitchell
New Member
Posts: 0
8/19/2010 3:13 PM
Friends,
I have been working on a process flow that pulls some info out of CBTRANS and puts some key fields in csv format that are then saved into a csv file via a FileAccess object.
Everything works well except the most important part, the data showing up.
I have a DME query that executes and is returning data, but when it gets to the MessageBuilder, the MessageBuilder does not show the values. In the log below you cna see the data but when you open the csv file, all cells say undefined.
I am a beginner at process flows but have built a few now and feel pretty good about things. Just trying to understand why this is the case.
So I need to know how do I get the actual data values back. Let me know what you may need outside of the log and the csv file (attached as a txt since csv cannot be uploaded) that is being generated, and I will try my best to post that to get this little issue resolved! Thanks in advance and hope this is not too much of a noob-ie question!:D
+++
Starting Execution of Activities .....
currentDate = Thu Aug 19 2010 11:11:07 GMT-0500 (GMT-05:00)
custBillData =
currentMonth = 8
currentYear = 2010
currentDay = 19
requestDateTime = 20100819
fileNameMonthSection = 08
currentMonthName = August
fileExtractSaveFileName = lr08apach.csv
fileExtractSavePath = C:\Documents and Settings\mitchellw\Desktop\
fileCSVExtract = C:\Documents and Settings\mitchellw\Desktop\lr08apach.csv
Executing ProcessQuery Activity CBQuery.....
Calling host: *********************
Query string: PROD=tmp&FILE=CBTRANS&INDEX=CBTSET1&KEY=ACH&FIELD=BANK_INST_CODE;DIST_DATE;CASH_CODE&OUT=CSV&DELIM=%2C&MAX=3
CBQuery_errorCode = 0
CBQuery_informationCode = 0
CBQuery_returnMessage = Query completed.
CBQuery_outputData =
CBQuery_0_0 = "ACH","01/03/2003","100A"
CBQuery_0_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
CBQuery_1_0 = "ACH","01/03/2003","100A"
CBQuery_1_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
CBQuery_2_0 = "ACH","01/03/2003","100A"
CBQuery_2_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
CBQuery_RECORD_COUNT = 3
Executing Iteration Start Activity (loop 1 of 3 ).....
CBQuery_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
Executing FgaVarString Activity MsgBuilder7150.....
CBQuery_RECORD_COUNT = 3
Executing Iteration Start Activity (loop 2 of 3 ).....
CBQuery_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
Executing FgaVarString Activity MsgBuilder7150.....
CBQuery_RECORD_COUNT = 3
Executing Iteration Start Activity (loop 3 of 3 ).....
CBQuery_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
Executing FgaVarString Activity MsgBuilder7150.....
RemoveCSVFile_errorCode = 0
RemoveCSVFile_informationCode = 0
RemoveCSVFile_returnMessage = File C:\Documents and Settings\mitchellw\Desktop\lr08apach.csv deleted.
RemoveCSVFile_outputData =
File C:\Documents and Settings\mitchellw\Desktop\lr08apach.csv deleted.
CreateCSVFile_errorCode = 0
CreateCSVFile_informationCode = 0
CreateCSVFile_returnMessage = 91 bytes written to file C:\Documents and Settings\mitchellw\Desktop\lr08apach.csv
CreateCSVFile_outputData = undefined,undefined,undefined
undefined,undefined,undefined
undefined,undefined,undefined
91 bytes written to file C:\Documents and Settings\mitchellw\Desktop\lr08apach.csv
Executing Email Activity Email1980.....
Executing Stop Activity .....
Attachments
lr08apach.txt
David Williams
Veteran Member
Posts: 1127
8/19/2010 3:43 PM
Split
This seems to indicate that you're not referencing your variables correctly from your Query or the variables (being non-persistent) are losing their value before you hit the MsgBuilder. You can try to assign your Query values to actual defined variables and pass those into the MsgBuilder.
Ward Mitchell
New Member
Posts: 0
8/19/2010 3:51 PM
Split
I tried that David and got the following for just one of my rows:
Query string: PROD=tmp&FILE=CBTRANS&INDEX=CBTSET1&KEY=ACH&FIELD=BANK_INST_CODE;DIST_DATE;CASH_CODE&OUT=CSV&DELIM=%2C&MAX=3
CBQuery_errorCode = 0
CBQuery_informationCode = 0
CBQuery_returnMessage = Query completed.
CBQuery_outputData =
CBQuery_0_0 = "ACH","01/03/2003","100A"
CBQuery_0_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
CBQuery_1_0 = "ACH","01/03/2003","100A"
CBQuery_1_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
CBQuery_2_0 = "ACH","01/03/2003","100A"
CBQuery_2_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
CBQuery_RECORD_COUNT = 3
Executing Iteration Start Activity (loop 1 of 3 ).....
CBQuery_BANK_INST_CODE,DIST_DATE,CASH_CODE = "ACH","01/03/2003","100A"
Exception while evaluating expression: dataColumn1 = CBQuery_BANK_INST_CODE;
"CBQuery_BANK_INST_CODE" is not defined.
Exception while evaluating expression: dataColumn2 = CBQuery_DIST_DATE;
"CBQuery_DIST_DATE" is not defined.
Exception while evaluating expression: dataColumn3 = CBQuery_CASH_CODE;
"CBQuery_CASH_CODE" is not defined.
It is finding data but for some reason, even assigning it to variables, does not work. Any more ideas?
David Williams
Veteran Member
Posts: 1127
8/19/2010 3:55 PM
Split
Please send me your flow file. David@ConsultDavidW.com
David Williams
Veteran Member
Posts: 1127
8/19/2010 4:01 PM
Split
Stupid question - are you including the angle brackets in your variable reference? //
Ward Mitchell
New Member
Posts: 0
8/19/2010 4:13 PM
Split
I sent you the file.
David Williams
Veteran Member
Posts: 1127
8/19/2010 4:22 PM
Split
I'm glad I was able to help.
Ward Mitchell
New Member
Posts: 0
8/19/2010 6:07 PM
Split
[quote]
Posted By ConsultDavidW on 08/19/2010 12:22 PM
I'm glad I was able to help.
[/quote]
Yes, thank you very much for your help! It always pays to have a second set of eyes! :)
Please
login
to post a reply.