Help on RPE with RTC Approvals
Hi
I'm trying to get a report that can show me the approvals and the date it approves or rejects.
I'm trying to use this document : https://rpeactual.files.wordpress.com/2013/10/using-rpe-to-report-on-rtc-work-item-approvals.pdf
But I'm kind of lost at the end with the array.
Do anyone have a template that I can work from?
Regards
Regards
4 answers
Approval dates are not directly available from the API. You rather need to print workitem/workItem/itemHistory/modified with filters / conditions (workitem/workItem/itemHistory/modifiedBy/name == workitem/workItem/approvalDescriptors/approvals/approver/name and workitem/workItem/itemHistory/approvalDescriptors/name == workitem/workItem/approvalDescriptors/name).
You might get multiple approval dates - which can be stored in an array and the last array element (approvalDateArray[approvalDateArray.length - 1]) can be printed after sorting the dates in ascending order.
You might get multiple approval dates - which can be stored in an array and the last array element (approvalDateArray[approvalDateArray.length - 1]) can be printed after sorting the dates in ascending order.
Hello Subramanya,
I have followed the exact same queries as mentioned in https://rpeactual.files.wordpress.com/2013/10/using-rpe-to-report-on-rtc-work-item-approvals.pdf but I am unable to get any data for approved date.
Could you please help me?
Thank you.
Hi Jyotsna,
Please refer the thread - https://www.ibm.com/developerworks/community/forums/html/topic?id=634fe0cb-8467-4635-8bf9-cacda6962efb