Tuesday, September 16, 2008

Reports using Wolf Platform as a Service

Ok... I've created my Business Application using Wolf Platform as a Service . I have my Business Process in place.

So what next??
Oh... I need a Report on critical details on which my process depends!!

Lets revisit my favourite Business Application - the Defect Tracker, to see how I can generate a simple Report using Wolf PaaS.

Three main components are required to create a Report using Wolf Platform as a Service -
1. A Wolf Business Rule to define the content of the Report
2. A Wolf Report that uses the Business Rule in Step 1 to generate the Report
3. A Navigation item which makes the Report in Step 2 accessible in the "Run" environment of the Application
All these steps will be implemented in the Design Environment of the Wolf PaaS.

Lets say I need a simple report on the number of Defects logged per Defect Severity.

Step 1 - The Wolf Rules Designer assists me in writing my Business Rule for generating the Report.

Lets take a look at the Business Rule required to generate the report -

The Business Rule simply obtains all the records logged in the Defect Tracker grouped by their distinct Defect Severity and performs a count of the number of records under each distinct group .

Step 2- The Business Rule created in Step 1 is then used to generate a report using the Wolf Reporting Designer.

In this step we create a Wolf Report called "Total Defects Per Severty" using the Wolf Reporting Designer.

This report is shown below -
As the "DataSource" for this Report, we use the Business Rule designed in Step 1.

On adding the DataSource and Saving and Publishing the changes, the report is automatically configured as per conditions defined in the Business Rule of Step 1.

The "Detail" section of the Report is used to specify the desired layout for the Report.

Step 3-
We then link the Report created in Step 2 to a Wolf Navigation item in order to make it accessible in the "Run" Environment of the Application(Remember we are performing these 3 steps in the Design Environment).

This can be achieved by simply creating a Navigation Item using the "Wolf Navigation Designer" and linking the Report created in Step 2 to this Navigation Item.

Once these steps are completed, I proceed to give the approporiate people access to the newly created Navigation Item.

I go the run environment ....and voila -

I have my report with the desired information.

Wolf PaaS further comes prepackaged with the ability for me to Export my report to Word or Excel and to Print my report.

So there you have it.... a simple report in Wolf PaaS .

Go ahead and explore the power of Business Rules and Reports using Wolf PaaS.

No comments: