Take an assign activity create Boolean variable and in assign use System.Text.RegularExpressions.Regex.Match(row(“figure”).ToString,“^([0-9]{8}[a-zA-Z]|[0-9]{8})$”) AND System.Text.RegularExpressions.Regex.Match(row(“Cust V”).ToString.ToUpper,“^(QFA|QTR|SIA)$”)
This will give a boolean value and you can use this accordingly like in if condition True = row(“Status”)=>Pending ,Else = row(“Status”)=>Invalid
There is in update in query instead of Match use IsMatch
Here is the update query
System.Text.RegularExpressions.Regex.IsMatch(row(“figure”).ToString,“^([0-9]{8}[a-zA-Z]|[0-9]{8})”) AND System.Text.RegularExpressions.Regex.IsMatch(row(“Cust V”).ToString.ToUpper,“^(QFA|QTR|SIA)”)
Firstly the checking_input is a boolean value,so no need of checking_input = True only checking_input is fine.
After assigning to the column have you written the updated data table in excel using write range or any activity?
For the second point ,may be you have forgot to put end , i.e $ dollar sign at the end so change in regular expression to