How to assign a datacolum[] value in config and how to assign the value from config to variable

Hi,

I have a variable of type array of datacolum,
So I need that value to be come from config ,how to write that in config and how to assign the same config value to UiPath variable.

For example,please see the below screenshot

Hi @yashashwini2322

I hope you are primarily using Excel for configuration. You just need to pass the column names as string values, separated by commas. That’s all you have to do!

I have also included a screenshot for your reference, and you can use the LinQ query mentioned below.

str_ConfigValue.Split(","c).Select(function(x) New System.Data.DataColumn(x)).ToArray

Note: str_ConfigValue is a string variable.

Screenshot:

I hope the above solution will resolve your question.

Best regards,
Ajay Mishra