ExecuteProcess not working
Posted: Wed Nov 06, 2019 5:04 pm
Hello,
I'm trying to export a bunch of CSV reports involving one TI process running another. The TI being called does work - I tested it on its own, but the calling procedure doesn't - no report is saved in the folder I assigned.
TI 1 calls TI 2
TI1 data source is a CSV file with 2 columns, first column has a list of names (these are the people who will receive a report and the reports will be named as lyn.CSV; Tom.CSV; Mike.CSV...), column 2 has years as string like 2019, 2020, 2021...(these are consolidated elements in the "SM_Financial_Time" dimension.
Name Year
lyn 2018
Tom 2019
mike 2020
the only code I have in TI1 is under data:
ExecuteProcess('SampleExport', 'pExportName', Name, 'pName', Name, 'pYear', Yr);
TI 2 (SampleExport) is the TI being called.
I have the sections of codes attached.
The view did get updated with subsets "lyn", "Tom", "mike" created in the SM_Financial_Time dimension.
Can someone please help me understand why the CSV files aren't generating? the log says
"Lyn", "2018", Data Source line (2) error: Data procedure line (5): erros occured during execution of process "SampleExport"
thanks!
I'm trying to export a bunch of CSV reports involving one TI process running another. The TI being called does work - I tested it on its own, but the calling procedure doesn't - no report is saved in the folder I assigned.
TI 1 calls TI 2
TI1 data source is a CSV file with 2 columns, first column has a list of names (these are the people who will receive a report and the reports will be named as lyn.CSV; Tom.CSV; Mike.CSV...), column 2 has years as string like 2019, 2020, 2021...(these are consolidated elements in the "SM_Financial_Time" dimension.
Name Year
lyn 2018
Tom 2019
mike 2020
the only code I have in TI1 is under data:
ExecuteProcess('SampleExport', 'pExportName', Name, 'pName', Name, 'pYear', Yr);
TI 2 (SampleExport) is the TI being called.
I have the sections of codes attached.
The view did get updated with subsets "lyn", "Tom", "mike" created in the SM_Financial_Time dimension.
Can someone please help me understand why the CSV files aren't generating? the log says
"Lyn", "2018", Data Source line (2) error: Data procedure line (5): erros occured during execution of process "SampleExport"
thanks!