Hi Is there any way by which any one can dynamically link the Service Java class to ServiceTask node in process on Activiti 5.6? if it is possible then please provide sample code?
no, it is not. It is parsed deploy time afaik. But what is the usecase if I may ask? Since you can write a small generic class that gets a param which is the name of the dynamic class and in this class you do some resolving yourself.
The only thing you could maybe use is the activiti:delegateExpression, which allows you to define a factory-class (or implementation JavaDelegate) in your spring-context. This way, service class will depend on you factory and context, not on the bpmn file…