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
Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here
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.

Decode in Webservice not functionning well

Summary:

Hello,

I have constructed a webservice request to extract a Taleo Candidate Profile Preferences. In this request, in the Class "Candidate", I want several fields regarding the profile of the Candidate :

I order to get the right value in 'JobField,Parent,Name' and 'JobField,Name', I added a decode function that will extract the right value depending on the JobField Level. Here is the code extract :

<quer:projection projectedField="TalentUser,JobFields,Name" alias="Role">

<quer:decode>

<quer:field path="TalentUser,JobFields,Level"/>

<quer:string>2</quer:string>

<quer:field path="TalentUser,JobFields,Name"/>

<quer:string/>

</quer:decode>

</quer:projection>

<quer:projection projectedField="TalentUser,JobFields,Parent,Name">

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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