Customprops queryTask no encuentra strings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 01:02 PM
Estimados buen día,
Estoy haciendo consultas con el workflowService desde JAVA, y estoy seteando algunas propiedades custom de mi proceso para poder filtrar, algo como esto:
WorkflowTaskQuery query = new WorkflowTaskQuery();
taskCustomProps = new HashMap<QName, Object>();
taskCustomProps.put(QName.createQName("http://www.mimodelo.org/model/workflow/1.0", "mipropiedadcustom"), valorPropiedad);
query.setProcessCustomProps(taskCustomProps);
List<WorkflowTask> activeTask = workflowService.queryTasks(query, true);
donde la propiedad tiene un valor en flujo de : "mi propiedad" y no me despliega resultados (Esta validado que el filtro viene con valor y la propiedad existe en el flujo por valor a consultar, también valide espacios en blanco al principio y al final del string)
Alguien tiene alguna idea de que puede estar sucediendo?
En esta consulta sucede lo mismo creo y aún esta sin respuesta.
Quedo atento a sus comentarios.
Desde ya muchas gracias!
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 03:10 PM
I think the question here is really about alfresco-repository/WorkflowServiceImpl.java at d8f828324419f101d6e1f7a19020864d801b3b64 · Alfresco/... which is part of the Alfresco Content Repository code. There is a test in that codebase which might be of help - alfresco-repository/ActivitiTaskComponentTest.java at d8f828324419f101d6e1f7a19020864d801b3b64 · Alf... I guess you've already looked at How to use WorkflowQueryTask with custom parameteres ?
The question you reference (Query custom properties ) is under the ECM forum section (Alfresco Content Services (ECM) ). I would suggest it would be better to post there as it's more likely to be seen by people who know about that code.
