Recebimento de Denúncia
De PJe
Edição feita às 16h49min de 8 de janeiro de 2014 por Marcelo.fernandes (disc | contribs)
1. O administrador do sistema deverá acessar Configuração → Sistema → Fluxo. Abaixo temos uma versão do arquivo xml (CRI_RECEBDEN.xml) contendo a definição desse subfluxo:
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="Recebimento de Denúncia"> <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="Decidir sobre recebimento de denúncia" name="Decidir sobre recebimento de denúncia"/> </start-state> <task-node end-tasks="true" name="Decidir sobre recebimento de denúncia"> <task name="Decidir sobre recebimento de denúncia" swimlane="solicitante"/> <transition to="Houve Recebimento?" name="Houve Recebimento?"/> </task-node> <decision name="Houve Recebimento?"> <transition to="Evoluir Classe" name="Evoluir Classe"/> <transition to="Houve Rejeição?" name="Houve Rejeição?"/> </decision> <task-node end-tasks="true" name="Evoluir Classe"> <task name="Evoluir Classe" swimlane="solicitante"/> <transition to="Término" name="Término"/> </task-node> <decision expression="" name="Houve Rejeição?"> <transition to="Reu preso?" name="Reu preso?"/> <transition to="Término" name="Término"/> </decision> <decision expression="" name="Reu preso?"> <transition to="Intimar" name="Intimar"/> <transition to="Expedir Alvará?" name="Expedir Alvará?"/> </decision> <task-node end-tasks="true" name="Expedir Alvará?"> <task name="Expedir Alvará?" swimlane="solicitante"/> <transition to="Intimar" name="Intimar"/> </task-node> <task-node end-tasks="true" name="Intimar"> <task name="Intimar" swimlane="solicitante"/> <transition to="Cont Prazo" name="Cont Prazo"/> </task-node> <process-state name="Cont Prazo"> <sub-process name="Controle de prazos" binding="late"/> <transition to="Ver recurso" name="Ver recurso"/> </process-state> <task-node end-tasks="true" name="Ver recurso"> <task name="Ver recurso" swimlane="solicitante"/> <transition to="Decisão Ins. Superior" name="Decisão Ins. Superior"/> <transition to="Arquivamento" name="Arquivamento"/> </task-node> <task-node end-tasks="true" name="Decisão Ins. Superior"> <task name="Decisão Ins. Superior" swimlane="solicitante"/> <transition to="Avaliar Decisão Superior" name="Avaliar Decisão Superior"/> </task-node> <task-node end-tasks="true" name="Avaliar Decisão Superior"> <task name="Avaliar Decisão Superior" swimlane="solicitante"/> <transition to="Arquivamento" name="Arquivamento"/> <transition to="Término" name="Término"/> </task-node> <process-state name="Arquivamento"> <sub-process name="Arquivamento" binding="late"/> <transition to="Término" name="Término"/> </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>