Re: [jboss-user] [jBPM] - Get all users that participated on a given process
Torsten R [http://community.jboss.org/people/tcr] replied to the discussion Get all users that participated on a given process To view the discussion, visit: http://community.jboss.org/message/552752#552752 -- Hi Jorge, we had the requirement to provide an audit trail including reassignments. Just as you did, we implemented a custom history listener and recorded all events we are interested in. At least in 4.2 we faced an issue here: The old assignee is not a member of the Reassign-Event! As we had several other requirements regarding reassignments, we implemented a custom reassign-CMD and a corresponding custom reassign-event. Sounds costly, but actually wasn't. Regards Torsten -- Reply to this message by going to Community [http://community.jboss.org/message/552752#552752] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1containerType=14container=2034] ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [jBPM] - Get all users that participated on a given process
Jorge Ferreira [http://community.jboss.org/people/imjorge] replied to the discussion Get all users that participated on a given process To view the discussion, visit: http://community.jboss.org/message/552614#552614 -- Thanks @ https://community.jboss.org/people/rebody HuiSheng Xu I ended up using the HistorySessionChain to track TaskActivityStart and TaskAssign events and save every assignment in a custom application table. -- Reply to this message by going to Community [http://community.jboss.org/message/552614#552614] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1containerType=14container=2034] ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM] - Get all users that participated on a given process
Jorge Ferreira [http://community.jboss.org/people/imjorge] created the discussion Get all users that participated on a given process To view the discussion, visit: http://community.jboss.org/message/551487#551487 -- I would like to get all the users that participated in a given process instance. The following code: ListHistoryTask history = historyService.createHistoryTaskQuery().executionId(processInstance.getId()).list(); System.out.println(--); for (HistoryTask e : history) { System.out.println(e.getAssignee()); } System.out.println(--); Has a limitation for my needs. Imagine that I have a process with one task task1. task1 is assigned to user a. User a delegates task1 to user b, and then b delegates task1 to user c. The above code will only show user c while I would like to receive all the users [a, b, c]. What is the best way to achieve this requirement? If you could provide some processes + source code fragments it would be great. --- Jorge -- Reply to this message by going to Community [http://community.jboss.org/message/551487#551487] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1containerType=14container=2034] ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [jBPM] - Get all users that participated on a given process
HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion Get all users that participated on a given process To view the discussion, visit: http://community.jboss.org/message/551569#551569 -- Hi Jorge, As jBPM 4 wouldn't store re-assignment history. We could get previous assignee information from history. So if you want to achieve this feature, you have to create a new table, and store these infos by yourself. -- Reply to this message by going to Community [http://community.jboss.org/message/551569#551569] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1containerType=14container=2034] ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user