Nope, these are simple spring beans and need to be declared in the spring context.
For example @Service("bookOrder") won't work ?
If you're using spring annotation based configuration then this is what you would do.
If you are using xml based configuration (which is what it appears you are doing) then you would use the activiti.cfg.xml
Thank you Geg ,
Let's say you have a ServiceTask where you pass expression , activiti:expression="${operationController.sayHello()}" .
and your method implements something like this :
public void sayHello(){
System.out.println("the isbn :"+bookOrder.getIsbn());
}
the value of ISBN comes from a JSF Form , How would you implement this ?
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.