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

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!