Skip to Content
Nov 23, 2022 at 07:49 AM

DateTrans Node Function Error when blank value(No Date) input to it


Hi All,

In PO mapping we are using the below condition (screenshot MappingCondition) to do the transformation.

IssuedDate is input field with date format as (yyyy-MM-ddTHH:mm:SS) and we want it to be transformed to yyyyMMdd and pass to target field DT_EMIS.

We are having so many date values coming from Source field IssuedDate and when there is blank value for any of this input IssuedDate field our mapping gives exception as shown in screenshot(Error_HRInterface). It means our DateTrans function doesn't work when there is blank value (or no date value) coming into this function.

Please help how can we achieve this to transform blank IssuedDate to target field DT_EMIS(yyyyMMdd).error-hrinterface.jpgmappingcondition.jpg