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
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

TCC Complex Projection : Cast as Date

edited Dec 13, 2022 6:45AM in Taleo Enterprise 1 comment

Summary

Need help in converting concatenated string into a date format

Content

Hi All,

I am using complex projection to concatenate YYYY from sysdate with a string (-07-01) which results in 2020-07-01 in the output file. But i need to convert this as a date. I am trying to use castAsDate function but i receive the following error: ORA-01861: literal does not match format string

Please help solving this error. Check the complex projection.

<quer:projection alias="DateCustom" xmlns:quer="http://www.taleo.com/ws/integration/query"&gt;
  <quer:castAsDate>
    <quer:concatenate>
      <quer:customFunction name="TO_CHAR">
        <quer:date type="now"/>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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