This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

script task within external js file

 
Sunil Gawade
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. Thanks Tijs. I will try it out.

Regards,
Sunil Gawade.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic