As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
taskInstance.actorId
A priori, j'ai envie de répondre : de la même manière.Mais je suppose que vous avez déjà testé…Avec un contexte, un exemple de code, la réponse sera surement plus précise.Cordialement,Charles Le Seac'h
<action class="org.alfresco.community.repo.workflow.jbpm.SendMail"> <actor>#{taskInstance.actorId}</actor> <status>rejected</status> </action>
Je crois que ce que vous cherchez à faire est expliqué ici :http://docs.jboss.com/jbpm/v3/gpd/completing.htmlUne fois le principe JBPM compris, vous pourrez étudier sa mise en oeuvre dans AlfrescoCordialement,Charles Le Seac'h
protected void initialiseHandler(BeanFactory p_fc) { this.factory = p_fc; AuthenticationService authService = (AuthenticationService)factory.getBean("authenticationService"); authService.getCurrentUserName();}
Essaye comme cela :protected void initialiseHandler(BeanFactory p_fc) { this.factory = p_fc; AuthenticationService authService = (AuthenticationService)factory.getBean("authenticationService"); authService.getCurrentUserName();}