Passing K2 parameters into your K2 Report URLs
By peter.stilgoe
If you want / need to provide direct links to specific K2 reports without having to prompt the users to input various parameters ie dates etc you can by passing directly into your K2 report url.
The parameters below can be passed in:
a. FullName: Folder\ProcessName
b. Version: int_Version
c. ValueType: 0 to have average duration, 1 to have the instance numbers
d. FromDate: start date for the report YYYY/MM/DD
e. ToDate: end date for the report YYYY/MM/DD
f. Status: 2 for Active, 4 for Completed
g. EventType: 0 for all events, 1 to exclude Server Events
So an example url passing the above parameters in a K2 Blackpoint environment would look something like this:
http://my-server/sites/abc-corp/k2process/_layouts/K2/Reports/ActivityStatistics.aspx?ReportID=3&ProcessFullName=NewMatter\New Matter&Version=26&ValueType=1&FromDate=2011/03/01&ToDate=2011/03/07&Status=4
K2 Blackpearl , K2 Blackpoint , K2 Reporting 


March 7th, 2011
