Issue
If you are using Search Templates in Workspace ES2 to search for tasks between certain dates for a particular process, you may notice that the results return tasks outside of the specified dates.
This problem occurs when using a localized Workspace and adding the Task Start date in the search template criteria as seen below:
Then you specify a date range when executing the search template in Workspace ES2:
The results returned from the localized Workspace versions are not filtered at all on date, whereas in the English Workspace they are (i.e. it only returns the results between the given dates):
Reason
This is a bug in the localized versions of LiveCycle Workspace ES2 where the results are not filtered by the date criteria specified.
You can check this by using a database logging to track what SQL statements are being sent to the database when the search template is executed. In the localized Workspace the SQL is as follows:
SELECT DISTINCT T0.id, T0.status, T0.step_name, T0.route_list, T0.process_name, T0.process_instance_id, T0.action_instance_id, T0.update_time, T0.create_time, T1.id, T1.type, T2.id, T2.status, T2.complete_time, T3.id, T3.workflow_principal_id, T4.id, T4.commonname, T5.id FROM tb_task T0 INNER JOIN tb_assignment T1 ON (T0.current_assignment_id = T1.id) INNER JOIN tb_process_instance T2 ON (T0.process_instance_id = T2.id) INNER JOIN tb_queue T3 ON (T1.queue_id = T3.id) INNER JOIN EDCPRINCIPALENTITY T4 ON (T3.workflow_principal_id = T4.id) INNER JOIN tb_task_acl T5 ON (T0.id = T5.task_id) WHERE (T5.user_id = ’9B365DDD-C7D4-102C-8DFF-00000A24CEC9′ AND T0.process_name = ‘Task_Forwarding/Task_Forwarding_Test’ )
whereas in the English Workspace the SQL contains the date criteria at the end:
SELECT DISTINCT T0.id, T0.status, T0.step_name, T0.route_list, T0.process_name, T0.process_instance_id, T0.action_instance_id, T0.update_time, T0.create_time, T1.id, T1.type, T2.id, T2.status, T2.complete_time, T3.id, T3.workflow_principal_id, T4.id, T4.commonname, T5.id FROM tb_task T0 INNER JOIN tb_assignment T1 ON (T0.current_assignment_id = T1.id) INNER JOIN tb_process_instance T2 ON (T0.process_instance_id = T2.id) INNER JOIN tb_queue T3 ON (T1.queue_id = T3.id) INNER JOIN EDCPRINCIPALENTITY T4 ON (T3.workflow_principal_id = T4.id) INNER JOIN tb_task_acl T5 ON (T0.id = T5.task_id) WHERE (T5.user_id = ’9B365DDD-C7D4-102C-8DFF-00000A24CEC9′ AND T0.process_name = ‘Task_Forwarding/Task_Forwarding_Test’ AND T0.create_time >= ’2011-08-14 00:00:00′ AND T0.create_time <= ’2011-08-22 00:00:00′ )
Solution
There is a patch available for Workspace ES2 SP2 (9.0.0.2), so contact enterprise support if you require this patch. The issue will also be fixed in future versions of Workspace (Es2 SP3, and ADEP).
reference: (182579627/2951216)
LiveCycle ES2: Search template returns results outside of date filter,



Great post! It always amaze me how people can take time to write them. But to be honest maybe you should change the color of the texts? Sorry if I am being rude, just trying to help. Kind regards, Sophia
Thanks writer for intercourse this online. I certainly cherished every bit of it.
May I quote you on a research paper that I am working on?
I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get bought an shakiness over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this increase.
What i find difficult is to find a blog that may seize me for a minute but your blog is different. Bravo.
TY for blogging this, it had been quite handy and helped a ton Great theme, did you ensure it is all on your own? Looks superb! Facinating post to evaluate this awesome blog. Never write any replies but now i did not resist ..
I like Your Article about LiveCycle ES2: Search template returns results outside of date filter Adobe enterprise product blog – David McMahon Perfect just what I was searching for! .
Fantastic thanks for the awesome posting Im having troubles subscribing to your blogs feed Thought Id let you know
Thanks for the feedback.
I just checked the feed and it seems to be working OK for me using:
http://blogs.adobe.com/dmcmahon/feed/
with Outlook or Firefox.