Hi All,
I need to filter the data on “WorkflowTrackingStatusTable” on createddate time , date is getting from parameters using Transdate.
Written the code below for the same:
WorkflowTrackingStatusTable wftst;
fromDate = coming from parameters(parmFromDate)
todate = coming from parameters(parmToDate)
utcFromDateTime = DateTimeUtil::newDateTime(fromDate,0);
utcToDateTime = DateTimeUtil::newDateTime(todate,86400);
while select CreatedDateTime from wftst
where wftst.CreatedDateTime > utcFromDateTime
&& wftst.CreatedDateTime < utcToDateTime
{
}
The above code is getting out of the control, it is not going inside the loop.
Is there anything missing in the code, please advice.
Regards,