maq99 [https://community.jboss.org/people/maq99] created the discussion
"Re: JBPM 5.4.0-Final: Human Task variables mapping persistence problem." To view the discussion, visit: https://community.jboss.org/message/797834#797834 -------------------------------------------------------------- Workaround for this problem - get variable at HT2 from task contetnt : public Object getProcessParameter(Long taskId, String key){ TaskService taskService = getLocalTaskService(); Task task = taskService.getTask(taskId); TaskData taskData = task.getTaskData(); Long documentContentId = taskData.getDocumentContentId(); Content content = taskService.getContent(documentContentId); Map<?, ?> variableMap = ((Map<?, ?>) ContentMarshallerHelper.unmarshall(content.getContent(), null)); retObj = variableMap.get(key); } I don't know why it is not available as process variable. Regards -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/797834#797834] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
