Issue with datarow adding

Hi everyone,

I’m facing an issue with add datarow activity. When i try to add field it is throwing an error can anyone help me on this.

Note: I’m using in C#

ConfidenceVal1 should be DataRow data type, you cant pass string value

Regards,
Arivu

@arivu96 actually it’s a string value, do i need to convert that into datarow

First value what is the issue

@Learner007
You should either give arrayrow or datarow object. In arrayRow add {ConfidenceVal1}

O @sangeethaneelavannan1 what is the issue with the first field, input value

@Learner007 new Object(){cndence}

@sangeethaneelavannan1 I’m getting the below error

What is the datatype of cndence?

hi @Learner007 ,

can you provide sample value for “Cndence” and what is the datatype.

Regards,
Arivu

What do i need to write in 2 nd field datarow

@arivu96 @sangeethaneelavannan1 I’m passing value from string which i have splitted.

I’m splitting my string 2 time 1 is for text and 2nd is Number
Both values DATATYPE is string

DATATYPE - String

New string (){cndence} should be given in arrayrow field

1 Like

@sangeethaneelavannan1 what do i need to write in 2nd field – DATAROW

@Learner007 Don’t use the DataRow field. In the Arrayfield Use {}Inside loop Which variable u r going to use

@Learner007 Nothing just arrayrow and datatable is enough

for example cndence=“ABC,DEF,GEH”

then use below instead of "New string (){cndence} "

cndence.Split(","c)

Regards,
Arivu

But it’s showing mandatory field

Splitting and everything is done I’m facing the issue with passing thos variables in the add datarow activity

@Learner007 I can’t see any mandatory symbol in the activity