Hi @ravijain
You can use the custom server side validation for this.
take the collection or the array of caseId's
perform following task on that
make the caseid splited(if you are not using ",")
process them and filter which are valid and which are invalid,
i am giving you sample codee for this
assume the case id's are like this(contains valisd and invalid)
101,102,1022,102235,40555
i=0,i=1,i=2, i=3, i=4
string validCaseID
for(int i;i<yourarrayitem.count;i++)>
{
if(functioncheckvalidcaseIdornot(yourarrayITEM[i]))
{
if(validCaseID="")
validCaseID=validCaseID+yourarrayITEM[i];
}
else
validCaseID=validCaseID+","+yourarrayITEM[i];
}
and you will get all the valid ID's as string("," seprated) then update there staus as you want status update successfully for the valid caseid's and not updated for the invalid case id's
Hope it will help you
Thanks