Hi everyone!
I'm trying to "wrap" WorklistCriteria class, to create "ad-hoc" filters.
Like SourceCode WorklistCriteria class, i've created 3 enums: AAField, AACompare, AALogical.
AAField enum has got same members of WCField, plus one: WorklistItemMetadata (=30); this field contains the activity description (drawn from an XML file).
I've created a method: AAAddFilterField(AALogical, AAField, AACompare, Value)
My worklist is like this:
PROCESS_NAME - PROCESS_START_DATE - ACTIVITY_NAME - ACTIVITY_DESCRIPTION - ACTIVITY_START_DATE
I would like to create a filter with same behaviour of SourceCode WorklistCriteria, but insert a special filter method to ACTIVITY_DESCRIPTION field (example: if the user digits in a textbox "request", this method will show me all the activity description containing the word "request" in the string).
Could you help me?
Thanks a lot!