Reltio Integration Hub

 View Only
  • 1.  Date Format in Reltio Integration Hub

    Reltio Partner
    Posted 01-27-2022 07:57
    I'm working on Reltio Integration hub recipe. The responses from search HCPs in Reltio function has different date format "updatedTime: 2022-01-24T12:27:52.378999+00:00" as compared to REST API responses i.e. in milliseconds "updatedTime": 1643027272379" . Is it possible to fix the date format in integration hub to milliseconds.

    ------------------------------
    Smita Yeola
    Fresh Gravity
    Pune
    ------------------------------


  • 2.  RE: Date Format in Reltio Integration Hub

    Reltio Employee
    Posted 02-01-2022 10:17
    Hi Smita

    Thanks for posting the question on Community. 

    RIH converts the date/time received in Epoch format into a human readable form so that it's easy to consume. However, if you need to covert those back into Epoch format you can use a transformation like "2022-01-18T23:49:41.223000+00:00".to_time.to_i for the field. You can click on the 'formula' tab for the field and put in the above formula.

    Hope this helps!

    Thanks
    Gaurav

    ------------------------------
    Gaurav Gera
    ------------------------------