Hello,
I need to update sub remark and final remark ,using filter conditions on billing status,
for billing status=‘a’ ,update sub remark =comment 1 and final remark=comment 2
for billing status=‘b’ update sub remark =comment 3 and final remark=comment 4
for billing status=‘c’ update sub remark =comment 5 and final remark=comment 6 f1processed.xlsx (7.6 KB)
You can do it in this way, use the below code in the invoke code activity
For Each row As DataRow In dtf1processed.Rows
If row(“billing status”).ToString() = “a” Then
row(“sub remark”)=“comment 1”
row(“final remark”)=“comment 2”
Else If row(“billing status”).ToString() = “b” Then
row(“sub remark”)=“comment 3”
row(“final remark”)=“comment 4”
Else If row(“billing status”).ToString() = “c” Then
row(“sub remark”)=“comment 5”
row(“final remark”)=“comment 6”
End If
Next