Este conteúdo não está disponível no idioma selecionado.

9.3. Business process management in Seam


A business process is a set of tasks that must be performed by users or software systems according to well-defined rules regarding who can perform a certain task, and when that task should be performed. Seam's jBPM integration makes it easy to let users view and manage their task lists. Seam also lets the application store state associated with the business process in the BUSINESS_PROCESS context, and makes that state persistent through jBPM variables.
A simple business process definition resembles a pageflow definition, except that instead of <page> nodes, we use <task-node> nodes. In a long-running business process, the wait state occurs where the system is waiting for some user to log in and perform a task.
<process-definition name="todo">
  <start-state name="start">
    <transition to="todo"/>
  </start-state>
   
  <task-node name="todo">
    <task name="todo" description="#{todoList.description}">
      <assignment actor-id="#{actor.id}"/>
    </task>
    <transition to="done"/>
  </task-node>
   
  <end-state name="done"/>
   
</process-definition>
Copy to Clipboard Toggle word wrap
jPDL business process definitions and jPDL pageflow definitions can be used in the same project. When this occurs, a single <task> in a business process corresponds to a whole pageflow <pageflow-definition>.
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat