Actually the condition i have provided in filter wizard not working for some of user’s in data table even if the condition is matching.(for Dept no and manager).
it logs no match
Hi @Rakesh_Tiwari in filter datatable activity while filtering the data providing as input to the condition of filter datatable activity should be of same datatype. Like if Dept No is of integer type then filtering the value provided in Value section of filter datatable activity should be of Int type.
As @ptrobot suggested in the other thread, it is important that you do not hardcode your reference strings. If you do please use the Trim and ToUpper methods so that you are comparing Trimmed and Uppercase strings.
Also are you sure that logic is what you are looking for in the filter wizard? ("Dept. No" AND "Manager") OR "Manager"
I do not think this is correct. This logical will fail in some scenarios where only Manager is a match and Dept. No is ignored.
As per my requirement there should be matched both Dept no. and Manager. because there can be two manager. suppose if some user’s manger is CURE if not then it should be LOTA, else it will go to not match.
or can we do like check for manager is CURE or LOTA , then check for DEPT NO? that would be good idea believe?
Kindly help me, as i am in learning process and first time implementing whole project alone in my company, and i am stuck and can’t understand how move forward now.
Guess what happened! I had the same failure message almost exactly at the same time you posted the failure message.
I myself did not understand at first why this happens because in a For Each Row we always have row or item in DataRow argument type so when adding the row to different datatable, it should just take row as argument. But it is not the case.
Note: Here row can be the name you give so it can be anything depending on how you use the For Each Row activity
What you are essentially saying is "Hey activity get all the row values of the matched row (on Dept. No and Manager) convert it to array and use that array to populate the row in the new data table "