Objeto de Cumprimento de PRDs
De PJe
Edição feita às 15h26min de 7 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_ORD.xml) contendo a definição desse subfluxo:
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="Objeto de Cumprimento de PRDs"> <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="Cadastrar PRD" name="Cadastrar PRD"/> </start-state> <task-node end-tasks="true" name="Cadastrar PRD"> <task name="Cadastrar PRD" swimlane="solicitante"/> <transition to="Testar PRD" name="Testar PRD"/> </task-node> <task-node end-tasks="true" name="Testar PRD"> <task name="Testar PRD" swimlane="solicitante"/> <transition to="Informar IP" name="Informar IP"/> </task-node> <task-node end-tasks="true" name="Informar IP"> <task name="Informar IP" swimlane="solicitante"/> <transition to="Concluida a pena?" name="Concluida a pena?"/> </task-node> <decision expression="" name="IPC anterior ao prazo?"> <transition to="Informar IP" name="Informar IP"/> <transition to="Analisar Cumprimento" name="Analisar Cumprimento"/> </decision> <task-node end-tasks="true" name="Concluida a pena?"> <task name="Concluida a pena?" swimlane="solicitante"/> <transition to="IPC anterior ao prazo?" name="IPC anterior ao prazo?"/> <transition to="Término" name="Término"/> </task-node> <task-node end-tasks="true" name="Analisar Cumprimento"> <task name="Analisar Cumprimento" swimlane="solicitante"/> <transition to="Cumpridec" name="Cumpridec"/> </task-node> <task-node end-tasks="true" name="Verificar Problemas"> <task name="Verificar Problemas" swimlane="solicitante"/> <transition to="Término" name="Término"/> </task-node> <process-state name="Cumpridec"> <sub-process name="Cumprimento de decisão do criminal" binding="late"/> <transition to="Verificar Problemas" name="Verificar Problemas"/> <transition to="Informar IP" name="Informar IP"/> </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>