Friday, April 17, 2015

Using Dojo Chart Toolkit For Custom Reports in IBM BPM

The following to steps show how to use the Dojo Charts Toolkit to make custom reports

This example is implemented on  the Hiring Request Process

Step1: download and import the dojo toolkit from this link
http://wiki.bpmwiki.com/display/samples/BPM8+Dojo+Chart+Toolkit#BPM8DojoChartToolkit-DownloadPackage

 Step2:open the dojo chart process app in the process designer this is a process application that has some examples on how to use the charts

Step3:copy the following items to the process application in which you want to use the chart and develop the reports

Step4:open the Sample human Service in the configure chart script put the labels that will appear on axis of the chart. The other axis will be filled by data entries for series as will be shown in step 9
for example this report for number of employees at each region   per department so each region is considered as a label “west,east,north,south”

Step5: In the coach put a bar chart control or a pie chart whatever you want to try


 Step6:in the view make sure that you choose the basic bar control you copied from the Dojo Chart process application

Step7: open the basic chart default AS

Step8: in the Initialize Linear step put the departments you want to report
 Step9: In the set linear data script put the number of employees for each department at each region

Step10:Run the sample human service this should be the final output

No comments:

Post a Comment