Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OIC custom javascript

edited Dec 26, 2019 2:04AM in Integration 4 comments

Summary

Error on custom javascript

Content

I've created a really simple custom java script to avoid having to do a very huge mapping.

It has two parameters: (1) a date in YYYYMMDDHHMISS format and (2) an offset (like "-03:00").

It manipulates these data so the return is a date in ISO8601 format, i.e., YYYY-MM-DDTHH:MI:SS+Z.

I will need this logic a lot of times. That's why the javascript function.

The library works in a javascript project on Eclipse, I was able to register the function with no errors, I saw it in a new "User defined Functions" option inside the mapping, the mapping was successfully validated, but I was not able to activate the integration.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!