Hi,
I am trying to match a specific response for a transaction when one of the request parameters is equal to todays date.
I have tried a property expression like = doDateDeltaFromCurrent("yyyy-MM-dd","0H"), I have also tried this as a standard = comparison operator. I also tried the following match script but it never seems to get invoked (as far as i can tell):
com.itko.util.ParameterList incomingValue = incomingRequest.getArguments();
String requestdate = incomingValue.getParameterValue("request_enquiryEndDate");
String today = doDateDeltaFromCurrent("yyyy-MM-dd","0H");
if(requestdate.equals.today) {
return true;
}
return false;
It feels like this should be an easy thing to do but I just cant make it work!! Any ideas?