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!
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.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.