Agendar Crumpimento em Execução PPL

De PJe
Edição feita às 16h46min de 8 de janeiro de 2014 por Marcelo.fernandes (disc | contribs)

Ir para: navegação, pesquisa

CRI CUMPPL.PNG

1. O administrador do sistema deverá acessar Configuração → Sistema → Fluxo. Abaixo temos uma versão do arquivo xml (CRI_APF.xml) contendo a definição desse subfluxo:

 <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="Agendar Crumpimento em Exec. PPL">
   <description><![CDATA[]]></description>  
   <swimlane name="solicitante">
       <assignment actor-id="#{actor.id}"/>
   </swimlane>  
   <start-state name="Início">
       <task name="Tarefa inicial" swimlane="solicitante"/>
       <transition to="Término" name="Término"/>
       <transition to="Ag. inc execução" name="Ag. inc execução"/>
   </start-state>  
   <task-node end-tasks="true" name="Ag. inc execução">
       <task name="Ag. inc execução" swimlane="solicitante"/>
       <transition to="Analisar Incidente" name="Analisar Incidente"/>
       <transition to="Recuperar Dado" name="Recuperar Dado"/>
   </task-node>
   <task-node end-tasks="true" name="Analisar Incidente">
       <task name="Analisar Incidente" swimlane="solicitante"/>
       <transition to="Intimar MP" name="Intimar MP"/>
       <transition to="Término" name="Término"/>
       <transition to="Recuperar Dados" name="Recuperar Dados"/>
   </task-node>
   <task-node end-tasks="true" name="Recuperar Dados">
       <task name="Recuperar Dados" swimlane="solicitante"/>
       <transition to="Decidir em Incidente" name="Decidir em Incidente"/>
   </task-node>
   <task-node end-tasks="true" name="Decidir em Incidente">
       <task name="Decidir em Incidente" swimlane="solicitante"/>
       <transition to="Cumpridec" name="Cumpridec"/>
   </task-node>
   <task-node end-tasks="true" name="Recuperar Dado">
       <task name="Recuperar Dado" swimlane="solicitante"/>
       <transition to="Dado incidente?" name="Dado incidente?"/>
   </task-node>
   <task-node end-tasks="true" name="Intimar MP">
       <task name="Intimar MP" swimlane="solicitante"/>
       <transition to="Recuperar Dados" name="Recuperar Dados"/>
   </task-node>
   <decision expression="" name="Dado incidente?">
       <transition to="Ag. inc execução" name="Ag. inc execução"/>
       <transition to="Analisar Incidente" name="Analisar Incidente"/>
   </decision>
   <process-state name="Cumpridec">
       <sub-process name="Cumprimento de decisão do criminal" binding="late"/>
       <transition to="Analisar Incidente" name="Analisar Incidente"/>
   </process-state>
   <end-state name="Término"/>  
   <event type="node-enter">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="superstate-leave">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="subprocess-end">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="node-leave">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="before-signal">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="superstate-enter">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="process-start">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="transition">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="process-end">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="task-end">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="task-start">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="subprocess-created">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="after-signal">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="task-assign">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="task-create">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event>
   <event type="timer">
       <script>br.com.infox.ibpm.util.JbpmEvents.raiseEvent(executionContext)</script>
   </event> 
 </process-definition>
Ferramentas pessoais
Espaços nominais

Variantes
Ações
Navegação
Informações Gerais
Aplicativos PJe
Manuais
Suporte
Ferramentas