AnsweredAssumed Answered

Extending the JavaScript API available to JBPM tasks

Question asked by bremmington Employee on Jul 9, 2008
Hello

I need to be able to invoke custom behaviour from within JBPM tasks. With the JavaScript API that is used by the Alfresco webscript engine I'm able to add new root JavaScript objects by creating a class that  extends "BaseScopableProcessorExtension" and creating a Spring bean that is parented by the "baseJavaScriptExtension" bean.

However, this mechanism doesn't seem to make these objects available within JBPM task actions. Can  anyone give me some advice as to how I can make custom code available to JBPM processes? The custom class in question makes use of various Alfresco services.


Regards
Brian

Outcomes