How do I add a row number column in a Taleo Connect Client extract script? I am using the below XML but I am facing issues.
<quer:projections alias="RCL_NP_all" xmlns:quer="http://www.taleo.com/ws/integration/query">
<quer:projection>
<quer:field path="no"/>
</quer:projection>
<quer:projection alias="rowIndex">
<quer:customValue>
<quer:expression>rowNum</quer:expression>
</quer:customValue>
</quer:projection>
</quer:projections>
This link I referred to: https://docs.oracle.com/cloud/18a/taleo/OTCCU/_advancedqueries.htm#OTCCUid095TG0F90HT
To add a row number to your export, you can use the following complex projection:
Explanation
Under Complex projection, enter the following:
Save your changes.
Example
Results:
Notes