Variables Values in data table

Kindly Help me how can I store my variables values into the data table. and than store that values into the Excel
.

hello @madi_shah

you can add the values like below

Regards
ajay

I didn’t get the outcome that i want.

can you please upload the workflow? , will have a look into it

Main.xaml (20.0 KB)

kindly check it. why it didn’t run properly.

Of course it is because you need to initialize your DataTable first. Otherwise the object reference (the DataTable) is not set to an instance of an object.
Use the “Build DataTable”-Activity and provide the columns as needed.

Also you might want to clean up your unused variables :wink:

Cheers, Lukas