Need to convert variable ListSource(Of ID1208BillingMaster) to List(Of DownloadCSV.ID1208BillingMaster)

HI Team,

I am encountering an issue while calling process in UiPath app .i am trying to send entityVariable as an argument to process but I am receiving below error

“Value of ListSource(Of ID1208BillingMaster) to List(Of DownloadCSV.ID1208BillingMaster) can not be converted”

Details:

  • App Variable Name: FilteredListSource
  • App Variable Type: ListSource(Of ID1208BillingMaster)
  • UiPath Studio In_Argument Type: List(Of ID1208BillingMaster)

Could anyone please assist with resolving this issue?

Thank you!

List to ListSource Conversion
give a try on appending the toListSource() method for the conversion

ListSource to List Conversion
give a try on appending data.ToList() method for the conversion

not working… do you know any other way ?

filteredListSource.Data.ToList()

let us know what was done in detail.

I used the below syntax

filteredListSource.Data.ToList()

@ppr That conversion error got resolved by using below query However, it is giving me blank data in properties…seems like need to add properties in query…can anyone help me updating query with properties ?

filteredListSource.Data.Cast(Of entity.ID1208BillingMaster)().Select(Function(x) New __Process_DownloadFileInCSV.DownloadFileInCSV_ID1208BillingMaster).ToList()