Multiple Assign Error

I got this error →
Multiple Assign: Can not assign ‘Convert.ToInt32(CurrentRow(“Economy Agriculture”).ToString)’ to ‘Con_Details.EconomyAgriculture’.

Hi @Sukanya_Dutta

Can you share the screenshot of the Multiple Assign activity?


What was the error you getting? Run the process from debug mode and share the error screenshot @Sukanya_Dutta

What is the value in the Economy Agriculture field? What is need to convert the Economy Agriculture column into Int32?

What is the Variable Type → Con_Details.EconomyAgriculture

It’s value in decimal so I want to convert it into string.


Convert String to decimal use the below expression

CDbl(CurrentRow(“Economy Agriculture”).ToString).ToString

Convert decimal to String use the below expression

CurrentRow(“Economy Agriculture”).ToString