DateTimeFormatter in Mule DataMapper -
i using dataformat conversion within datamapper script in mule.
datetimeformatter = new java.text.simpledateformat("yyyy-mm-dd't'hh:mm:ss"); output.date_of_rate_float__c = (isnull(input.date_of_rate_float) ? null : datetimeformatter.format(input.date_of_rate_float));
when trying save mapping. getting below error
root exception stack trace: org.apache.commons.beanutils.conversionexception: dateconverter not back upwards default string 'date' conversion. @ org.apache.commons.beanutils.converters.datetimeconverter.todate(datetimeconverter.java:468)
but when remove datetimeformatter, not getting error. need utilize dateconversion, there other way resolve this.
thanks in advance.
you keeping date datatype string , trying format date. alter date datetype datetime , conversion.
mule mule-studio mule-el mule-component
No comments:
Post a Comment