About 9 months ago, I opened a new enhancement request, and it has so far garnered only one vote (other than mine). I thought I would raise awareness of this idea, because it could be interesting to others. If you like the idea, please vote for it.
TheTaskFilterclass of the AE Java Application Interface could be greatly improved with a couple of changes.
- TaskFilter should have a way to filter by original object name, and not just by task alias. Despite the method name, setObjectName actually filters by task alias and not by object name. (Effectively, it searches the EH_Alias field of the EH table, and not the EH_Name field.)
- The methods of TaskFilter that specify the task alias (or object name) should have another signature that takes as its argument anarray of strings.
Right now the only way to search for the active tasks associated with a list of objects is an SQL query. E.g.,select EH_AH_Idnr, EH_Alias, EH_Name, EH_status from EH where EH_Name in ('OBJECT_NAME_1','OBJECT_NAME_2','OBJECT_NAME_3');
This works fine, but there should be an equivalent and straightforward way to do the same thing via the APIs.
I discovered the first limitation way back in .