I’m building a datatable from an existing datatable considering only few integer columns. Have to assign the value to the datarow only if the amount is positive.
Steps followed:
Created datatable using Build datatable activity.
Created column Total Amount as Integer with Allow Null checked.
Used for each row on existing datatable.
Used assign activity with if condition got error cannot infer common type:
Yup it indeed worked. Have attached xaml for reference and the output file. My end result is as expected.DataRow_IfCondition.xaml (11.6 KB) DataInput.zip (6.0 KB)