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.

Extract text data from "SuccessCriteriaText" in "XML_DATA_CACHE" column "HRC_TXN_HEADER" table

edited Dec 15, 2023 2:57AM in Reporting and Analytics for HCM 1 comment

Summary:

Does anyone know how to extract text data from "SuccessCriteriaText" column in "HRC_TXN_HEADER" table?

Although I could extract some text data such as GoalName, Description with the query below, still can't extract text data related to SuccessCriteriaText.

Actually, the query ends up with an error by selecting SuccessCriteriaText or LongDescription.

This reason could be that those text data are surrounded by "<![CDATA[]]" and some kind of methods might be needed when extracting those text data.


-----Query

 SELECT EXTRACTVALUE(VALUE(itemrow),'*/GoalEORow/GoalName/DATA') AS GoalName

  ,EXTRACTVALUE(VALUE(itemrow),'*/GoalEORow/Description/DATA') AS Description

  --,EXTRACTVALUE(VALUE(itemrow),'*/GoalEORow/SuccessCriteriaText/DATA') AS SuccessCriteriaText

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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