Can I use DT to pass data between workflows instead of dictionary

Hi Friends,

Can I use Datatable to pass data between workflows instead of dictionary. Will there be an any impact. Please suggest.

Thanks,
Ula

1 Like

@Ula,

No issues you can use datatable, but if the size is increased then the process performance will get impact during a long run if you passing the Datatable between multiple workflows.

If you have more data then you can write into excel and read it where ever you want it as a data table, which will not loss during the process crash, stable too.

1 Like

Hi @sarathi125

Thank you. How the size increasing problem can be avoided if we use dictionary or will the dictionary size keep expanding… just want to know.

Thanks,
Ula

1 Like

@Ula,

Using a DataTable will bring some performance overhead when compared with a Generic List/Dictonary. You can use a List instead of Dictionary since you can create your own custom class for that list (and write an indexer for it)

Storing is not a major concern, but searching would definitely be faster using a hastable/Dictionary

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.