Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Searching variable

Avatar

Former Community Member
I have one date field in workflow.I want to search by date field.



I have used the following code.



ProcessSearchFilter filter1 = new ProcessSearchFilter();

filter1.setServiceName("sample");

filter1.addCondition("procVar.Effectivedate", Operator.EQUALS,new String("2007-08-29"));



com.adobe.idp.taskmanager.dsc.client.query.TaskQueryServiceException: ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable

Caused by: java.text.ParseException: Unparseable date: "2007-08-29"



Even i have used the date format 08-29-2007.



But i got the same error.The value stored in table like this



Wed Aug 29 05:30:00 IST 2007



Please help us.
0 Replies