+1 vote
738 views
in Coach Views by

1 Answer

0 votes
by (30.6k points)

"Coach reports" in 8.5.x meant charts built from tracking data: the Dashboards toolkit (Team Performance, Process Performance and its chart coach views) combined with the Report artifacts and their data services. A working recipe for a custom report coach:

  1. Data: a service flow that queries the PDW view of your tracking group (question 199) or aggregates through the JavaScript API, returning a list of {label, value} (System Data NameValuePair works) or a series list.
  2. Coach: a dashboard CSHS with filter controls (date range, region), a Service Call control that runs the data service on load and on filter changes, and a chart control bound to the result: the UI Toolkit Chart (bar / line / pie / donut - option chart type, series from the bound list) or the older Dashboards toolkit Report view.
  3. Drill-down: the chart's on click event gives the clicked data point; set a variable and let a table below show the matching instances (second Service Call).
  4. Expose the CSHS as a dashboard for a team - it appears in Process Portal / Workplace.
// data service (server side): orders per region from the PDW tracking view
tw.local.sql = "select region as \"name\", count(*) as \"value\" from ORDERTRACKING_V where TIME_STAMP >= ? group by region";
// SQL Execute Statement, returnType = NameValuePair -> tw.local.points (list of NameValuePair)

// chart control bound to tw.local.points: Chart > Configuration: type = bar, label = name, value = value
// Chart > On click (point, series): ${RegionFilter}.setData(point.label); ${LoadDetails}.execute();

On 8.5.x the "Report" library artifact with the graphical builder still existed; it was removed later, and on BAW 20+ / CP4BA the intended tools are the UI Toolkit charts for in-app dashboards and Business Automation Insights for analytics. The pattern above (service + chart + drill-down) works on every release.

References

Related questions

0 votes
1 answer 1.9k views
0 votes
1 answer 1.7k views
0 votes
1 answer 1.7k views
0 votes
1 answer 776 views
0 votes
1 answer 904 views
0 votes
1 answer 1.2k views
0 votes
1 answer 2.5k views
0 votes
1 answer 3.0k views
0 votes
1 answer 1.1k views
0 votes
3 answers 4.0k views
0 votes
2 answers 4.6k views
+1 vote
1 answer 923 views
0 votes
1 answer 1.3k views
0 votes
1 answer 1.3k views

723 questions

807 answers

98 comments

4.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...