aspose file tools*
The moose likes BPM and Workflow and the fly likes script task within external js file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BPM and Workflow
Bookmark "script task within external js file " Watch "script task within external js file " New topic
Author

script task within external js file

Sunil Gawade
Greenhorn

Joined: Oct 03, 2012
Posts: 28
We have alfresco workflow with lot of script task. Can we keep this script outside in any js file within different function and just function call within workflow ? Basically the idea is keep business logic outside
from workflow.
Tijs Rademakers
author
Ranch Hand

Joined: Jul 29, 2008
Posts: 45
To keep the logic outside the workflow you could use service tasks. But a script task is also possible. And you can invoke external script functions like you do in other webscripts etc.

Best regards,

Tijs
Sunil Gawade
Greenhorn

Joined: Oct 03, 2012
Posts: 28
Ok. Thanks Tijs. I will try it out.

Regards,
Sunil Gawade.
 
Don't get me started about those stupid light bulbs.
 
subject: script task within external js file