not able to pass calculated date time value in elapsedmonths function
local!quarterFindFactor:roundup((month(today())/3),0),
local!startingQuarterdate:todatetime({eomonth(datetime(year(today()) - 3, 12, 31),- local!quarterFindFactor) + 1}),
local!end: todatetime(now()),
enumerate(elapsedmonths(local!startingQuarterdate, local!end)+1)
if i pass the hardcoded value then it is working fine. If i use the above code it is throwing the below error.
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function 'elapsedmonths' [line 13]: The passed parameter(s) are of the wrong type. Received the type com.appiancorp.common.xml.JaxbConversionException: JAXB failure trying to convert typed value TypedValue[it=109,v={2020-10-01 00:00:00.0}] to java class java.sql.Timestamp.
Pls any suggestions
