How to manually fix 'PM Trend' issue by changing Process Portal application
Yan Fang 1200008V6D Visits (12425)
This article is about APAR JR53733 which will be published soon and there is a very useful workaround for this APAR. The workaround is to manually fix the problem by changing the code in Process Portal application in Process Designer. As you may know, Process Portal Application is a system Application of Process Portal UI and this workaround could give you some hints about how Process Portal system application code is associated with corresponding UI dashboard functions.
In BPM 188.8.131.52, when we login to Process Portal as user who is having access to "My Performance", "My Team Performance" or "Process Performance" dashboards and click on "My Performance", "My Team Performance" or "Process Performance" link under DASHBOARDS, you can view a Dashboards menu chart 'When will Tasks go Overdue". You see tasks that will go overdue on a specific date. Please refer to the screen below and look at the bar value in the bar chart "When will Tasks go Overdue" in "My Team Performance". On the screen there are tasks on 7/17.
You click the left arrow (<) button to scroll the date range to the right. You notice that whenever a date has tasks that will go overdue and the date is displayed as the last column on the right, it incorrectly shows zero tasks. This problem occurs on 'My Performance', 'My Team Performance' and 'Process Performance' Dashboards. Please refer to below screen capture of bar value after I made 7/17 date present in the right most end. And you should be able to notice that bar value at the right most end of the bar chart is always showing value as Zero, instead of it’s original value.
'PM Trend' -> 'Dat
There is a defect in the logic in the 'PM Trend' -> 'Data Transformation' code.
The screen captures below can show you how to find 'PM Trend' -> 'Report Transformation' code from Process Portal Application using IBM Process Designer.
Besides opening APAR JR53733 to track the final solution. We have a workaround by manually fixing 'PM Trend' using Process Designer as follows:
In 'PM Trend' -> 'Data Transformation'. Modify the following line in the script under Details section.
Save change of the "PM Trend". Then go to "My Team Performance" of Process Portal to check again, this time you will find bar value at the right most end of the bar chart is showing its original value instead of Zero.