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
taskInstance.actorId
. En ce qui me concerne, je préfèrerais la premère méthode.<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.html
Une fois le principe JBPM compris, vous pourrez étudier sa mise en oeuvre dans Alfresco
Cordialement,
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();
}
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
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.