Recurso do Processo Criminal
De PJe
Edição feita às 13h04min de 12 de fevereiro de 2014 por Marcelo.fernandes (disc | contribs)
Conteúdo |
Configuração dos Nós
Início
O nó inicial, que já vem previamente inserido em todos os fluxos do PJe, segue o padrão de todos os nós de início, contendo a transição para o primeiro nó de tarefa configurada com a opção "Ocultar" desmarcada.
Transições que saem do nó
Intimar do julgamento
Avaliar Interp. de Recursos
Decidir sobre recurso
Transito julgado
Enviar Int, Superior
Término
Arquivo de Configuração
O administrador do sistema deverá acessar Configuração → Sistema → Fluxo. Abaixo temos uma versão do arquivo xml (CRI_RECURSO.xml) contendo a definição desse subfluxo:
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="Recurso"> <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="Intimar do julgamento" name="Intimar do julgamento"/> </start-state> <task-node end-tasks="true" name="Intimar do julgamento"> <task name="Intimar do julgamento" swimlane="solicitante"/> <transition to="Avaliar Interp. de Recursos" name="Avaliar Interp. de Recursos"/> </task-node> <task-node end-tasks="true" name="Avaliar Interp. de Recursos"> <task name="Avaliar Interp. de Recursos" swimlane="solicitante"/> <transition to="Decidir sobre recurso" name="Decidir sobre recurso"/> <transition to="Enviar Int, Superior" name="Enviar Int, Superior"/> <transition to="Transito Julgado" name="Transito Julgado"/> </task-node> <task-node end-tasks="true" name="Decidir sobre recurso"> <task name="Decidir sobre recurso" swimlane="solicitante"/> <transition to="Intimar do julgamento" name="Intimar do julgamento"/> </task-node> <task-node end-tasks="true" name="Enviar Int, Superior"> <task name="Enviar Int, Superior" swimlane="solicitante"/> <transition to="Término" name="Término"/> </task-node> <task-node end-tasks="true" name="Transito Julgado"> <task name="Transito Julgado" swimlane="solicitante"/> <transition to="Término" name="Término"/> </task-node> <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>