pratica.immigrazione.xml 8.24 KB
Newer Older
Comune di Salerno's avatar
Comune di Salerno committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
<?xml version="1.0" encoding="ISO-8859-1"?>
<process app_prefix="pra" description="Immigrazione dall'estero" name="pratica.immigrazione" note="">
  <attributes>
    <attribute description="descrizione della pratica" input="true" mandatory="false" name="pratica" note="" output="false" value_type="string"/>
    <attribute description="id della pratica" input="true" mandatory="true" name="id_pratica" note="" output="false" value_type="long"/>
    <attribute description="" input="false" mandatory="false" name="presa_in_carico" note="" output="false" value_type="long"/>
    <attribute description="Id del responsabuile del procedimento" input="true" mandatory="false" name="id_utente_responsabile" note="" output="false" value_type="long"/>
    <attribute description="data di scadenza" input="true" mandatory="false" name="data_inizio_scadenza" note="" output="false" value_type="date"/>
    <attribute description="Numero di giorni di scadenza" input="true" mandatory="false" name="giorni_scadenza" note="" output="false" value_type="long"/>
  </attributes>
  <states>
    <state DBMSId="808" action_app_prefix="" action_name="" auto_activate="false" description="" join="false" name="stato iniziale" note="" position_x="163" position_y="32" type="start" uid="0"/>
    <state DBMSId="809" action_app_prefix="" action_name="" auto_activate="false" description="" join="false" name="stato finale" note="" position_x="162" position_y="393" type="stop" uid="1"/>
    <state DBMSId="810" action_app_prefix="pra" action_name="attivita" auto_activate="false" description="Invio pratica al Consolato Italiano" join="false" name="azione manuale" note="" position_x="274" position_y="172" type="action" uid="2">
      <actor>
        <who office="Settore Demografico" type="office"/>
      </actor>
      <auto_actor>
        <who type="instance_owner"/>
      </auto_actor>
      <error>
        <who type="class_owner"/>
      </error>
      <timeout since_action_start="true" timeout="10" timeout_units="days">
        <timeout_alert>
          <who type="instance_owner"/>
        </timeout_alert>
      </timeout>
      <input_mapping>
        <item state_action_parameter="id_pratica" type="attribute" value="id_pratica"/>
        <item state_action_parameter="descrizione" type="string" value="Invio pratica al Consolato Italiano"/>
        <item state_action_parameter="note"/>
      </input_mapping>
    </state>
    <state DBMSId="" action_app_prefix="pra" action_name="attivita" auto_activate="false" description="Controllo veridicità dei dati" join="false" name="azione" note="" position_x="161" position_y="131" type="action" uid="3">
      <actor>
        <who type="instance_owner"/>
      </actor>
      <auto_actor>
        <who type="instance_owner"/>
      </auto_actor>
      <error>
        <who type="class_owner"/>
      </error>
      <timeout/>
      <input_mapping>
        <item state_action_parameter="id_pratica" type="attribute" value="id_pratica"/>
        <item state_action_parameter="descrizione" type="string" value="Controllo di veridicità dei dati"/>
        <item state_action_parameter="note"/>
      </input_mapping>
    </state>
    <state DBMSId="" action_app_prefix="pra" action_name="attivita" auto_activate="false" description="Trasmissione pratica ai vigili" join="false" name="azione" note="" position_x="42" position_y="206" type="action" uid="4">
      <actor>
        <who office="Ufficio Obiezione di Coscienza" type="office"/>
      </actor>
      <auto_actor>
        <who type="instance_owner"/>
      </auto_actor>
      <error>
        <who type="class_owner"/>
      </error>
      <timeout since_action_start="true" timeout="2" timeout_units="days">
        <timeout_alert>
          <who type="instance_owner"/>
        </timeout_alert>
      </timeout>
      <input_mapping>
        <item state_action_parameter="id_pratica" type="attribute" value="id_pratica"/>
        <item state_action_parameter="descrizione" type="string" value="Verificare la residenza di un nuovo iscritto"/>
        <item state_action_parameter="note"/>
      </input_mapping>
    </state>
    <state DBMSId="" action_app_prefix="pra" action_name="attivita" auto_activate="false" description="Comunicazione all'Ufficio Elettorale" join="false" name="azione" note="Comunicare le variazioni all'ufficio elettorale" position_x="271" position_y="250" type="action" uid="5">
      <actor>
        <who type="user_role" user_role="Fabio Parise"/>
      </actor>
      <auto_actor>
        <who type="instance_owner"/>
      </auto_actor>
      <error>
        <who type="class_owner"/>
      </error>
      <timeout/>
      <input_mapping>
        <item state_action_parameter="id_pratica" type="attribute" value="id_pratica"/>
        <item state_action_parameter="descrizione" type="string" value="Comunicazione all'Ufficio Elettorale"/>
        <item state_action_parameter="note" type="string" value="Comunicare le variazioni all'ufficio elettorale"/>
      </input_mapping>
    </state>
    <state DBMSId="" action_app_prefix="pra" action_name="attivita" auto_activate="false" description="Iscrizione cittadino in APR" join="true" name="azione" note="Iscrizione del cittadino nel registro della popolazione residente" position_x="163" position_y="288" type="action" uid="6">
      <actor>
        <who attribute_name="id_utente_responsabile" type="attribute_identified_user_role"/>
      </actor>
      <auto_actor>
        <who type="instance_owner"/>
      </auto_actor>
      <error>
        <who type="class_owner"/>
      </error>
      <timeout/>
      <input_mapping>
        <item state_action_parameter="id_pratica" type="attribute" value="id_pratica"/>
        <item state_action_parameter="descrizione" type="string" value="Iscrizione cittadino in APR"/>
        <item state_action_parameter="note" type="string" value="Iscrizione del cittadino nel registro della popolazione residente"/>
      </input_mapping>
    </state>
    <state DBMSId="" action_app_prefix="pra" action_name="assegnazione" auto_activate="false" description="Presa in carico" join="false" name="azione" note="" position_x="162" position_y="78" type="action" uid="7">
      <actor>
        <who attribute_name="id_utente_responsabile" type="attribute_identified_user_role"/>
      </actor>
      <auto_actor>
        <who type="instance_owner"/>
      </auto_actor>
      <error>
        <who type="class_owner"/>
      </error>
      <timeout/>
      <input_mapping>
        <item state_action_parameter="id_pratica" type="attribute" value="id_pratica"/>
      </input_mapping>
      <output_mapping>
        <item state_action_parameter="[actor_id]" type="attribute" value="id_utente_responsabile"/>
      </output_mapping>
    </state>
    <state DBMSId="" action_app_prefix="pra" action_name="chiudi" auto_activate="false" description="" join="false" name="Chiusura Pratica" note="" position_x="163" position_y="340" type="action" uid="8">
      <actor>
        <who attribute_name="id_utente_responsabile" type="attribute_identified_user_role"/>
      </actor>
      <auto_actor>
        <who type="instance_owner"/>
      </auto_actor>
      <error>
        <who type="class_owner"/>
      </error>
      <timeout/>
      <input_mapping>
        <item state_action_parameter="id_pratica" type="attribute" value="id_pratica"/>
      </input_mapping>
    </state>
  </states>
  <transitions>
    <transition uid_state_from="3" uid_state_to="4"/>
    <transition uid_state_from="2" uid_state_to="5"/>
    <transition uid_state_from="5" uid_state_to="6">
      <breaks>
        <break position_x="161" position_y="251"/>
      </breaks>
    </transition>
    <transition uid_state_from="7" uid_state_to="3"/>
    <transition uid_state_from="0" uid_state_to="7"/>
    <transition uid_state_from="3" uid_state_to="2"/>
    <transition uid_state_from="6" uid_state_to="8"/>
    <transition uid_state_from="8" uid_state_to="1"/>
    <transition uid_state_from="4" uid_state_to="6"/>
  </transitions>
  <owner>
    <who type="user_role" user_role="Fabio Parise"/>
  </owner>
  <error>
    <who type="class_owner"/>
  </error>
  <timeout since_attribute_value="true" start_time_attribute="data_inizio_scadenza" timeout_attribute="giorni_scadenza" timeout_units="days">
    <timeout_alert>
      <who attribute_name="id_utente_responsabile" type="attribute_identified_user_role"/>
    </timeout_alert>
  </timeout>
</process>