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:
Zac Shields
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5210
People Online:
Visitors:
515
Members:
0
Total:
515
Online Now:
New Topics
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
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
S3 Customization/Development
Read and Write CSV file COBOL
10/9/2024 2:53 PM
Does anyone have a quik example of a program that
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
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
Veteran Member
Posts: 81
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
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
Veteran Member
Posts: 81
8/19/2010 3:51 PM
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
Please send me your flow file. David@ConsultDavidW.com
David Williams
Veteran Member
Posts: 1127
8/19/2010 4:01 PM
Stupid question - are you including the angle brackets in your variable reference? //
Ward Mitchell
Veteran Member
Posts: 81
8/19/2010 4:13 PM
I sent you the file.
David Williams
Veteran Member
Posts: 1127
8/19/2010 4:22 PM
I'm glad I was able to help.
Ward Mitchell
Veteran Member
Posts: 81
8/19/2010 6:07 PM
[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.