简体   繁体   English

Alfresco 5.1.x社区版使用Activiti创建过程

[英]Alfresco 5.1.x community edition created process using activiti

我对alfresco不熟悉,我在流程中使用eclipse创建了alfresco activiti进程,我在属性中使用了service task任务选项,任务类型提供了3种类型1 .java class2.expression, 3.java delegates哪种更好地使用外部调用工作流程中的应用程序。

Here is the different between JavaDelegate and Expression 这是JavaDelegate和Expression之间的区别

JavaDelegate are instantiated by Spring.This means a workflow can call custom classes that have full access to Alfresco Spring beans. JavaDelegateSpring实例化,这意味着工作流可以调用对Alfresco Spring bean具有完全访问权限的自定义类。 It allows your workflow to make delegate calls that can manipulate content it can also add or remove content from the workflow package itself.You can also add your other complex buisness logic there. 它允许您的工作流进行可以处理内容的委托调用,还可以在工作流包本身中添加或删除内容。还可以在其中添加其他复杂的业务逻辑。 So, if you have complex implementation to do during process you should go for this. 因此,如果您在流程中要执行复杂的实现,则应该这样做。

Expressions: For doing small operations like updating status of document or updating one or two properties of content within workflow you need to consider this. 表达式:要执行小的操作,例如更新文档的状态或更新工作流中内容的一个或两个属性,您需要考虑这一点。 Because in expression you can use alfresco javascript to achieve all those things. 因为在表达式中您可以使用露天javascript来实现所有这些功能。

Hope this helps 希望这可以帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Alfresco社区版5.1.x,如何启用文本字段的工具提示 - Alfresco Community edition 5.1.x, how can I enable tooltips for text-field Alfresco 社区 5.1.x 工作流表单动态添加输入字段 - Alfresco community 5.1.x workflow form add input fields dynamically Alfresco Community Edition-5.1.x有可用的分析工具吗? - Alfresco Community Edition-5.1.x Analytics available? Alfresco社区版5.1.x如何使用Web脚本(Java或JavaScript)启动工作流程? - Alfresco community edition-5.1.x how can i start workflow using webscript (java or javascript)? 工作流程中的Alfresco Community Edition-5.1.x在工作流程上移动文档批准或拒绝 - Alfresco Community edition-5.1.x in workflow Move Document on Workflow Approve or Reject Alfresco社区版-5.1.x工作流任务完成,用户无法编辑保密表格 - Alfresco community edition-5.1.x workflow task done user can't edit privious form alfresco社区版本-5.1.x工作流程下拉字段多个选择值 - alfresco community edition-5.1.x workflow drop-down field multi select value 升级的Alfresco社区版5.0到5.1搜索功能不起作用? - Upgraded Alfresco community edition 5.0 to 5.1 Search functionality not working? Alfresco社区版中的扫描功能? - Scanning feature in Alfresco community edition? 工作流程中的Alfresco社区版使用javascript启动工作流程 - Alfresco community edition in workflow start workflow using javascript
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM