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:
LynneB
Past 24 Hours:
2
Prev. 24 Hours:
1
Overall:
5123
People Online:
Visitors:
149
Members:
0
Total:
149
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
MessageBuilder returning undefined
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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? // <!VARIABLE>
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. <img src='https://www.lawsonguru.com/DesktopModules/ActiveForums/themes/lawsonguru//emoticons/smile.gif' align="absmiddle" border="0" />
[/quote]
Yes, thank you very much for your help! It always pays to have a second set of eyes! :)
You are not authorized to post a reply.