AnsweredAssumed Answered

Match specific response in vsi against todays date

Question asked by RobHuson76040630 on Mar 22, 2018
Latest reply on Mar 23, 2018 by Annalakshmi Ramadoss



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( {
return true;

return false;

It feels like this should be an easy thing to do but I just cant make it work!! Any ideas?