Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We are going to create a web-application using frevvo API(http://docs.frevvo.com/d/display/frevvo53/Data+API)the frevvo Data API, which will fetch submissions from the frevvo database and create a an HTML report based on those submissions. We will be using the attached [https://dev.frevvo.com/projects/Gauss/raw-attachment/wiki/SubmissionReportUsingAPI/LeaveApproval_flow.zip Leave Approval Workflow] as an example here. We will use the Leave Approval Workflow as an example (download it here.) Using this workflow an Employee will file a vacation request, which will be approved by his Manager. This workflow generates a submission XML like this one:

...

In this tutorial we will get all the submission XMLs for this workflow from the frevvo submission database. Then we will parse the submission XMLs to extract the required data , viz (StartDate, NumberOfDays, TypeOfLeave and IApproveThisVacationRequest fields) for a particular Employee and display this data as a vacation report for that Employee on an HTML page.

...