In Initialization state of reframework i have created this DT_Failed argument of Out direction data table and same data table i am using it in Set transcation status for system and business exception if we exception occured then i will add those transcation in this data table but i am getting below error but if in immediate panel if i access this transcation its retreving the correct value …Please help me to troubleshoot this error and help with mistake also that i am making
ensure that DT_Failed is initizialized with a new DataTable() before returning it back / using it
Add Data Row Activity: we recommend to use the following syntax:
new Object(){yourVar1,yourVar2…)
For tracing check also the DT_Failed and all involved arguments and Variables
For Argument Naming we recommend to use the in_, out_ io_ prefixes
First thing, why DT_Failed & DT_Success are argument in Main workflow? These should be variables as Main workflow not going to be invoked from any other variable.
Regarding issue, Add a log before Add Data Row in SetTransactionStatus.xaml or check in Locals or Immediate panel. This is to check what’s value being passed to variable In_DT_Failed.
If it’s null then it’s not correctly initialized.
Thanks,
Ashok ![]()
in Main under initialization i have created those 2 data tables as we need to create for once only… and in immediate data panel in main i am getting the value for Out_DT_Success and Out_DT_Failed but when i am coming to set transcation status and in system and business exception flowchart then its not shwoing values for those arguments
please show us the details on how it is decalred and initizialized with new DataTable()/Build DataTable()… and also assigned to an out_ArgumentName
like:
InitXAML: defines out_Argument: out_dt_Failed, Build DataTable use for output: out_dt_Failed
MainXAML: defines a variable: dt_Failed and wires out_dt_Failed to dt_Failed when calling InitXAML
MainXAML: wires dt_Failed to in_dt_Failed when calling SetTransActionXAML
Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.





