Storing an array in Config file and converting it into an array inside the process

My process requires to read certain data from specific Fields: I am storing the Field Id’s in the config file:

I was storing the values in an array inside my process:

Because I am now storing them in Config file, how to convert the array stored inside config to an array being used by the process: I am trying this, but since the vales are stored inside double quotes, its giving an error:

Hi @chauhan.rachita30
Please find below link

Hope this might help you

1 Like

when storing array items in config like
then we can use the split approach

when storing array items in config like
then the string manipulation needs also to handle the { }

when storing array as a JSON string
then we deserialize it

JsonConvert.DeserializeObject(Of String())(YourJSONStringVar)

1 Like