<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    風(fēng)人園

    弱水三千,只取一瓢,便能解渴;佛法無邊,奉行一法,便能得益。
    隨筆 - 99, 文章 - 181, 評論 - 56, 引用 - 0
    數(shù)據(jù)加載中……

    jBPM--Node Type

    Nodetype task-node

    A task node represents one or more tasks that are to be performed by humans. So when execution arrives in a task node, task instances will be created in the task lists of the workflow participants. After that, the node will behave as a wait state. So when the users perform their task, the task completion will trigger the resuming of the execution. In other words, that leads to a new signal being called on the token.
    任務(wù)節(jié)點(diǎn):一個(gè)或多個(gè)可以人為執(zhí)行的任務(wù)。所以當(dāng)執(zhí)行到任務(wù)節(jié)點(diǎn),任務(wù)實(shí)例將由工作流參與者的任務(wù)列表創(chuàng)建。之后,這個(gè)節(jié)點(diǎn)會表現(xiàn)為等待狀態(tài)。當(dāng)用戶執(zhí)行他們的任務(wù),任務(wù)完成將會觸發(fā)執(zhí)行繼續(xù)。還句話說,在token上會調(diào)用一個(gè)新的signal

    Nodetype state

    A state is a bare-bones wait state. The difference with a task node is that no task instances will be created in any task list. This can be usefull if the process should wait for an external system. E.g. upon entry of the node (via an action on the node-enter event), a message could be sent to the external system. After that, the process will go into a wait state. When the external system send a response message, this can lead to a token.signal(), which triggers resuming of the process execution.

    Nodetype decision

    Actually there are 2 ways to model a decision. The distinction between the two is based on *who* is making the decision. Should the decision made by the process (read: specified in the process definition). Or should an external entity provide the result of the decision.

    When the decision is to be taken by the process, a decision node should be used. There are basically 2 ways to specify the decision criteria. Simplest is by adding condition elements on the transitions. Conditions are beanshell script expressions that return a boolean. At runtime the decision node will loop over its leaving transitions (in the order as specified in the xml), and evaluate each condition. The first transition for which the conditions resolves to 'true' will be taken. Alternatively, an implementation of the DecisionHandler can be specified. Then the decision is calculated in a java class and the selected leaving transition is returned by the decide-method of the DecisionHandler implementation.

    When the decision is taken by an external party (meaning: not part of the process definition), you should use multiple transitions leaving a state or wait state node. Then the leaving transition can be provided in the external trigger that resumes execution after the wait state is finished. E.g. Token.signal(String transitionName) and TaskInstance.end(String transitionName).

    Nodetype fork

    A fork splits one path of execution into multiple concurrent paths of execution. The default fork behaviour is to create a child token for each transition that leaves the fork, creating a parent-child relation between the token that arrives in the fork.

    Nodetype join

    The default join assumes that all tokens that arrive in the join are children of the same parent. This situation is created when using the fork as mentioned above and when all tokens created by a fork arrive in the same join. A join will end every token that enters the join. Then the join will examine the parent-child relation of the token that enters the join. When all sibling tokens have arrived in the join, the parent token will be propagated over the (unique!) leaving transition. When there are still sibling tokens active, the join will behave as a wait state.

    Nodetype node

    The type node serves the situation where you want to write your own code in a node. The nodetype node expects one subelement action. The action is executed when the execution arrives in the node. The code you write in the actionhandler can do anything you want but it is also responsible for propagating the execution.

    This node can be used if you want to use a JavaAPI to implement some functional logic that is important for the business analyst. By using a node, the node is visible in the graphical representation of the process. For comparison, actions --covered next-- will allow you to add code that is invisible in the graphical representation of the process, in case that logic is not important for the business analyst.

    posted on 2007-01-25 09:32 風(fēng)人園 閱讀(729) 評論(0)  編輯  收藏 所屬分類: jBPM

    主站蜘蛛池模板: 亚洲AV第一成肉网| 视频一区二区三区免费观看| 亚洲人成网站免费播放| 亚洲国产区男人本色| 亚洲午夜国产片在线观看| 日本免费高清视频| 亚洲天然素人无码专区| 日韩高清在线免费观看| 一级特黄录像免费播放中文版| 日本亚洲视频在线| 免费无码又黄又爽又刺激| 人妻免费久久久久久久了| 亚洲精品综合久久中文字幕| 尤物永久免费AV无码网站| 97无码人妻福利免费公开在线视频| 四虎永久成人免费| 久久亚洲免费视频| 极品色天使在线婷婷天堂亚洲| 国精无码欧精品亚洲一区| 好男人看视频免费2019中文| 三级黄色片免费看| 亚洲欧美日韩中文字幕一区二区三区 | 国产一区二区视频免费| 日本免费中文字幕| 日韩国产欧美亚洲v片| 久久久无码精品亚洲日韩按摩| 国产yw855.c免费视频| av无码免费一区二区三区| 精品无码一级毛片免费视频观看| 色偷偷亚洲女人天堂观看欧| 久久久青草青青亚洲国产免观| 国产伦一区二区三区免费| 亚洲电影免费观看| 少妇性饥渴无码A区免费| 美景之屋4在线未删减免费| 亚洲av无码一区二区三区天堂古代| 在线亚洲精品自拍| 四虎影在线永久免费四虎地址8848aa| 亚洲免费在线观看视频| 久久免费观看视频| 天堂亚洲免费视频|