将 jbpm 中开发的自定义工作流程部署到 alfresco

发布于 2024-12-17 18:43:59 字数 367 浏览 3 评论 0 原文

我正在使用 alfresco 3.0 .. 我按照下面的链接安装 jbpm 并开始创建 jbpm 工作流程 ..

http:// /wiki.alfresco.com/wiki/WorkflowAdministration

在链接中它说有两种部署方式..第一种通过设计器部署选项卡,另一种是手动..

我可以让它工作通过部署选项卡。

谁能告诉我如何手动部署..因为链接中的信息不足..

我想知道它是如何工作的..就像我需要放置部署程序bean的地方..等

谢谢

I am using alfresco 3.0 .. I followed the link below to install jbpm and start creating jbpm workflow ..

http://wiki.alfresco.com/wiki/WorkflowAdministration

In the link It says there are 2 ways of deploying .. first one through designer deploy tab and the other is manually..

I could make it work trough deploy tab.

can anyone tell how can deploy manually .. as the info in the link is insufficient..

I want to know how does it work.. like where i need to place the deployer bean .. ect

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

壹場煙雨 2024-12-24 18:43:59

有两个链接可以告诉您将东西放在哪里:

一个旧的但大部分仍然有效的 Jeff Potts 的 rel="nofollow">文章 也可能对您有用。

There are two links that tell you where to put things:

An old but mostly still valid article from Jeff Potts might also come in handy for you.

听,心雨的声音 2024-12-24 18:43:59

我知道的第一种方法是在上下文文件中写入bean(它将在alfresco启动时部署) - 看起来像那样(在\tomcat\shared\classes\alfresco\extension< /em>)

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

    <beans>                                              
       <!-- custom Workflow bean -->
       <bean id="WorkflowID" parent="workflowDeployer">
          <property name="workflowDefinitions">
             <list>
                <props>
                   <prop key="engineId">activiti</prop>
                   <prop key="location">alfresco/extension/nameOfTheFile.bpmn</prop>
                   <prop key="mimetype">text/xml</prop>
                   <prop key="redeploy">true</prop>
                </props>
             </list>
          </property>
       </bean>

<!-- custom model BEAN -->
       <bean id="SomeID2.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
            <property name="models">
                <list>
                    <value>alfresco/extension/Somename-model.xml</value>
                </list> 
            </property>
       </bean>    

    </beans>

第二种部署方式是工作流控制台
URL,例如:

  • Alf 4.2.f /alfresco/faces/jsp/admin/workflow-console.jsp
  • Alf 5.0.d /alfresco/ s/admin/admin-workflowconsole

(为帮助编写帮助)

对于部署:
活动 - 例如。 部署 activiti alfresco/extension/wfFileName.bpmn
jbpm - 例如。 部署 jbpm alfresco/extension/wfFileName.bpmn

gl

编辑:
这是针对 activiti 的,不确定是否可以相同:)

顺便说一句,还应该有如何通过“数据字典”进行部署的方法:)

The first way about I know is to write bean in context file (it will be deployed while alfresco starts)- can looks like that (in \tomcat\shared\classes\alfresco\extension)

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

    <beans>                                              
       <!-- custom Workflow bean -->
       <bean id="WorkflowID" parent="workflowDeployer">
          <property name="workflowDefinitions">
             <list>
                <props>
                   <prop key="engineId">activiti</prop>
                   <prop key="location">alfresco/extension/nameOfTheFile.bpmn</prop>
                   <prop key="mimetype">text/xml</prop>
                   <prop key="redeploy">true</prop>
                </props>
             </list>
          </property>
       </bean>

<!-- custom model BEAN -->
       <bean id="SomeID2.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
            <property name="models">
                <list>
                    <value>alfresco/extension/Somename-model.xml</value>
                </list> 
            </property>
       </bean>    

    </beans>

And the second way how to deploy is workflow console
URLs, eg.:

  • Alf 4.2.f /alfresco/faces/jsp/admin/workflow-console.jsp
  • Alf 5.0.d /alfresco/s/admin/admin-workflowconsole

(write help for the help)

For deploy:
activiti - eg. deploy activiti alfresco/extension/wfFileName.bpmn
jbpm - eg. deploy jbpm alfresco/extension/wfFileName.bpmn

gl

EDIT:
That's for activiti, not sure if it could be the same :)

Btw there should be also way how to deploy through "data dictionary" :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文