There is no string contains function by default, but one can be added using the code below.


Code:
var n=InputString.indexOf("in field 'Serial number' is not found in relating table 'Serial numbers'.");
if(n != -1)
{
return 'Serial number is not found';
}
Code:
var n=InputString.indexOf("in field 'Serial number' is not found in relating table 'Serial numbers'.");
if(n != -1)
{
return 'Serial number is not found';
}