Hi,
Please let me know the difference of opening an worklist item to perform any action.
1. If i use openworklistitem by passing serial number what will happen in performance wise
Sample Code :
WorklistItem wi;
wi = K2Server.OpenWorklistItem(SerialNumber, "ASP");
2. If i use worklist criteria by calling addfilterfield what will happen in performance wise.
Sample Code:
WorklistCriteria wc = new WorklistCriteria();
wc.AddFilterField(WCField.SerialNumber, WCCompare.Equal, SerialNumber);
K2Server.OpenWorklist(wc);
Which approcah is better under which scenario.
Thanks in advance
Regards,
Praveena