首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

OSWorkFlow工作流汉语言手册

2012-11-06 
OSWorkFlow工作流中文手册试用了一下osworkflow开源工作流框架,感觉很好用,而且非常灵活,极易上手,架构也

OSWorkFlow工作流中文手册

试用了一下osworkflow开源工作流框架,感觉很好用,而且非常灵活,极易上手,架构也很清晰,非常不错,在网上备份个中文手册,以便不时之需。

如定义一个起草文件->编写草稿->完成草稿的XML文件如下:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE workflow PUBLIC "-//OpenSymphony Group//DTD OSWorkflow 2.6//EN" "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd"><workflow><initial-actions><action id="100" name="Start Workflow"><results><unconditional-result old-status="Finished"status="Queued" step="1" /></results></action></initial-actions><steps><step id="1" name="First Draft"><actions><action id="1" name="Start First Draft"><restrict-to>    <conditions>      <condition type="class">        <arg name="class.name">          com.opensymphony.workflow.util.StatusCondition</arg>        <arg name="status">Queued</arg>      </condition>    </conditions>    </restrict-to><pre-functions>  <function type="class">    <arg name="class.name">      com.opensymphony.workflow.util.Caller    </arg>  </function></pre-functions>    <results><unconditional-result old-status="Finished"status="Underway" step="1" owner="${caller}" /></results></action><action id="2" name="Finish First Draft"><restrict-to>  <conditions type="AND">    <condition type="class">      <arg name="class.name">        com.opensymphony.workflow.util.StatusCondition      </arg>      <arg name="status">Underway</arg>    </condition>    <condition type="class">      <arg name="class.name">        com.opensymphony.workflow.util.AllowOwnerOnlyCondition     </arg>    </condition>  </conditions></restrict-to><results><unconditional-result old-status="Finished"status="Queued" step="2" /></results></action></actions></step><step id="2" name="finished" /></steps></workflow>
1 楼 wangtong40 2008-11-07   想问一下楼主,OSWorkFlow有没有相关的Eclipse插件。他有没有类似于JBPM那样的相关流程定制工具 2 楼 iwfy 2008-11-10   先感谢一下楼主!

热点排行