Design and generate business process report

You can generate reports for your works (diagrams) through the report generation features. There is a pre-defined template to govern the generated content. If you want a bit of customization, you may create a template yourself, to drive the selection of diagram/shape/model element, and to design the structure of report content. In this tutorial, we will design a template of business process report, which first displays a business process diagram, and the sub-process diagrams of the sub-processes in the business process diagram.

February 19, 2010
User Rating: / 1
Views: 3,321
PDF Link Add comments

  1. Download the project file Electrical Appliance Hotline.vpp attached to this tutorial.
  2. Start Business Process Visual ARCHITECT in a new workspace.
  3. Open Electrical Appliance Hotline.vpp.
  4. Before we start designing a process report, let's familiarize ourselves with the business process that we are going to generate report for. Open the Model Explorer. We can see a model As-is-Process. Inside the model, there is a business process diagram Call for Repair. Double click to open it.
    open main diagram
  5. Like most of the other business process diagrams, there are lanes and a number of flow objects. There are two sub-processes Issue Repair Notice and Repair Product. Let's open their process diagram.
    bpd with subprocesses
    Right click on them and select Open Process Diagram from the popup menu.
    open process diagram
  6. Below are the two sub-process diagrams of the sub-processes.
    two subprocess diagrams
  7. Let's start designing a report. Select Tools > Report > Generate PDF Report... from the main menu.
    to gen pdf report
  8. In the Generate PDF dialog box, click on the drop down menu near Template and select <New> from the popup menu.
    new template
  9. This opens the Report Template dialog box where we can design our report. We will create a template in this structure:
    sample report layout
  10. Name the template Process report.
  11. We need to walk through the as-is process model and process the business process diagram under it. Click on the button Add Element Loop (Model) and select Model.
    add model loop
  12. Then, click on the button Add Diagram Loop in the toolbar of element loop.
    to add diagram loop
  13. Double click to select Business Process Diagram from the list on the right hand side. This will walk through all business process diagrams under model.
    add bpd to diagram loop
  14. We need to generate an image for a business process diagram. Click on the button Add Diagram Image in the toolbar of diagram loop.
    add diagram image
  15. Under the diagram image we need to present a list of activities (tasks and subprocesses) in the diagram. Select the diagram loop and click on Add Element Summary in its toolbar.
    add element summary
  16. Select Task and Sub-Process from the list on the left hand side and click the > button to assign them to the type of shape to be listed.
    loop sub process task
  17. Let's set the properties to be listed for tasks and subprocesses. Click on the button Add Property Column in the toolbar of element summary.
    add prop column
  18. Select Name.
    select name to show
  19. Repeat step 17 and 18 to add another property column for the property documentation. When we generate report, we will see a table of task and subprocess, with their name and documentation appear in table.
    documentation added
  20. Let's preview the report against the template we have designed so far. Click on the button Preview Template Content in editor toolbar.
    preview template content
  21. Take a look at the preview. You should see the following preview content.
    preview obtained
  22. We have finished editing half of the template. The rest of the template is about displaying the subprocesses' process diagrams and the lists of tasks and sub-processes in them. Select the diagram loop of business process diagram first.
    select diagram loop
  23. Click on the button Add Element Loop in the toolbar of diagram loop.
    add element loop
  24. Double click to select Sub-Process to loop.
    select sub process
  25. Click on the button Add Diagram Loop in the toolbar of sub-process's element loop to query the process diagrams of sub-process.
    add sub diagram loop
  26. Similar to the previous step, select Business Process Diagram to loop.
    select bpd
  27. Click Add Diagram Image in the toolbar of diagram loop to show the image of business process diagram.
    add diagram image
  28. Under the diagram image, we need to show a list of tasks and sub-process, similar to what we have done above. Click on the Add Element Summary button in diagram loop.
    add element summary
  29. Select Task and Sub-Process to loop.
    select task sub process
  30. Click on the Add Property Column button to choose the properties to show in table.
    add property value
  31. Add properties name and documentation.
    props added
  32. Preview the report. The result looks fine, but we want to add a line break after the root diagram section.
    need page break
  33. Select the first diagram loop for business process diagram. Click on the button Add Page Break in the toolbar of diagram loop.
    add page break
  34. Select the page break just added, click on Move Up to move it to appropriate position.
    move page break up
    The following image shows where the page break should be placed.
    page break moved
  35. We have completed the template. Let's save it and make use of it to generate a report. Click Save at the top left of template editor.
    save
  36. Click on the Close button at the bottom right of template editor.
  37. In the Generate PDF dialog box, fill in the output path, make sure the template Process report is remain selected, click Generate.
  38. We have obtained the PDF report, generated base on the template. Walk through the pages and try to recall what you have done when editing template.
    pdf generated

Resources

  1. Electrical Appliance Hotline.vpp

Related Tutorials

  1. Producing business process report with report writer

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Drawing Data Flow Diagrams
  2. Develop as-is and to-be business process
  3. Drawing BPMN 2.0 business process diagram
  4. Define working procedures for business tasks in a business process diagram
  5. Introduction to BPMN Part I

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code