while fetching Coronavirus Cases, Deaths, and Recovered from https://www.worldometers.info/coronavirus/ in my GUI automation workflow , the values are coming as String type—how can I convert them to Integer to perform calculations?
You can do this using the Rename Field step.
Steps:
-
Add a Rename Field step in the workflow.
-
Go to the Metadata tab.
-
Select the fields (e.g., Coronavirus Cases, Deaths, Recovered) whose data type needs to be changed.
-
Change the data type from String to Integer.
Tried this RenameField plugin And from metadata selected the datatype as Integer but still i got this error “Unexpected conversion error while converting value [CoronaCases String] to an Integer“
Hi Pushkraj.
Be sure that string has no non digit characters and no punctuation
1 Like