Multiple Assign:Can Not Assign

and run in debug mode and let me know

getting same error
error At Multi assign Activity (in first assign branch code)

Please tell me ,how can extract data table row value?

same error
Multiple Assign: Can not assign ‘dtOutput.Select(“[branchCode]=‘branchCode’”).ElementAt(0)(“row1”).ToString’ to ‘jobj(“branchCode”)’.

image

dtOutput.Select(“[Column1]=‘billType’”).ElementAt(0)(“row1”).ToString
In Above example extract data table value column vise
Same How can extract value row vise?

are able to get the value of

dtOutput.Select(“[branchCode]=‘branchCode’”).ElementAt(0)(“row1”).ToString

print the value of this by writeline activity

same i was try and store row vlue in variable after that i called variable name outside scope getting error
How can call thos variable name outside for ech row

not getting value
getting error(Multiple Assign: Can not assign ‘dtOutput.Select(“[branchCode]=‘branchCode’”).ElementAt(0)(“row1”).ToString’ to ‘jobj(“branchCode”)’.)

yes , for this reason the error is happen

Use for each row activity to get the values

ok but how can pass this value in multiassign activity?

Keep this multiple assign activity in for each row loop and pass the values

Otherwise your code is working:
image

Here I have kept some hard code values

After fixing pass JsonStringMulti varible to httprequest body property, you will get the result.

Error resolve ,getting status code 200
Set value is (jobj(“branchCode”)=dtOutput.rows(0).item(“branchCode”).ToString)
Thank you So much for Solution And Guidance

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