Dear All,
Am looking for a solution or if you could share a process that you think for best use case.
But here i have use get text from one of my web by using Get Text feature, and i had created the variable to “NoRecord”,
And i do not know what should i input IF condition expression editor,
Im trying to achieve a process like if there is no record, then write a remark “NO Record”, then continue reading the following numbers.
i have xaml file and excel data as use case example
IfThen use case.xlsx (15.4 KB)
If Then.xaml (9.4 KB)
Thanks.
Gokul001
(Gokul Balaji)
2
HI @Alfred_Gan
You can try with this expression in If activity
String.IsNullorEmpty(NoRecord)
1 Like
Hi @Gokul001 ,
Am i using the correct feature to write back to excel by using write cell?
Im getting error as below
what is i only want to write to equally to today’s date column = remark?
Gokul001
(Gokul Balaji)
4
HI @Alfred_Gan
If you need to use Modern activity
-
Use Excel Process Scope activity
-
Use Excel file activity
-
Write cell activity
Excel.Sheet("Sheet name").Cell("A1")

Regards
gokul
Gokul001
(Gokul Balaji)
5
Hi @Alfred_Gan
Use can try with Assign activity quite simple to write status
LHS : row("Column name")
RHS : NoRecord
Outside the For each Row
activity use Write range activity
Regards
Gokul
Hi @Gokul001
Thanks for sharing, it works as you shared.
But lastly, possible to teach robot on writing to remark column for today’s date?
Gokul001
(Gokul Balaji)
7
Great @Alfred_Gan
Kindly close this topic and mark as solved it will help for other user.
You can try this logic
Use If condition and check for Current Date
Currentrow("Date").Tostring.Contains(Datetime.Now.Tostring) and String.IsNullorEmpty("Remark")
Regards
Gokul
1 Like
system
(system)
Closed
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.