Performance of K2 Management.GetWorklistItems(RegularFilter[] RegularFilters)

Topic

This SmartOject call can be slow when using Filter since K2 will need to retrieve all the records to K2 server then filter the result.

Filter.PNG

 

Instructions

Performance can be improved by using RegularFilters parameter instead.

regularfilter.PNG

 

Additional Information

Followings are example RegularFilters:

[{"ColumnName":"ProcInstID","Condition":"AND","Comparison":"EQUALS","ParameterValue":"XXXX"},
{"ColumnName":"ActInstID","Condition":"AND","Comparison":"EQUALS","ParameterValue":"XXXX"},
{"ColumnName":"Folio","Condition":"AND","Comparison":"EQUALS","ParameterValue":"XXXX"},
{"ColumnName":"Activity Display Name","Condition":"AND","Comparison":"EQUALS","ParameterValue":"XXXX"}]

Related Links

Labels: (2)
Version history
Revision #:
2 of 2
Last update:
2 weeks ago
Updated by:
 
Contributors