Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "processes": [
- {
- "flow": {
- "counter": {
- "conditional_action": 2,
- "end_parallel": 0,
- "event_action": 0,
- "get_data": 0,
- "parallel_action": 0,
- "put_data": 0,
- "start_parallel": 0,
- "system_action": 1,
- "user_action": 4,
- "wait_data": 0,
- "ws_data": 0
- },
- "cron_actions": {},
- "parallel_actions": {},
- "states": {
- "conditional_action_0": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "false",
- "id": "conditional_action_0",
- "label": "VERIFICA 1",
- "linkable": "true",
- "linked": "true",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 364px; left: 633px;",
- "taker": "\"\"",
- "timing": "",
- "type": "conditional_action",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": "GIORNI > 5",
- "parameters": {
- "condition": {
- "code": [
- "document.numero_giorni_c30",
- ">",
- true,
- "5"
- ],
- "language": "meta"
- },
- "description": "se i giorni sono pi\u00f9 di 5 serve l'autorizzazione del Dirigente",
- "id": "condition_D04A0246-3415-49A7-8C17-0DE4977D0241",
- "label": "GIORNI > 5"
- },
- "target": "user_action_2"
- },
- {
- "label_text": "Else",
- "parameters": {
- "condition": "else"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/conditional_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_14\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>VERIFICA 1</p></div>"
- },
- "conditional_action_1": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "false",
- "id": "conditional_action_1",
- "label": "VERIFICA 2",
- "linkable": "true",
- "linked": "true",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 213px; left: 856px;",
- "taker": "\"\"",
- "timing": "",
- "type": "conditional_action",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": "GIORNI > 10",
- "parameters": {
- "condition": {
- "code": [
- "document.numero_giorni_c30",
- ">",
- true,
- "10"
- ],
- "language": "meta"
- },
- "description": "se i giorni sono pi\u00f9 di 10 serve l'approvazione del Direttore",
- "id": "condition_140C9225-42C7-4784-AEDA-88B60EFA1FDA",
- "label": "GIORNI > 10"
- },
- "target": "user_action_3"
- },
- {
- "label_text": "Else",
- "parameters": {
- "condition": "else"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/conditional_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_35\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>VERIFICA 2</p></div>"
- },
- "end": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "true",
- "id": "end",
- "label": "FINE",
- "linkable": "true",
- "linked": "false",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 364px; left: 780px;",
- "taker": "\"\"",
- "timing": "",
- "type": "end",
- "viewers": "\"\""
- },
- "connections": [],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/end.png\"></div><div class=\"connect\" id=\"jsPlumb_1_28\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>FINE</p></div>"
- },
- "start": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "start",
- "label": "Start",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 115px; left: 562px;",
- "taker": "\"\"",
- "timing": "\"\"",
- "type": "start",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "user_action_0"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/start.png\"></div><div class=\"connect\" id=\"jsPlumb_1_1\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>Start</p></div>"
- },
- "user_action_0": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_0",
- "label": "ASSISTENTE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 314px; left: 503px;",
- "taker": "{\"process-role-1416668526939\":{\"actions\":[],\"fields\":{\"c14\":\"modify\",\"c20\":\"modify\",\"c26\":\"modify\",\"c30\":\"modify\",\"c34\":\"modify\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "user_action_1"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_2\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>ASSISTENTE</p></div>"
- },
- "user_action_1": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_1",
- "label": "RESPONSABILE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 221.833px; left: 567.833px;",
- "taker": "{\"process-role-1416668552731\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "conditional_action_0"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_8\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>RESPONSABILE</p></div>"
- },
- "user_action_2": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_2",
- "label": "DIRIGENTE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 111px; left: 750px;",
- "taker": "{\"process-role-1416668576073\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "conditional_action_1"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_20\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>DIRIGENTE</p></div>"
- },
- "user_action_3": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_3",
- "label": "DIRETTORE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 364px; left: 945px;",
- "taker": "{\"process-role-1416668596144\":{\"actions\":[],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_41\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>DIRETTORE</p></div>"
- }
- },
- "sub_processes": {}
- },
- "id": "process-20141128170741-C6D4052A-001",
- "info": {
- "approved": {
- "date": 1416838600663,
- "id": "a"
- },
- "creation_date": 1416666590042,
- "creator": "e",
- "description": "Permette di inoltrare un modulo per la richiesta delle ferie.",
- "model_id": "process-20141122152950-EE7BD617-000",
- "name": "Richiesta Ferie",
- "permissions": {
- "field": [
- "modify",
- "approve",
- "partial_reject"
- ],
- "process": [
- "start",
- "view_mine",
- "drop_mine",
- "view_all",
- "drop_all"
- ],
- "state": [
- "template",
- "reject"
- ]
- },
- "published": [
- {
- "date": 1416838468408,
- "publisher": "e",
- "url": "http://148.251.81.168:8200/"
- }
- ],
- "roles": {
- "process-role-1416668526939": {
- "company_matching": [
- "company-role-1416494315736"
- ],
- "id": "process-role-1416668526939",
- "label": "ASSISTENTE",
- "name": "ASSISTENTE",
- "permissions": [
- "start",
- "view_mine",
- "drop_mine"
- ]
- },
- "process-role-1416668552731": {
- "company_matching": [
- "company-role-1416494335075"
- ],
- "id": "process-role-1416668552731",
- "label": "RESPONSABILE",
- "name": "RESPONSABILE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- },
- "process-role-1416668576073": {
- "company_matching": [
- "company-role-1416494361422"
- ],
- "id": "process-role-1416668576073",
- "label": "DIRIGENTE",
- "name": "DIRIGENTE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- },
- "process-role-1416668596144": {
- "company_matching": [
- "company-role-1416494394678"
- ],
- "id": "process-role-1416668596144",
- "label": "DIRETTORE",
- "name": "DIRETTORE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- }
- },
- "sharing": [],
- "version": {
- "date": 1416772374935,
- "note": "xd",
- "number": 1
- }
- },
- "instance": {
- "active_states": {
- "user_action_2": "user-20141119171352-F457AA43"
- },
- "end_date": "",
- "log": [
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190861368,
- "end_time2": "28/11/2014 17:07",
- "info": null,
- "now": "20141128170741",
- "result": {
- "action": "process_started",
- "document_changes": null,
- "history": true,
- "next": "user_action_0",
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "process_started",
- "response": "continue",
- "result": null,
- "state_id": "start"
- },
- "show": false,
- "start_time": 1417190861368,
- "start_time2": "28/11/2014 17:07",
- "state_id": "start",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190861370,
- "end_time2": "28/11/2014 17:07",
- "info": null,
- "now": "20141128170741",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": false,
- "start_time": 1417190861370,
- "start_time2": "28/11/2014 17:07",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417190938490,
- "end_time2": "28/11/2014 17:08",
- "info": "confirm",
- "now": "20141128170858",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "modify",
- "field_id": "c34",
- "field_type": "area_testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c20",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "hutkukujmg",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "efsvvb ",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": "",
- "new_value": "15",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c14",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "fsdfvsagvdsf",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- }
- ],
- "history": true,
- "next": "user_action_1",
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": true,
- "start_time": 1417190938489,
- "start_time2": "28/11/2014 17:08",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190938494,
- "end_time2": "28/11/2014 17:08",
- "info": null,
- "now": "20141128170858",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417190938493,
- "start_time2": "28/11/2014 17:08",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417190957250,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170917",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417190957250,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190957371,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170917",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417190957371,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417191147713,
- "end_time2": "28/11/2014 17:12",
- "info": null,
- "now": "20141128171227",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417191147713,
- "start_time2": "28/11/2014 17:12",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191147862,
- "end_time2": "28/11/2014 17:12",
- "info": null,
- "now": "20141128171227",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417191147862,
- "start_time2": "28/11/2014 17:12",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417191181899,
- "end_time2": "28/11/2014 17:13",
- "info": "confirm",
- "now": "20141128171301",
- "result": {
- "action": "partial_reject",
- "document_changes": [
- {
- "action": "partial_reject",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": false,
- "new_value": "efsvvb ",
- "old_comment": null,
- "old_refused": "",
- "old_value": "efsvvb "
- },
- {
- "action": "partial_reject",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": "troppi",
- "new_refused": true,
- "new_value": "15",
- "old_comment": null,
- "old_refused": "",
- "old_value": "15"
- }
- ],
- "history": true,
- "next": "user_action_0",
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417191181897,
- "start_time2": "28/11/2014 17:13",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191181904,
- "end_time2": "28/11/2014 17:13",
- "info": null,
- "now": "20141128171301",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": false,
- "start_time": 1417191181903,
- "start_time2": "28/11/2014 17:13",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417191241111,
- "end_time2": "28/11/2014 17:14",
- "info": null,
- "now": "20141128171401",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": true,
- "start_time": 1417191241111,
- "start_time2": "28/11/2014 17:14",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191241290,
- "end_time2": "28/11/2014 17:14",
- "info": null,
- "now": "20141128171401",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": false,
- "start_time": 1417191241289,
- "start_time2": "28/11/2014 17:14",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417191262005,
- "end_time2": "28/11/2014 17:14",
- "info": "confirm",
- "now": "20141128171421",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "modify",
- "field_id": "c34",
- "field_type": "area_testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "",
- "old_comment": null,
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c20",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "hutkukujmg",
- "old_comment": null,
- "old_refused": "",
- "old_value": "hutkukujmg"
- },
- {
- "action": "modify",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": false,
- "new_value": "efsvvb ",
- "old_comment": null,
- "old_refused": false,
- "old_value": "efsvvb "
- },
- {
- "action": "modify",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": true,
- "new_value": "9",
- "old_comment": "troppi",
- "old_refused": true,
- "old_value": "15"
- },
- {
- "action": "modify",
- "field_id": "c14",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "fsdfvsagvdsf",
- "old_comment": null,
- "old_refused": "",
- "old_value": "fsdfvsagvdsf"
- }
- ],
- "history": true,
- "next": "user_action_1",
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": true,
- "start_time": 1417191262004,
- "start_time2": "28/11/2014 17:14",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191262011,
- "end_time2": "28/11/2014 17:14",
- "info": null,
- "now": "20141128171422",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417191262010,
- "start_time2": "28/11/2014 17:14",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417191280146,
- "end_time2": "28/11/2014 17:14",
- "info": null,
- "now": "20141128171440",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417191280146,
- "start_time2": "28/11/2014 17:14",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191280346,
- "end_time2": "28/11/2014 17:14",
- "info": null,
- "now": "20141128171440",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417191280346,
- "start_time2": "28/11/2014 17:14",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417191284101,
- "end_time2": "28/11/2014 17:14",
- "info": "confirm",
- "now": "20141128171444",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "partial_reject",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": false,
- "new_value": "efsvvb ",
- "old_comment": null,
- "old_refused": false,
- "old_value": "efsvvb "
- },
- {
- "action": "partial_reject",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": false,
- "new_value": "9",
- "old_comment": null,
- "old_refused": true,
- "old_value": "9"
- }
- ],
- "history": true,
- "next": "conditional_action_0",
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417191284100,
- "start_time2": "28/11/2014 17:14",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191284131,
- "end_time2": "28/11/2014 17:14",
- "info": null,
- "now": "20141128171444",
- "result": {
- "action": "conditional_action",
- "document_changes": null,
- "history": false,
- "next": "user_action_2",
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "conditional_action_0"
- },
- "show": false,
- "start_time": 1417191284106,
- "start_time2": "28/11/2014 17:14",
- "state_id": "conditional_action_0",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191284137,
- "end_time2": "28/11/2014 17:14",
- "info": null,
- "now": "20141128171444",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_2"
- },
- "show": false,
- "start_time": 1417191284136,
- "start_time2": "28/11/2014 17:14",
- "state_id": "user_action_2",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417191304885,
- "end_time2": "28/11/2014 17:15",
- "info": null,
- "now": "20141128171504",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_2"
- },
- "show": true,
- "start_time": 1417191304885,
- "start_time2": "28/11/2014 17:15",
- "state_id": "user_action_2",
- "user_data": {
- "id": "user-20141119171352-F457AA43",
- "info": {
- "email": "carlo.serafini@gmail.com",
- "links": {},
- "name": "Carlo Serafini",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "517578.57813",
- "roles": [
- "company-role-1416494361422"
- ],
- "status": "enabled",
- "username": "dirigente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191305011,
- "end_time2": "28/11/2014 17:15",
- "info": null,
- "now": "20141128171505",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_2"
- },
- "show": false,
- "start_time": 1417191305010,
- "start_time2": "28/11/2014 17:15",
- "state_id": "user_action_2",
- "user_data": {
- "id": "user-20141119171352-F457AA43",
- "info": {
- "email": "carlo.serafini@gmail.com",
- "links": {},
- "name": "Carlo Serafini",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "517578.57813",
- "roles": [
- "company-role-1416494361422"
- ],
- "status": "enabled",
- "username": "dirigente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_close",
- "document_changes": null,
- "end_time": 1417191311736,
- "end_time2": "28/11/2014 17:15",
- "info": null,
- "now": "20141128171511",
- "result": {
- "action": "process_rejected",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170741-C6D4052A-001",
- "reason": "process_closed",
- "response": "stopped",
- "result": "rejected",
- "state_id": null
- },
- "show": false,
- "start_time": 1417191311736,
- "start_time2": "28/11/2014 17:15",
- "state_id": null,
- "user_data": {
- "id": "user-20141119171352-F457AA43",
- "info": {
- "email": "carlo.serafini@gmail.com",
- "links": {},
- "name": "Carlo Serafini",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "517578.57813",
- "roles": [
- "company-role-1416494361422"
- ],
- "status": "enabled",
- "username": "dirigente"
- },
- "object": "user",
- "type": "company"
- }
- }
- ],
- "owner": "user-20141119171222-A1B69501",
- "owner_name": "Carla Giusti",
- "start_date": "",
- "start_time": 1417190861368,
- "start_time2": "28/11/2014 17:07",
- "status": {}
- },
- "object": "process",
- "result": "rejected",
- "type": "closed"
- },
- {
- "flow": {
- "counter": {
- "conditional_action": 2,
- "end_parallel": 0,
- "event_action": 0,
- "get_data": 0,
- "parallel_action": 0,
- "put_data": 0,
- "start_parallel": 0,
- "system_action": 1,
- "user_action": 4,
- "wait_data": 0,
- "ws_data": 0
- },
- "cron_actions": {},
- "parallel_actions": {},
- "states": {
- "conditional_action_0": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "false",
- "id": "conditional_action_0",
- "label": "VERIFICA 1",
- "linkable": "true",
- "linked": "true",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 364px; left: 633px;",
- "taker": "\"\"",
- "timing": "",
- "type": "conditional_action",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": "GIORNI > 5",
- "parameters": {
- "condition": {
- "code": [
- "document.numero_giorni_c30",
- ">",
- true,
- "5"
- ],
- "language": "meta"
- },
- "description": "se i giorni sono pi\u00f9 di 5 serve l'autorizzazione del Dirigente",
- "id": "condition_D04A0246-3415-49A7-8C17-0DE4977D0241",
- "label": "GIORNI > 5"
- },
- "target": "user_action_2"
- },
- {
- "label_text": "Else",
- "parameters": {
- "condition": "else"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/conditional_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_14\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>VERIFICA 1</p></div>"
- },
- "conditional_action_1": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "false",
- "id": "conditional_action_1",
- "label": "VERIFICA 2",
- "linkable": "true",
- "linked": "true",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 213px; left: 856px;",
- "taker": "\"\"",
- "timing": "",
- "type": "conditional_action",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": "GIORNI > 10",
- "parameters": {
- "condition": {
- "code": [
- "document.numero_giorni_c30",
- ">",
- true,
- "10"
- ],
- "language": "meta"
- },
- "description": "se i giorni sono pi\u00f9 di 10 serve l'approvazione del Direttore",
- "id": "condition_140C9225-42C7-4784-AEDA-88B60EFA1FDA",
- "label": "GIORNI > 10"
- },
- "target": "user_action_3"
- },
- {
- "label_text": "Else",
- "parameters": {
- "condition": "else"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/conditional_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_35\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>VERIFICA 2</p></div>"
- },
- "end": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "true",
- "id": "end",
- "label": "FINE",
- "linkable": "true",
- "linked": "false",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 364px; left: 780px;",
- "taker": "\"\"",
- "timing": "",
- "type": "end",
- "viewers": "\"\""
- },
- "connections": [],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/end.png\"></div><div class=\"connect\" id=\"jsPlumb_1_28\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>FINE</p></div>"
- },
- "start": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "start",
- "label": "Start",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 115px; left: 562px;",
- "taker": "\"\"",
- "timing": "\"\"",
- "type": "start",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "user_action_0"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/start.png\"></div><div class=\"connect\" id=\"jsPlumb_1_1\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>Start</p></div>"
- },
- "user_action_0": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_0",
- "label": "ASSISTENTE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 314px; left: 503px;",
- "taker": "{\"process-role-1416668526939\":{\"actions\":[],\"fields\":{\"c14\":\"modify\",\"c20\":\"modify\",\"c26\":\"modify\",\"c30\":\"modify\",\"c34\":\"modify\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "user_action_1"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_2\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>ASSISTENTE</p></div>"
- },
- "user_action_1": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_1",
- "label": "RESPONSABILE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 221.833px; left: 567.833px;",
- "taker": "{\"process-role-1416668552731\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "conditional_action_0"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_8\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>RESPONSABILE</p></div>"
- },
- "user_action_2": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_2",
- "label": "DIRIGENTE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 111px; left: 750px;",
- "taker": "{\"process-role-1416668576073\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "conditional_action_1"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_20\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>DIRIGENTE</p></div>"
- },
- "user_action_3": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_3",
- "label": "DIRETTORE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 364px; left: 945px;",
- "taker": "{\"process-role-1416668596144\":{\"actions\":[],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_41\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>DIRETTORE</p></div>"
- }
- },
- "sub_processes": {}
- },
- "id": "process-20141128170740-E5C6345B-001",
- "info": {
- "approved": {
- "date": 1416838600663,
- "id": "a"
- },
- "creation_date": 1416666590042,
- "creator": "e",
- "description": "Permette di inoltrare un modulo per la richiesta delle ferie.",
- "model_id": "process-20141122152950-EE7BD617-000",
- "name": "Richiesta Ferie",
- "permissions": {
- "field": [
- "modify",
- "approve",
- "partial_reject"
- ],
- "process": [
- "start",
- "view_mine",
- "drop_mine",
- "view_all",
- "drop_all"
- ],
- "state": [
- "template",
- "reject"
- ]
- },
- "published": [
- {
- "date": 1416838468408,
- "publisher": "e",
- "url": "http://148.251.81.168:8200/"
- }
- ],
- "roles": {
- "process-role-1416668526939": {
- "company_matching": [
- "company-role-1416494315736"
- ],
- "id": "process-role-1416668526939",
- "label": "ASSISTENTE",
- "name": "ASSISTENTE",
- "permissions": [
- "start",
- "view_mine",
- "drop_mine"
- ]
- },
- "process-role-1416668552731": {
- "company_matching": [
- "company-role-1416494335075"
- ],
- "id": "process-role-1416668552731",
- "label": "RESPONSABILE",
- "name": "RESPONSABILE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- },
- "process-role-1416668576073": {
- "company_matching": [
- "company-role-1416494361422"
- ],
- "id": "process-role-1416668576073",
- "label": "DIRIGENTE",
- "name": "DIRIGENTE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- },
- "process-role-1416668596144": {
- "company_matching": [
- "company-role-1416494394678"
- ],
- "id": "process-role-1416668596144",
- "label": "DIRETTORE",
- "name": "DIRETTORE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- }
- },
- "sharing": [],
- "version": {
- "date": 1416772374935,
- "note": "xd",
- "number": 1
- }
- },
- "instance": {
- "active_states": {},
- "end_date": "",
- "end_time": 1417190971611,
- "end_time2": "28/11/2014 17:09",
- "log": [
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190861383,
- "end_time2": "28/11/2014 17:07",
- "info": null,
- "now": "20141128170741",
- "result": {
- "action": "process_started",
- "document_changes": null,
- "history": true,
- "next": "user_action_0",
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": "process_started",
- "response": "continue",
- "result": null,
- "state_id": "start"
- },
- "show": false,
- "start_time": 1417190861383,
- "start_time2": "28/11/2014 17:07",
- "state_id": "start",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190861385,
- "end_time2": "28/11/2014 17:07",
- "info": null,
- "now": "20141128170741",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": false,
- "start_time": 1417190861384,
- "start_time2": "28/11/2014 17:07",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417190872630,
- "end_time2": "28/11/2014 17:07",
- "info": "confirm",
- "now": "20141128170752",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "modify",
- "field_id": "c34",
- "field_type": "area_testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c20",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "bv",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "bv",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": "",
- "new_value": "4",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c14",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "b",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- }
- ],
- "history": true,
- "next": "user_action_1",
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": true,
- "start_time": 1417190872629,
- "start_time2": "28/11/2014 17:07",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190872634,
- "end_time2": "28/11/2014 17:07",
- "info": null,
- "now": "20141128170752",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417190872634,
- "start_time2": "28/11/2014 17:07",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417190967679,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170927",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417190967679,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190967819,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170927",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417190967818,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417190971577,
- "end_time2": "28/11/2014 17:09",
- "info": "confirm",
- "now": "20141128170931",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "partial_reject",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": false,
- "new_value": "bv",
- "old_comment": null,
- "old_refused": "",
- "old_value": "bv"
- },
- {
- "action": "partial_reject",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": false,
- "new_value": "4",
- "old_comment": null,
- "old_refused": "",
- "old_value": "4"
- }
- ],
- "history": true,
- "next": "conditional_action_0",
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417190971577,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190971605,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170931",
- "result": {
- "action": "conditional_action",
- "document_changes": null,
- "history": false,
- "next": "end",
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "conditional_action_0"
- },
- "show": false,
- "start_time": 1417190971582,
- "start_time2": "28/11/2014 17:09",
- "state_id": "conditional_action_0",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190971611,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170931",
- "result": {
- "action": "process_ended",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170740-E5C6345B-001",
- "reason": "process_ended",
- "response": "stopped",
- "result": "approved",
- "state_id": "end"
- },
- "show": false,
- "start_time": 1417190971610,
- "start_time2": "28/11/2014 17:09",
- "state_id": "end",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- }
- ],
- "owner": "user-20141119171222-A1B69501",
- "owner_name": "Carla Giusti",
- "start_date": "",
- "start_time": 1417190861383,
- "start_time2": "28/11/2014 17:07",
- "status": {}
- },
- "object": "process",
- "result": "approved",
- "type": "closed"
- },
- {
- "flow": {
- "counter": {
- "conditional_action": 2,
- "end_parallel": 0,
- "event_action": 0,
- "get_data": 0,
- "parallel_action": 0,
- "put_data": 0,
- "start_parallel": 0,
- "system_action": 1,
- "user_action": 4,
- "wait_data": 0,
- "ws_data": 0
- },
- "cron_actions": {},
- "parallel_actions": {},
- "states": {
- "conditional_action_0": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "false",
- "id": "conditional_action_0",
- "label": "VERIFICA 1",
- "linkable": "true",
- "linked": "true",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 364px; left: 633px;",
- "taker": "\"\"",
- "timing": "",
- "type": "conditional_action",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": "GIORNI > 5",
- "parameters": {
- "condition": {
- "code": [
- "document.numero_giorni_c30",
- ">",
- true,
- "5"
- ],
- "language": "meta"
- },
- "description": "se i giorni sono pi\u00f9 di 5 serve l'autorizzazione del Dirigente",
- "id": "condition_D04A0246-3415-49A7-8C17-0DE4977D0241",
- "label": "GIORNI > 5"
- },
- "target": "user_action_2"
- },
- {
- "label_text": "Else",
- "parameters": {
- "condition": "else"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/conditional_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_14\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>VERIFICA 1</p></div>"
- },
- "conditional_action_1": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "false",
- "id": "conditional_action_1",
- "label": "VERIFICA 2",
- "linkable": "true",
- "linked": "true",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 213px; left: 856px;",
- "taker": "\"\"",
- "timing": "",
- "type": "conditional_action",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": "GIORNI > 10",
- "parameters": {
- "condition": {
- "code": [
- "document.numero_giorni_c30",
- ">",
- true,
- "10"
- ],
- "language": "meta"
- },
- "description": "se i giorni sono pi\u00f9 di 10 serve l'approvazione del Direttore",
- "id": "condition_140C9225-42C7-4784-AEDA-88B60EFA1FDA",
- "label": "GIORNI > 10"
- },
- "target": "user_action_3"
- },
- {
- "label_text": "Else",
- "parameters": {
- "condition": "else"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/conditional_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_35\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>VERIFICA 2</p></div>"
- },
- "end": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "true",
- "id": "end",
- "label": "FINE",
- "linkable": "true",
- "linked": "false",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 364px; left: 780px;",
- "taker": "\"\"",
- "timing": "",
- "type": "end",
- "viewers": "\"\""
- },
- "connections": [],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/end.png\"></div><div class=\"connect\" id=\"jsPlumb_1_28\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>FINE</p></div>"
- },
- "start": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "start",
- "label": "Start",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 115px; left: 562px;",
- "taker": "\"\"",
- "timing": "\"\"",
- "type": "start",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "user_action_0"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/start.png\"></div><div class=\"connect\" id=\"jsPlumb_1_1\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>Start</p></div>"
- },
- "user_action_0": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_0",
- "label": "ASSISTENTE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 314px; left: 503px;",
- "taker": "{\"process-role-1416668526939\":{\"actions\":[],\"fields\":{\"c14\":\"modify\",\"c20\":\"modify\",\"c26\":\"modify\",\"c30\":\"modify\",\"c34\":\"modify\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "user_action_1"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_2\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>ASSISTENTE</p></div>"
- },
- "user_action_1": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_1",
- "label": "RESPONSABILE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 221.833px; left: 567.833px;",
- "taker": "{\"process-role-1416668552731\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "conditional_action_0"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_8\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>RESPONSABILE</p></div>"
- },
- "user_action_2": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_2",
- "label": "DIRIGENTE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 111px; left: 750px;",
- "taker": "{\"process-role-1416668576073\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "conditional_action_1"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_20\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>DIRIGENTE</p></div>"
- },
- "user_action_3": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_3",
- "label": "DIRETTORE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 364px; left: 945px;",
- "taker": "{\"process-role-1416668596144\":{\"actions\":[],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_41\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>DIRETTORE</p></div>"
- }
- },
- "sub_processes": {}
- },
- "id": "process-20141128170722-7728BAAB-001",
- "info": {
- "approved": {
- "date": 1416838600663,
- "id": "a"
- },
- "creation_date": 1416666590042,
- "creator": "e",
- "description": "Permette di inoltrare un modulo per la richiesta delle ferie.",
- "model_id": "process-20141122152950-EE7BD617-000",
- "name": "Richiesta Ferie",
- "permissions": {
- "field": [
- "modify",
- "approve",
- "partial_reject"
- ],
- "process": [
- "start",
- "view_mine",
- "drop_mine",
- "view_all",
- "drop_all"
- ],
- "state": [
- "template",
- "reject"
- ]
- },
- "published": [
- {
- "date": 1416838468408,
- "publisher": "e",
- "url": "http://148.251.81.168:8200/"
- }
- ],
- "roles": {
- "process-role-1416668526939": {
- "company_matching": [
- "company-role-1416494315736"
- ],
- "id": "process-role-1416668526939",
- "label": "ASSISTENTE",
- "name": "ASSISTENTE",
- "permissions": [
- "start",
- "view_mine",
- "drop_mine"
- ]
- },
- "process-role-1416668552731": {
- "company_matching": [
- "company-role-1416494335075"
- ],
- "id": "process-role-1416668552731",
- "label": "RESPONSABILE",
- "name": "RESPONSABILE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- },
- "process-role-1416668576073": {
- "company_matching": [
- "company-role-1416494361422"
- ],
- "id": "process-role-1416668576073",
- "label": "DIRIGENTE",
- "name": "DIRIGENTE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- },
- "process-role-1416668596144": {
- "company_matching": [
- "company-role-1416494394678"
- ],
- "id": "process-role-1416668596144",
- "label": "DIRETTORE",
- "name": "DIRETTORE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- }
- },
- "sharing": [],
- "version": {
- "date": 1416772374935,
- "note": "xd",
- "number": 1
- }
- },
- "instance": {
- "active_states": {},
- "end_date": "",
- "end_time": 1417191080254,
- "end_time2": "28/11/2014 17:11",
- "log": [
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190842563,
- "end_time2": "28/11/2014 17:07",
- "info": null,
- "now": "20141128170722",
- "result": {
- "action": "process_started",
- "document_changes": null,
- "history": true,
- "next": "user_action_0",
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "process_started",
- "response": "continue",
- "result": null,
- "state_id": "start"
- },
- "show": false,
- "start_time": 1417190842563,
- "start_time2": "28/11/2014 17:07",
- "state_id": "start",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190842566,
- "end_time2": "28/11/2014 17:07",
- "info": null,
- "now": "20141128170722",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": false,
- "start_time": 1417190842566,
- "start_time2": "28/11/2014 17:07",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417190856847,
- "end_time2": "28/11/2014 17:07",
- "info": "confirm",
- "now": "20141128170736",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "modify",
- "field_id": "c34",
- "field_type": "area_testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c20",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "SFGDFSD",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "sdfgdsfgsdf",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": "",
- "new_value": "42",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c14",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "XCZXVX",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- }
- ],
- "history": true,
- "next": "user_action_1",
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": true,
- "start_time": 1417190856847,
- "start_time2": "28/11/2014 17:07",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190856852,
- "end_time2": "28/11/2014 17:07",
- "info": null,
- "now": "20141128170736",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417190856851,
- "start_time2": "28/11/2014 17:07",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417190975132,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170935",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417190975132,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190975349,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170935",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417190975348,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417190981570,
- "end_time2": "28/11/2014 17:09",
- "info": "confirm",
- "now": "20141128170941",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "partial_reject",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": false,
- "new_value": "sdfgdsfgsdf",
- "old_comment": null,
- "old_refused": "",
- "old_value": "sdfgdsfgsdf"
- },
- {
- "action": "partial_reject",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": false,
- "new_value": "42",
- "old_comment": null,
- "old_refused": "",
- "old_value": "42"
- }
- ],
- "history": true,
- "next": "conditional_action_0",
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417190981570,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190981600,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170941",
- "result": {
- "action": "conditional_action",
- "document_changes": null,
- "history": false,
- "next": "user_action_2",
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "conditional_action_0"
- },
- "show": false,
- "start_time": 1417190981575,
- "start_time2": "28/11/2014 17:09",
- "state_id": "conditional_action_0",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190981606,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170941",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_2"
- },
- "show": false,
- "start_time": 1417190981605,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_2",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417191041006,
- "end_time2": "28/11/2014 17:10",
- "info": null,
- "now": "20141128171041",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_2"
- },
- "show": true,
- "start_time": 1417191041006,
- "start_time2": "28/11/2014 17:10",
- "state_id": "user_action_2",
- "user_data": {
- "id": "user-20141119171352-F457AA43",
- "info": {
- "email": "carlo.serafini@gmail.com",
- "links": {},
- "name": "Carlo Serafini",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "517578.57813",
- "roles": [
- "company-role-1416494361422"
- ],
- "status": "enabled",
- "username": "dirigente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191041179,
- "end_time2": "28/11/2014 17:10",
- "info": null,
- "now": "20141128171041",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_2"
- },
- "show": false,
- "start_time": 1417191041178,
- "start_time2": "28/11/2014 17:10",
- "state_id": "user_action_2",
- "user_data": {
- "id": "user-20141119171352-F457AA43",
- "info": {
- "email": "carlo.serafini@gmail.com",
- "links": {},
- "name": "Carlo Serafini",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "517578.57813",
- "roles": [
- "company-role-1416494361422"
- ],
- "status": "enabled",
- "username": "dirigente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417191051915,
- "end_time2": "28/11/2014 17:10",
- "info": "confirm",
- "now": "20141128171051",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "partial_reject",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": false,
- "new_value": "sdfgdsfgsdf",
- "old_comment": null,
- "old_refused": false,
- "old_value": "sdfgdsfgsdf"
- },
- {
- "action": "partial_reject",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": false,
- "new_value": "42",
- "old_comment": null,
- "old_refused": false,
- "old_value": "42"
- }
- ],
- "history": true,
- "next": "conditional_action_1",
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_2"
- },
- "show": true,
- "start_time": 1417191051914,
- "start_time2": "28/11/2014 17:10",
- "state_id": "user_action_2",
- "user_data": {
- "id": "user-20141119171352-F457AA43",
- "info": {
- "email": "carlo.serafini@gmail.com",
- "links": {},
- "name": "Carlo Serafini",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "517578.57813",
- "roles": [
- "company-role-1416494361422"
- ],
- "status": "enabled",
- "username": "dirigente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191051943,
- "end_time2": "28/11/2014 17:10",
- "info": null,
- "now": "20141128171051",
- "result": {
- "action": "conditional_action",
- "document_changes": null,
- "history": false,
- "next": "user_action_3",
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "conditional_action_1"
- },
- "show": false,
- "start_time": 1417191051920,
- "start_time2": "28/11/2014 17:10",
- "state_id": "conditional_action_1",
- "user_data": {
- "id": "user-20141119171352-F457AA43",
- "info": {
- "email": "carlo.serafini@gmail.com",
- "links": {},
- "name": "Carlo Serafini",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "517578.57813",
- "roles": [
- "company-role-1416494361422"
- ],
- "status": "enabled",
- "username": "dirigente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191051950,
- "end_time2": "28/11/2014 17:10",
- "info": null,
- "now": "20141128171051",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_3"
- },
- "show": false,
- "start_time": 1417191051949,
- "start_time2": "28/11/2014 17:10",
- "state_id": "user_action_3",
- "user_data": {
- "id": "user-20141119171352-F457AA43",
- "info": {
- "email": "carlo.serafini@gmail.com",
- "links": {},
- "name": "Carlo Serafini",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "517578.57813",
- "roles": [
- "company-role-1416494361422"
- ],
- "status": "enabled",
- "username": "dirigente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417191072248,
- "end_time2": "28/11/2014 17:11",
- "info": null,
- "now": "20141128171112",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_3"
- },
- "show": true,
- "start_time": 1417191072248,
- "start_time2": "28/11/2014 17:11",
- "state_id": "user_action_3",
- "user_data": {
- "id": "user-20141119171437-9AA7141F",
- "info": {
- "email": "riccardo.raspelli@gmail.com",
- "links": {},
- "name": "Riccardo Raspelli",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "63817136668983",
- "roles": [
- "company-role-1416494394678"
- ],
- "status": "enabled",
- "username": "direttore"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191072362,
- "end_time2": "28/11/2014 17:11",
- "info": null,
- "now": "20141128171112",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_3"
- },
- "show": false,
- "start_time": 1417191072361,
- "start_time2": "28/11/2014 17:11",
- "state_id": "user_action_3",
- "user_data": {
- "id": "user-20141119171437-9AA7141F",
- "info": {
- "email": "riccardo.raspelli@gmail.com",
- "links": {},
- "name": "Riccardo Raspelli",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "63817136668983",
- "roles": [
- "company-role-1416494394678"
- ],
- "status": "enabled",
- "username": "direttore"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417191080247,
- "end_time2": "28/11/2014 17:11",
- "info": "confirm",
- "now": "20141128171120",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "partial_reject",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": false,
- "new_value": "sdfgdsfgsdf",
- "old_comment": null,
- "old_refused": false,
- "old_value": "sdfgdsfgsdf"
- },
- {
- "action": "partial_reject",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": false,
- "new_value": "42",
- "old_comment": null,
- "old_refused": false,
- "old_value": "42"
- }
- ],
- "history": true,
- "next": "end",
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_3"
- },
- "show": true,
- "start_time": 1417191080247,
- "start_time2": "28/11/2014 17:11",
- "state_id": "user_action_3",
- "user_data": {
- "id": "user-20141119171437-9AA7141F",
- "info": {
- "email": "riccardo.raspelli@gmail.com",
- "links": {},
- "name": "Riccardo Raspelli",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "63817136668983",
- "roles": [
- "company-role-1416494394678"
- ],
- "status": "enabled",
- "username": "direttore"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191080254,
- "end_time2": "28/11/2014 17:11",
- "info": null,
- "now": "20141128171120",
- "result": {
- "action": "process_ended",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170722-7728BAAB-001",
- "reason": "process_ended",
- "response": "stopped",
- "result": "approved",
- "state_id": "end"
- },
- "show": false,
- "start_time": 1417191080254,
- "start_time2": "28/11/2014 17:11",
- "state_id": "end",
- "user_data": {
- "id": "user-20141119171437-9AA7141F",
- "info": {
- "email": "riccardo.raspelli@gmail.com",
- "links": {},
- "name": "Riccardo Raspelli",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "63817136668983",
- "roles": [
- "company-role-1416494394678"
- ],
- "status": "enabled",
- "username": "direttore"
- },
- "object": "user",
- "type": "company"
- }
- }
- ],
- "owner": "user-20141119171222-A1B69501",
- "owner_name": "Carla Giusti",
- "start_date": "",
- "start_time": 1417190842563,
- "start_time2": "28/11/2014 17:07",
- "status": {}
- },
- "object": "process",
- "result": "approved",
- "type": "closed"
- },
- {
- "flow": {
- "counter": {
- "conditional_action": 2,
- "end_parallel": 0,
- "event_action": 0,
- "get_data": 0,
- "parallel_action": 0,
- "put_data": 0,
- "start_parallel": 0,
- "system_action": 1,
- "user_action": 4,
- "wait_data": 0,
- "ws_data": 0
- },
- "cron_actions": {},
- "parallel_actions": {},
- "states": {
- "conditional_action_0": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "false",
- "id": "conditional_action_0",
- "label": "VERIFICA 1",
- "linkable": "true",
- "linked": "true",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 364px; left: 633px;",
- "taker": "\"\"",
- "timing": "",
- "type": "conditional_action",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": "GIORNI > 5",
- "parameters": {
- "condition": {
- "code": [
- "document.numero_giorni_c30",
- ">",
- true,
- "5"
- ],
- "language": "meta"
- },
- "description": "se i giorni sono pi\u00f9 di 5 serve l'autorizzazione del Dirigente",
- "id": "condition_D04A0246-3415-49A7-8C17-0DE4977D0241",
- "label": "GIORNI > 5"
- },
- "target": "user_action_2"
- },
- {
- "label_text": "Else",
- "parameters": {
- "condition": "else"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/conditional_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_14\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>VERIFICA 1</p></div>"
- },
- "conditional_action_1": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "false",
- "id": "conditional_action_1",
- "label": "VERIFICA 2",
- "linkable": "true",
- "linked": "true",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 213px; left: 856px;",
- "taker": "\"\"",
- "timing": "",
- "type": "conditional_action",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": "GIORNI > 10",
- "parameters": {
- "condition": {
- "code": [
- "document.numero_giorni_c30",
- ">",
- true,
- "10"
- ],
- "language": "meta"
- },
- "description": "se i giorni sono pi\u00f9 di 10 serve l'approvazione del Direttore",
- "id": "condition_140C9225-42C7-4784-AEDA-88B60EFA1FDA",
- "label": "GIORNI > 10"
- },
- "target": "user_action_3"
- },
- {
- "label_text": "Else",
- "parameters": {
- "condition": "else"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/conditional_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_35\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>VERIFICA 2</p></div>"
- },
- "end": {
- "attributes": {
- "context": "on",
- "dbl": "on",
- "dynamic": "\"\"",
- "else": "true",
- "id": "end",
- "label": "FINE",
- "linkable": "true",
- "linked": "false",
- "script": "{\"language\":\"python\",\"code\":\"\"}",
- "style": "top: 364px; left: 780px;",
- "taker": "\"\"",
- "timing": "",
- "type": "end",
- "viewers": "\"\""
- },
- "connections": [],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/end.png\"></div><div class=\"connect\" id=\"jsPlumb_1_28\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>FINE</p></div>"
- },
- "start": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "start",
- "label": "Start",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 115px; left: 562px;",
- "taker": "\"\"",
- "timing": "\"\"",
- "type": "start",
- "viewers": "\"\""
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "user_action_0"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/start.png\"></div><div class=\"connect\" id=\"jsPlumb_1_1\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>Start</p></div>"
- },
- "user_action_0": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_0",
- "label": "ASSISTENTE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 314px; left: 503px;",
- "taker": "{\"process-role-1416668526939\":{\"actions\":[],\"fields\":{\"c14\":\"modify\",\"c20\":\"modify\",\"c26\":\"modify\",\"c30\":\"modify\",\"c34\":\"modify\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "user_action_1"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_2\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>ASSISTENTE</p></div>"
- },
- "user_action_1": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_1",
- "label": "RESPONSABILE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 221.833px; left: 567.833px;",
- "taker": "{\"process-role-1416668552731\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "conditional_action_0"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_8\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>RESPONSABILE</p></div>"
- },
- "user_action_2": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_2",
- "label": "DIRIGENTE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 111px; left: 750px;",
- "taker": "{\"process-role-1416668576073\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "conditional_action_1"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_20\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>DIRIGENTE</p></div>"
- },
- "user_action_3": {
- "attributes": {
- "context": "on",
- "dbl": "off",
- "dynamic": "\"\"",
- "else": "false",
- "id": "user_action_3",
- "label": "DIRETTORE",
- "linkable": "false",
- "linked": "true",
- "script": "\"\"",
- "style": "top: 364px; left: 945px;",
- "taker": "{\"process-role-1416668596144\":{\"actions\":[],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
- "timing": "",
- "type": "user_action",
- "viewers": "{}"
- },
- "connections": [
- {
- "label_text": null,
- "parameters": {
- "condition": "standard"
- },
- "target": "end"
- }
- ],
- "innerHTML": "<div class=\"trigger\"><img class=\"state_img\" src=\"../img/icons/85x85/user_action.png\"></div><div class=\"connect\" id=\"jsPlumb_1_41\" style=\"visibility: hidden;\"></div><div class=\"state_label\"><p>DIRETTORE</p></div>"
- }
- },
- "sub_processes": {}
- },
- "id": "process-20141128170908-3EA1BCD4-001",
- "info": {
- "approved": {
- "date": 1416838600663,
- "id": "a"
- },
- "creation_date": 1416666590042,
- "creator": "e",
- "description": "Permette di inoltrare un modulo per la richiesta delle ferie.",
- "model_id": "process-20141122152950-EE7BD617-000",
- "name": "Richiesta Ferie",
- "permissions": {
- "field": [
- "modify",
- "approve",
- "partial_reject"
- ],
- "process": [
- "start",
- "view_mine",
- "drop_mine",
- "view_all",
- "drop_all"
- ],
- "state": [
- "template",
- "reject"
- ]
- },
- "published": [
- {
- "date": 1416838468408,
- "publisher": "e",
- "url": "http://148.251.81.168:8200/"
- }
- ],
- "roles": {
- "process-role-1416668526939": {
- "company_matching": [
- "company-role-1416494315736"
- ],
- "id": "process-role-1416668526939",
- "label": "ASSISTENTE",
- "name": "ASSISTENTE",
- "permissions": [
- "start",
- "view_mine",
- "drop_mine"
- ]
- },
- "process-role-1416668552731": {
- "company_matching": [
- "company-role-1416494335075"
- ],
- "id": "process-role-1416668552731",
- "label": "RESPONSABILE",
- "name": "RESPONSABILE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- },
- "process-role-1416668576073": {
- "company_matching": [
- "company-role-1416494361422"
- ],
- "id": "process-role-1416668576073",
- "label": "DIRIGENTE",
- "name": "DIRIGENTE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- },
- "process-role-1416668596144": {
- "company_matching": [
- "company-role-1416494394678"
- ],
- "id": "process-role-1416668596144",
- "label": "DIRETTORE",
- "name": "DIRETTORE",
- "permissions": [
- "view_all",
- "drop_all"
- ]
- }
- },
- "sharing": [],
- "version": {
- "date": 1416772374935,
- "note": "xd",
- "number": 1
- }
- },
- "instance": {
- "active_states": {
- "user_action_1": "user-20141119171311-783C4C74"
- },
- "end_date": "",
- "log": [
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190949102,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170909",
- "result": {
- "action": "process_started",
- "document_changes": null,
- "history": true,
- "next": "user_action_0",
- "process_id": "process-20141128170908-3EA1BCD4-001",
- "reason": "process_started",
- "response": "continue",
- "result": null,
- "state_id": "start"
- },
- "show": false,
- "start_time": 1417190949102,
- "start_time2": "28/11/2014 17:09",
- "state_id": "start",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190949115,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170909",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170908-3EA1BCD4-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": false,
- "start_time": 1417190949112,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_submit",
- "document_changes": null,
- "end_time": 1417190972736,
- "end_time2": "28/11/2014 17:09",
- "info": "confirm",
- "now": "20141128170932",
- "result": {
- "action": "process_confirmed",
- "document_changes": [
- {
- "action": "modify",
- "field_id": "c34",
- "field_type": "area_testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c20",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "gcascz<xc",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c26",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "vxfvbdhbyrf",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c30",
- "field_type": "numero",
- "new_comment": null,
- "new_refused": "",
- "new_value": "15",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- },
- {
- "action": "modify",
- "field_id": "c14",
- "field_type": "testo",
- "new_comment": null,
- "new_refused": "",
- "new_value": "nghndfhnrej",
- "old_comment": "",
- "old_refused": "",
- "old_value": ""
- }
- ],
- "history": true,
- "next": "user_action_1",
- "process_id": "process-20141128170908-3EA1BCD4-001",
- "reason": null,
- "response": "continue",
- "result": null,
- "state_id": "user_action_0"
- },
- "show": true,
- "start_time": 1417190972736,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_0",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417190972741,
- "end_time2": "28/11/2014 17:09",
- "info": null,
- "now": "20141128170932",
- "result": {
- "action": "cannot_take",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170908-3EA1BCD4-001",
- "reason": "cannot_take",
- "response": "stopped",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417190972740,
- "start_time2": "28/11/2014 17:09",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_take_active_state",
- "document_changes": null,
- "end_time": 1417191082407,
- "end_time2": "28/11/2014 17:11",
- "info": null,
- "now": "20141128171122",
- "result": {
- "action": "taken_active_state",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170908-3EA1BCD4-001",
- "reason": null,
- "response": "taken_active_state",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": true,
- "start_time": 1417191082407,
- "start_time2": "28/11/2014 17:11",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_run",
- "document_changes": null,
- "end_time": 1417191082629,
- "end_time2": "28/11/2014 17:11",
- "info": null,
- "now": "20141128171122",
- "result": {
- "action": "auto_taken_active_state",
- "document_changes": null,
- "history": false,
- "next": null,
- "process_id": "process-20141128170908-3EA1BCD4-001",
- "reason": "form",
- "response": "form",
- "result": null,
- "state_id": "user_action_1"
- },
- "show": false,
- "start_time": 1417191082629,
- "start_time2": "28/11/2014 17:11",
- "state_id": "user_action_1",
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- },
- {
- "action": "process_close",
- "document_changes": null,
- "end_time": 1417191135115,
- "end_time2": "28/11/2014 17:12",
- "info": null,
- "now": "20141128171215",
- "result": {
- "action": "process_dropped",
- "document_changes": null,
- "history": true,
- "next": null,
- "process_id": "process-20141128170908-3EA1BCD4-001",
- "reason": "process_closed",
- "response": "stopped",
- "result": "dropped",
- "state_id": null
- },
- "show": false,
- "start_time": 1417191135115,
- "start_time2": "28/11/2014 17:12",
- "state_id": null,
- "user_data": {
- "id": "user-20141119171311-783C4C74",
- "info": {
- "email": "sabrina.rossi@gmail.com",
- "links": {},
- "name": "Sabrina Rossi",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "8576487648158",
- "roles": [
- "company-role-1416494335075"
- ],
- "status": "enabled",
- "username": "responsabile"
- },
- "object": "user",
- "type": "company"
- }
- }
- ],
- "owner": "user-20141119171222-A1B69501",
- "owner_name": "Carla Giusti",
- "start_date": "",
- "start_time": 1417190949102,
- "start_time2": "28/11/2014 17:09",
- "status": {}
- },
- "object": "process",
- "result": "dropped",
- "type": "closed"
- }
- ],
- "token": "token-20141128191540-140CA9E76EF518AFA03D166C12195533B0F44F0D6ED8174AF13DB115A112EBB1",
- "user": {
- "id": "user-20141119171222-A1B69501",
- "info": {
- "email": "giusti@gmail.com",
- "links": {},
- "name": "Carla Giusti",
- "password": "5f4dcc3b5aa765d61d8327deb882cf99",
- "phone": "556816517516",
- "roles": [
- "company-role-1416494315736"
- ],
- "status": "enabled",
- "username": "assistente"
- },
- "object": "user",
- "type": "company"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement