Integration Technologies - JDE1 (MOSC)

MOSC Banner

Working with dates using Groovy into Orchestrator

edited Oct 24, 2018 5:01AM in Integration Technologies - JDE1 (MOSC) 1 commentAnswered

Hello community.

Someone already has created an orchestration that uses a date from JDE into Groovy code with success? I have some problems with it.

We are trying to create an orchestration that gets some fields from a JDE table, and some of them are date fields. I saw into the returned json that the date format that comes is "yyyyMMdd" (for instance, the today's date is "20181015"). As we need to send the JDE fields to an external system, I have to use a connector service request with Groovy code. I tried to use the Groovy template for the date fields, but when I tested it, it sends an exception with the message "java.text.ParseException: Unparseable date: \"20181015\". It seems that the date format is

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center