UI displays the exception/validation messages on the screen,but I want to extract that has the lines “Changed store Store1 from Open to Closed” and also it will have multiple stores that are changed from Open to Closed
As of now I am using replace,
DiffMsg.ToString.Replace(“Begin calculating operations to be performed”,“”).Replace(“Change store”,“”).Replace(“Finished calculating operations to be performed”,“”).Replace(“Diff Messages “,””).Replace(“Diff Calculation Completed successfully”,“”).Replace(Environment.NewLine,“”).ToString
Now it just extracts all the texts between Begin calculating operations to be performed, Change store and Diff Calculation Completed Successfully. Diffmsg is the complete validation text
So if the condition works then you have identified a line/row which matches. Why not add the validation message to a new datarow in separate datatable to output at the end of the workflow? I don’t understand