Advertisement
Guest User

x fabio

a guest
Nov 28th, 2014
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 208.96 KB | None | 0 0
  1. {
  2. "processes": [
  3. {
  4. "flow": {
  5. "counter": {
  6. "conditional_action": 2,
  7. "end_parallel": 0,
  8. "event_action": 0,
  9. "get_data": 0,
  10. "parallel_action": 0,
  11. "put_data": 0,
  12. "start_parallel": 0,
  13. "system_action": 1,
  14. "user_action": 4,
  15. "wait_data": 0,
  16. "ws_data": 0
  17. },
  18. "cron_actions": {},
  19. "parallel_actions": {},
  20. "states": {
  21. "conditional_action_0": {
  22. "attributes": {
  23. "context": "on",
  24. "dbl": "on",
  25. "dynamic": "\"\"",
  26. "else": "false",
  27. "id": "conditional_action_0",
  28. "label": "VERIFICA 1",
  29. "linkable": "true",
  30. "linked": "true",
  31. "script": "{\"language\":\"python\",\"code\":\"\"}",
  32. "style": "top: 364px; left: 633px;",
  33. "taker": "\"\"",
  34. "timing": "",
  35. "type": "conditional_action",
  36. "viewers": "\"\""
  37. },
  38. "connections": [
  39. {
  40. "label_text": "GIORNI > 5",
  41. "parameters": {
  42. "condition": {
  43. "code": [
  44. "document.numero_giorni_c30",
  45. ">",
  46. true,
  47. "5"
  48. ],
  49. "language": "meta"
  50. },
  51. "description": "se i giorni sono pi\u00f9 di 5 serve l'autorizzazione del Dirigente",
  52. "id": "condition_D04A0246-3415-49A7-8C17-0DE4977D0241",
  53. "label": "GIORNI > 5"
  54. },
  55. "target": "user_action_2"
  56. },
  57. {
  58. "label_text": "Else",
  59. "parameters": {
  60. "condition": "else"
  61. },
  62. "target": "end"
  63. }
  64. ],
  65. "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>"
  66. },
  67. "conditional_action_1": {
  68. "attributes": {
  69. "context": "on",
  70. "dbl": "on",
  71. "dynamic": "\"\"",
  72. "else": "false",
  73. "id": "conditional_action_1",
  74. "label": "VERIFICA 2",
  75. "linkable": "true",
  76. "linked": "true",
  77. "script": "{\"language\":\"python\",\"code\":\"\"}",
  78. "style": "top: 213px; left: 856px;",
  79. "taker": "\"\"",
  80. "timing": "",
  81. "type": "conditional_action",
  82. "viewers": "\"\""
  83. },
  84. "connections": [
  85. {
  86. "label_text": "GIORNI > 10",
  87. "parameters": {
  88. "condition": {
  89. "code": [
  90. "document.numero_giorni_c30",
  91. ">",
  92. true,
  93. "10"
  94. ],
  95. "language": "meta"
  96. },
  97. "description": "se i giorni sono pi\u00f9 di 10 serve l'approvazione del Direttore",
  98. "id": "condition_140C9225-42C7-4784-AEDA-88B60EFA1FDA",
  99. "label": "GIORNI > 10"
  100. },
  101. "target": "user_action_3"
  102. },
  103. {
  104. "label_text": "Else",
  105. "parameters": {
  106. "condition": "else"
  107. },
  108. "target": "end"
  109. }
  110. ],
  111. "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>"
  112. },
  113. "end": {
  114. "attributes": {
  115. "context": "on",
  116. "dbl": "on",
  117. "dynamic": "\"\"",
  118. "else": "true",
  119. "id": "end",
  120. "label": "FINE",
  121. "linkable": "true",
  122. "linked": "false",
  123. "script": "{\"language\":\"python\",\"code\":\"\"}",
  124. "style": "top: 364px; left: 780px;",
  125. "taker": "\"\"",
  126. "timing": "",
  127. "type": "end",
  128. "viewers": "\"\""
  129. },
  130. "connections": [],
  131. "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>"
  132. },
  133. "start": {
  134. "attributes": {
  135. "context": "on",
  136. "dbl": "off",
  137. "dynamic": "\"\"",
  138. "else": "false",
  139. "id": "start",
  140. "label": "Start",
  141. "linkable": "false",
  142. "linked": "true",
  143. "script": "\"\"",
  144. "style": "top: 115px; left: 562px;",
  145. "taker": "\"\"",
  146. "timing": "\"\"",
  147. "type": "start",
  148. "viewers": "\"\""
  149. },
  150. "connections": [
  151. {
  152. "label_text": null,
  153. "parameters": {
  154. "condition": "standard"
  155. },
  156. "target": "user_action_0"
  157. }
  158. ],
  159. "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>"
  160. },
  161. "user_action_0": {
  162. "attributes": {
  163. "context": "on",
  164. "dbl": "off",
  165. "dynamic": "\"\"",
  166. "else": "false",
  167. "id": "user_action_0",
  168. "label": "ASSISTENTE",
  169. "linkable": "false",
  170. "linked": "true",
  171. "script": "\"\"",
  172. "style": "top: 314px; left: 503px;",
  173. "taker": "{\"process-role-1416668526939\":{\"actions\":[],\"fields\":{\"c14\":\"modify\",\"c20\":\"modify\",\"c26\":\"modify\",\"c30\":\"modify\",\"c34\":\"modify\"}}}",
  174. "timing": "",
  175. "type": "user_action",
  176. "viewers": "{}"
  177. },
  178. "connections": [
  179. {
  180. "label_text": null,
  181. "parameters": {
  182. "condition": "standard"
  183. },
  184. "target": "user_action_1"
  185. }
  186. ],
  187. "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>"
  188. },
  189. "user_action_1": {
  190. "attributes": {
  191. "context": "on",
  192. "dbl": "off",
  193. "dynamic": "\"\"",
  194. "else": "false",
  195. "id": "user_action_1",
  196. "label": "RESPONSABILE",
  197. "linkable": "false",
  198. "linked": "true",
  199. "script": "\"\"",
  200. "style": "top: 221.833px; left: 567.833px;",
  201. "taker": "{\"process-role-1416668552731\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  202. "timing": "",
  203. "type": "user_action",
  204. "viewers": "{}"
  205. },
  206. "connections": [
  207. {
  208. "label_text": null,
  209. "parameters": {
  210. "condition": "standard"
  211. },
  212. "target": "conditional_action_0"
  213. }
  214. ],
  215. "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>"
  216. },
  217. "user_action_2": {
  218. "attributes": {
  219. "context": "on",
  220. "dbl": "off",
  221. "dynamic": "\"\"",
  222. "else": "false",
  223. "id": "user_action_2",
  224. "label": "DIRIGENTE",
  225. "linkable": "false",
  226. "linked": "true",
  227. "script": "\"\"",
  228. "style": "top: 111px; left: 750px;",
  229. "taker": "{\"process-role-1416668576073\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  230. "timing": "",
  231. "type": "user_action",
  232. "viewers": "{}"
  233. },
  234. "connections": [
  235. {
  236. "label_text": null,
  237. "parameters": {
  238. "condition": "standard"
  239. },
  240. "target": "conditional_action_1"
  241. }
  242. ],
  243. "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>"
  244. },
  245. "user_action_3": {
  246. "attributes": {
  247. "context": "on",
  248. "dbl": "off",
  249. "dynamic": "\"\"",
  250. "else": "false",
  251. "id": "user_action_3",
  252. "label": "DIRETTORE",
  253. "linkable": "false",
  254. "linked": "true",
  255. "script": "\"\"",
  256. "style": "top: 364px; left: 945px;",
  257. "taker": "{\"process-role-1416668596144\":{\"actions\":[],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  258. "timing": "",
  259. "type": "user_action",
  260. "viewers": "{}"
  261. },
  262. "connections": [
  263. {
  264. "label_text": null,
  265. "parameters": {
  266. "condition": "standard"
  267. },
  268. "target": "end"
  269. }
  270. ],
  271. "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>"
  272. }
  273. },
  274. "sub_processes": {}
  275. },
  276. "id": "process-20141128170741-C6D4052A-001",
  277. "info": {
  278. "approved": {
  279. "date": 1416838600663,
  280. "id": "a"
  281. },
  282. "creation_date": 1416666590042,
  283. "creator": "e",
  284. "description": "Permette di inoltrare un modulo per la richiesta delle ferie.",
  285. "model_id": "process-20141122152950-EE7BD617-000",
  286. "name": "Richiesta Ferie",
  287. "permissions": {
  288. "field": [
  289. "modify",
  290. "approve",
  291. "partial_reject"
  292. ],
  293. "process": [
  294. "start",
  295. "view_mine",
  296. "drop_mine",
  297. "view_all",
  298. "drop_all"
  299. ],
  300. "state": [
  301. "template",
  302. "reject"
  303. ]
  304. },
  305. "published": [
  306. {
  307. "date": 1416838468408,
  308. "publisher": "e",
  309. "url": "http://148.251.81.168:8200/"
  310. }
  311. ],
  312. "roles": {
  313. "process-role-1416668526939": {
  314. "company_matching": [
  315. "company-role-1416494315736"
  316. ],
  317. "id": "process-role-1416668526939",
  318. "label": "ASSISTENTE",
  319. "name": "ASSISTENTE",
  320. "permissions": [
  321. "start",
  322. "view_mine",
  323. "drop_mine"
  324. ]
  325. },
  326. "process-role-1416668552731": {
  327. "company_matching": [
  328. "company-role-1416494335075"
  329. ],
  330. "id": "process-role-1416668552731",
  331. "label": "RESPONSABILE",
  332. "name": "RESPONSABILE",
  333. "permissions": [
  334. "view_all",
  335. "drop_all"
  336. ]
  337. },
  338. "process-role-1416668576073": {
  339. "company_matching": [
  340. "company-role-1416494361422"
  341. ],
  342. "id": "process-role-1416668576073",
  343. "label": "DIRIGENTE",
  344. "name": "DIRIGENTE",
  345. "permissions": [
  346. "view_all",
  347. "drop_all"
  348. ]
  349. },
  350. "process-role-1416668596144": {
  351. "company_matching": [
  352. "company-role-1416494394678"
  353. ],
  354. "id": "process-role-1416668596144",
  355. "label": "DIRETTORE",
  356. "name": "DIRETTORE",
  357. "permissions": [
  358. "view_all",
  359. "drop_all"
  360. ]
  361. }
  362. },
  363. "sharing": [],
  364. "version": {
  365. "date": 1416772374935,
  366. "note": "xd",
  367. "number": 1
  368. }
  369. },
  370. "instance": {
  371. "active_states": {
  372. "user_action_2": "user-20141119171352-F457AA43"
  373. },
  374. "end_date": "",
  375. "log": [
  376. {
  377. "action": "process_run",
  378. "document_changes": null,
  379. "end_time": 1417190861368,
  380. "end_time2": "28/11/2014 17:07",
  381. "info": null,
  382. "now": "20141128170741",
  383. "result": {
  384. "action": "process_started",
  385. "document_changes": null,
  386. "history": true,
  387. "next": "user_action_0",
  388. "process_id": "process-20141128170741-C6D4052A-001",
  389. "reason": "process_started",
  390. "response": "continue",
  391. "result": null,
  392. "state_id": "start"
  393. },
  394. "show": false,
  395. "start_time": 1417190861368,
  396. "start_time2": "28/11/2014 17:07",
  397. "state_id": "start",
  398. "user_data": {
  399. "id": "user-20141119171222-A1B69501",
  400. "info": {
  401. "email": "giusti@gmail.com",
  402. "links": {},
  403. "name": "Carla Giusti",
  404. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  405. "phone": "556816517516",
  406. "roles": [
  407. "company-role-1416494315736"
  408. ],
  409. "status": "enabled",
  410. "username": "assistente"
  411. },
  412. "object": "user",
  413. "type": "company"
  414. }
  415. },
  416. {
  417. "action": "process_run",
  418. "document_changes": null,
  419. "end_time": 1417190861370,
  420. "end_time2": "28/11/2014 17:07",
  421. "info": null,
  422. "now": "20141128170741",
  423. "result": {
  424. "action": "auto_taken_active_state",
  425. "document_changes": null,
  426. "history": false,
  427. "next": null,
  428. "process_id": "process-20141128170741-C6D4052A-001",
  429. "reason": "form",
  430. "response": "form",
  431. "result": null,
  432. "state_id": "user_action_0"
  433. },
  434. "show": false,
  435. "start_time": 1417190861370,
  436. "start_time2": "28/11/2014 17:07",
  437. "state_id": "user_action_0",
  438. "user_data": {
  439. "id": "user-20141119171222-A1B69501",
  440. "info": {
  441. "email": "giusti@gmail.com",
  442. "links": {},
  443. "name": "Carla Giusti",
  444. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  445. "phone": "556816517516",
  446. "roles": [
  447. "company-role-1416494315736"
  448. ],
  449. "status": "enabled",
  450. "username": "assistente"
  451. },
  452. "object": "user",
  453. "type": "company"
  454. }
  455. },
  456. {
  457. "action": "process_submit",
  458. "document_changes": null,
  459. "end_time": 1417190938490,
  460. "end_time2": "28/11/2014 17:08",
  461. "info": "confirm",
  462. "now": "20141128170858",
  463. "result": {
  464. "action": "process_confirmed",
  465. "document_changes": [
  466. {
  467. "action": "modify",
  468. "field_id": "c34",
  469. "field_type": "area_testo",
  470. "new_comment": null,
  471. "new_refused": "",
  472. "new_value": "",
  473. "old_comment": "",
  474. "old_refused": "",
  475. "old_value": ""
  476. },
  477. {
  478. "action": "modify",
  479. "field_id": "c20",
  480. "field_type": "testo",
  481. "new_comment": null,
  482. "new_refused": "",
  483. "new_value": "hutkukujmg",
  484. "old_comment": "",
  485. "old_refused": "",
  486. "old_value": ""
  487. },
  488. {
  489. "action": "modify",
  490. "field_id": "c26",
  491. "field_type": "testo",
  492. "new_comment": null,
  493. "new_refused": "",
  494. "new_value": "efsvvb ",
  495. "old_comment": "",
  496. "old_refused": "",
  497. "old_value": ""
  498. },
  499. {
  500. "action": "modify",
  501. "field_id": "c30",
  502. "field_type": "numero",
  503. "new_comment": null,
  504. "new_refused": "",
  505. "new_value": "15",
  506. "old_comment": "",
  507. "old_refused": "",
  508. "old_value": ""
  509. },
  510. {
  511. "action": "modify",
  512. "field_id": "c14",
  513. "field_type": "testo",
  514. "new_comment": null,
  515. "new_refused": "",
  516. "new_value": "fsdfvsagvdsf",
  517. "old_comment": "",
  518. "old_refused": "",
  519. "old_value": ""
  520. }
  521. ],
  522. "history": true,
  523. "next": "user_action_1",
  524. "process_id": "process-20141128170741-C6D4052A-001",
  525. "reason": null,
  526. "response": "continue",
  527. "result": null,
  528. "state_id": "user_action_0"
  529. },
  530. "show": true,
  531. "start_time": 1417190938489,
  532. "start_time2": "28/11/2014 17:08",
  533. "state_id": "user_action_0",
  534. "user_data": {
  535. "id": "user-20141119171222-A1B69501",
  536. "info": {
  537. "email": "giusti@gmail.com",
  538. "links": {},
  539. "name": "Carla Giusti",
  540. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  541. "phone": "556816517516",
  542. "roles": [
  543. "company-role-1416494315736"
  544. ],
  545. "status": "enabled",
  546. "username": "assistente"
  547. },
  548. "object": "user",
  549. "type": "company"
  550. }
  551. },
  552. {
  553. "action": "process_run",
  554. "document_changes": null,
  555. "end_time": 1417190938494,
  556. "end_time2": "28/11/2014 17:08",
  557. "info": null,
  558. "now": "20141128170858",
  559. "result": {
  560. "action": "cannot_take",
  561. "document_changes": null,
  562. "history": false,
  563. "next": null,
  564. "process_id": "process-20141128170741-C6D4052A-001",
  565. "reason": "cannot_take",
  566. "response": "stopped",
  567. "result": null,
  568. "state_id": "user_action_1"
  569. },
  570. "show": false,
  571. "start_time": 1417190938493,
  572. "start_time2": "28/11/2014 17:08",
  573. "state_id": "user_action_1",
  574. "user_data": {
  575. "id": "user-20141119171222-A1B69501",
  576. "info": {
  577. "email": "giusti@gmail.com",
  578. "links": {},
  579. "name": "Carla Giusti",
  580. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  581. "phone": "556816517516",
  582. "roles": [
  583. "company-role-1416494315736"
  584. ],
  585. "status": "enabled",
  586. "username": "assistente"
  587. },
  588. "object": "user",
  589. "type": "company"
  590. }
  591. },
  592. {
  593. "action": "process_take_active_state",
  594. "document_changes": null,
  595. "end_time": 1417190957250,
  596. "end_time2": "28/11/2014 17:09",
  597. "info": null,
  598. "now": "20141128170917",
  599. "result": {
  600. "action": "taken_active_state",
  601. "document_changes": null,
  602. "history": true,
  603. "next": null,
  604. "process_id": "process-20141128170741-C6D4052A-001",
  605. "reason": null,
  606. "response": "taken_active_state",
  607. "result": null,
  608. "state_id": "user_action_1"
  609. },
  610. "show": true,
  611. "start_time": 1417190957250,
  612. "start_time2": "28/11/2014 17:09",
  613. "state_id": "user_action_1",
  614. "user_data": {
  615. "id": "user-20141119171311-783C4C74",
  616. "info": {
  617. "email": "sabrina.rossi@gmail.com",
  618. "links": {},
  619. "name": "Sabrina Rossi",
  620. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  621. "phone": "8576487648158",
  622. "roles": [
  623. "company-role-1416494335075"
  624. ],
  625. "status": "enabled",
  626. "username": "responsabile"
  627. },
  628. "object": "user",
  629. "type": "company"
  630. }
  631. },
  632. {
  633. "action": "process_run",
  634. "document_changes": null,
  635. "end_time": 1417190957371,
  636. "end_time2": "28/11/2014 17:09",
  637. "info": null,
  638. "now": "20141128170917",
  639. "result": {
  640. "action": "auto_taken_active_state",
  641. "document_changes": null,
  642. "history": false,
  643. "next": null,
  644. "process_id": "process-20141128170741-C6D4052A-001",
  645. "reason": "form",
  646. "response": "form",
  647. "result": null,
  648. "state_id": "user_action_1"
  649. },
  650. "show": false,
  651. "start_time": 1417190957371,
  652. "start_time2": "28/11/2014 17:09",
  653. "state_id": "user_action_1",
  654. "user_data": {
  655. "id": "user-20141119171311-783C4C74",
  656. "info": {
  657. "email": "sabrina.rossi@gmail.com",
  658. "links": {},
  659. "name": "Sabrina Rossi",
  660. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  661. "phone": "8576487648158",
  662. "roles": [
  663. "company-role-1416494335075"
  664. ],
  665. "status": "enabled",
  666. "username": "responsabile"
  667. },
  668. "object": "user",
  669. "type": "company"
  670. }
  671. },
  672. {
  673. "action": "process_take_active_state",
  674. "document_changes": null,
  675. "end_time": 1417191147713,
  676. "end_time2": "28/11/2014 17:12",
  677. "info": null,
  678. "now": "20141128171227",
  679. "result": {
  680. "action": "taken_active_state",
  681. "document_changes": null,
  682. "history": true,
  683. "next": null,
  684. "process_id": "process-20141128170741-C6D4052A-001",
  685. "reason": null,
  686. "response": "taken_active_state",
  687. "result": null,
  688. "state_id": "user_action_1"
  689. },
  690. "show": true,
  691. "start_time": 1417191147713,
  692. "start_time2": "28/11/2014 17:12",
  693. "state_id": "user_action_1",
  694. "user_data": {
  695. "id": "user-20141119171311-783C4C74",
  696. "info": {
  697. "email": "sabrina.rossi@gmail.com",
  698. "links": {},
  699. "name": "Sabrina Rossi",
  700. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  701. "phone": "8576487648158",
  702. "roles": [
  703. "company-role-1416494335075"
  704. ],
  705. "status": "enabled",
  706. "username": "responsabile"
  707. },
  708. "object": "user",
  709. "type": "company"
  710. }
  711. },
  712. {
  713. "action": "process_run",
  714. "document_changes": null,
  715. "end_time": 1417191147862,
  716. "end_time2": "28/11/2014 17:12",
  717. "info": null,
  718. "now": "20141128171227",
  719. "result": {
  720. "action": "auto_taken_active_state",
  721. "document_changes": null,
  722. "history": false,
  723. "next": null,
  724. "process_id": "process-20141128170741-C6D4052A-001",
  725. "reason": "form",
  726. "response": "form",
  727. "result": null,
  728. "state_id": "user_action_1"
  729. },
  730. "show": false,
  731. "start_time": 1417191147862,
  732. "start_time2": "28/11/2014 17:12",
  733. "state_id": "user_action_1",
  734. "user_data": {
  735. "id": "user-20141119171311-783C4C74",
  736. "info": {
  737. "email": "sabrina.rossi@gmail.com",
  738. "links": {},
  739. "name": "Sabrina Rossi",
  740. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  741. "phone": "8576487648158",
  742. "roles": [
  743. "company-role-1416494335075"
  744. ],
  745. "status": "enabled",
  746. "username": "responsabile"
  747. },
  748. "object": "user",
  749. "type": "company"
  750. }
  751. },
  752. {
  753. "action": "process_submit",
  754. "document_changes": null,
  755. "end_time": 1417191181899,
  756. "end_time2": "28/11/2014 17:13",
  757. "info": "confirm",
  758. "now": "20141128171301",
  759. "result": {
  760. "action": "partial_reject",
  761. "document_changes": [
  762. {
  763. "action": "partial_reject",
  764. "field_id": "c26",
  765. "field_type": "testo",
  766. "new_comment": null,
  767. "new_refused": false,
  768. "new_value": "efsvvb ",
  769. "old_comment": null,
  770. "old_refused": "",
  771. "old_value": "efsvvb "
  772. },
  773. {
  774. "action": "partial_reject",
  775. "field_id": "c30",
  776. "field_type": "numero",
  777. "new_comment": "troppi",
  778. "new_refused": true,
  779. "new_value": "15",
  780. "old_comment": null,
  781. "old_refused": "",
  782. "old_value": "15"
  783. }
  784. ],
  785. "history": true,
  786. "next": "user_action_0",
  787. "process_id": "process-20141128170741-C6D4052A-001",
  788. "reason": null,
  789. "response": "continue",
  790. "result": null,
  791. "state_id": "user_action_1"
  792. },
  793. "show": true,
  794. "start_time": 1417191181897,
  795. "start_time2": "28/11/2014 17:13",
  796. "state_id": "user_action_1",
  797. "user_data": {
  798. "id": "user-20141119171311-783C4C74",
  799. "info": {
  800. "email": "sabrina.rossi@gmail.com",
  801. "links": {},
  802. "name": "Sabrina Rossi",
  803. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  804. "phone": "8576487648158",
  805. "roles": [
  806. "company-role-1416494335075"
  807. ],
  808. "status": "enabled",
  809. "username": "responsabile"
  810. },
  811. "object": "user",
  812. "type": "company"
  813. }
  814. },
  815. {
  816. "action": "process_run",
  817. "document_changes": null,
  818. "end_time": 1417191181904,
  819. "end_time2": "28/11/2014 17:13",
  820. "info": null,
  821. "now": "20141128171301",
  822. "result": {
  823. "action": "cannot_take",
  824. "document_changes": null,
  825. "history": false,
  826. "next": null,
  827. "process_id": "process-20141128170741-C6D4052A-001",
  828. "reason": "cannot_take",
  829. "response": "stopped",
  830. "result": null,
  831. "state_id": "user_action_0"
  832. },
  833. "show": false,
  834. "start_time": 1417191181903,
  835. "start_time2": "28/11/2014 17:13",
  836. "state_id": "user_action_0",
  837. "user_data": {
  838. "id": "user-20141119171311-783C4C74",
  839. "info": {
  840. "email": "sabrina.rossi@gmail.com",
  841. "links": {},
  842. "name": "Sabrina Rossi",
  843. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  844. "phone": "8576487648158",
  845. "roles": [
  846. "company-role-1416494335075"
  847. ],
  848. "status": "enabled",
  849. "username": "responsabile"
  850. },
  851. "object": "user",
  852. "type": "company"
  853. }
  854. },
  855. {
  856. "action": "process_take_active_state",
  857. "document_changes": null,
  858. "end_time": 1417191241111,
  859. "end_time2": "28/11/2014 17:14",
  860. "info": null,
  861. "now": "20141128171401",
  862. "result": {
  863. "action": "taken_active_state",
  864. "document_changes": null,
  865. "history": true,
  866. "next": null,
  867. "process_id": "process-20141128170741-C6D4052A-001",
  868. "reason": null,
  869. "response": "taken_active_state",
  870. "result": null,
  871. "state_id": "user_action_0"
  872. },
  873. "show": true,
  874. "start_time": 1417191241111,
  875. "start_time2": "28/11/2014 17:14",
  876. "state_id": "user_action_0",
  877. "user_data": {
  878. "id": "user-20141119171222-A1B69501",
  879. "info": {
  880. "email": "giusti@gmail.com",
  881. "links": {},
  882. "name": "Carla Giusti",
  883. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  884. "phone": "556816517516",
  885. "roles": [
  886. "company-role-1416494315736"
  887. ],
  888. "status": "enabled",
  889. "username": "assistente"
  890. },
  891. "object": "user",
  892. "type": "company"
  893. }
  894. },
  895. {
  896. "action": "process_run",
  897. "document_changes": null,
  898. "end_time": 1417191241290,
  899. "end_time2": "28/11/2014 17:14",
  900. "info": null,
  901. "now": "20141128171401",
  902. "result": {
  903. "action": "auto_taken_active_state",
  904. "document_changes": null,
  905. "history": false,
  906. "next": null,
  907. "process_id": "process-20141128170741-C6D4052A-001",
  908. "reason": "form",
  909. "response": "form",
  910. "result": null,
  911. "state_id": "user_action_0"
  912. },
  913. "show": false,
  914. "start_time": 1417191241289,
  915. "start_time2": "28/11/2014 17:14",
  916. "state_id": "user_action_0",
  917. "user_data": {
  918. "id": "user-20141119171222-A1B69501",
  919. "info": {
  920. "email": "giusti@gmail.com",
  921. "links": {},
  922. "name": "Carla Giusti",
  923. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  924. "phone": "556816517516",
  925. "roles": [
  926. "company-role-1416494315736"
  927. ],
  928. "status": "enabled",
  929. "username": "assistente"
  930. },
  931. "object": "user",
  932. "type": "company"
  933. }
  934. },
  935. {
  936. "action": "process_submit",
  937. "document_changes": null,
  938. "end_time": 1417191262005,
  939. "end_time2": "28/11/2014 17:14",
  940. "info": "confirm",
  941. "now": "20141128171421",
  942. "result": {
  943. "action": "process_confirmed",
  944. "document_changes": [
  945. {
  946. "action": "modify",
  947. "field_id": "c34",
  948. "field_type": "area_testo",
  949. "new_comment": null,
  950. "new_refused": "",
  951. "new_value": "",
  952. "old_comment": null,
  953. "old_refused": "",
  954. "old_value": ""
  955. },
  956. {
  957. "action": "modify",
  958. "field_id": "c20",
  959. "field_type": "testo",
  960. "new_comment": null,
  961. "new_refused": "",
  962. "new_value": "hutkukujmg",
  963. "old_comment": null,
  964. "old_refused": "",
  965. "old_value": "hutkukujmg"
  966. },
  967. {
  968. "action": "modify",
  969. "field_id": "c26",
  970. "field_type": "testo",
  971. "new_comment": null,
  972. "new_refused": false,
  973. "new_value": "efsvvb ",
  974. "old_comment": null,
  975. "old_refused": false,
  976. "old_value": "efsvvb "
  977. },
  978. {
  979. "action": "modify",
  980. "field_id": "c30",
  981. "field_type": "numero",
  982. "new_comment": null,
  983. "new_refused": true,
  984. "new_value": "9",
  985. "old_comment": "troppi",
  986. "old_refused": true,
  987. "old_value": "15"
  988. },
  989. {
  990. "action": "modify",
  991. "field_id": "c14",
  992. "field_type": "testo",
  993. "new_comment": null,
  994. "new_refused": "",
  995. "new_value": "fsdfvsagvdsf",
  996. "old_comment": null,
  997. "old_refused": "",
  998. "old_value": "fsdfvsagvdsf"
  999. }
  1000. ],
  1001. "history": true,
  1002. "next": "user_action_1",
  1003. "process_id": "process-20141128170741-C6D4052A-001",
  1004. "reason": null,
  1005. "response": "continue",
  1006. "result": null,
  1007. "state_id": "user_action_0"
  1008. },
  1009. "show": true,
  1010. "start_time": 1417191262004,
  1011. "start_time2": "28/11/2014 17:14",
  1012. "state_id": "user_action_0",
  1013. "user_data": {
  1014. "id": "user-20141119171222-A1B69501",
  1015. "info": {
  1016. "email": "giusti@gmail.com",
  1017. "links": {},
  1018. "name": "Carla Giusti",
  1019. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1020. "phone": "556816517516",
  1021. "roles": [
  1022. "company-role-1416494315736"
  1023. ],
  1024. "status": "enabled",
  1025. "username": "assistente"
  1026. },
  1027. "object": "user",
  1028. "type": "company"
  1029. }
  1030. },
  1031. {
  1032. "action": "process_run",
  1033. "document_changes": null,
  1034. "end_time": 1417191262011,
  1035. "end_time2": "28/11/2014 17:14",
  1036. "info": null,
  1037. "now": "20141128171422",
  1038. "result": {
  1039. "action": "cannot_take",
  1040. "document_changes": null,
  1041. "history": false,
  1042. "next": null,
  1043. "process_id": "process-20141128170741-C6D4052A-001",
  1044. "reason": "cannot_take",
  1045. "response": "stopped",
  1046. "result": null,
  1047. "state_id": "user_action_1"
  1048. },
  1049. "show": false,
  1050. "start_time": 1417191262010,
  1051. "start_time2": "28/11/2014 17:14",
  1052. "state_id": "user_action_1",
  1053. "user_data": {
  1054. "id": "user-20141119171222-A1B69501",
  1055. "info": {
  1056. "email": "giusti@gmail.com",
  1057. "links": {},
  1058. "name": "Carla Giusti",
  1059. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1060. "phone": "556816517516",
  1061. "roles": [
  1062. "company-role-1416494315736"
  1063. ],
  1064. "status": "enabled",
  1065. "username": "assistente"
  1066. },
  1067. "object": "user",
  1068. "type": "company"
  1069. }
  1070. },
  1071. {
  1072. "action": "process_take_active_state",
  1073. "document_changes": null,
  1074. "end_time": 1417191280146,
  1075. "end_time2": "28/11/2014 17:14",
  1076. "info": null,
  1077. "now": "20141128171440",
  1078. "result": {
  1079. "action": "taken_active_state",
  1080. "document_changes": null,
  1081. "history": true,
  1082. "next": null,
  1083. "process_id": "process-20141128170741-C6D4052A-001",
  1084. "reason": null,
  1085. "response": "taken_active_state",
  1086. "result": null,
  1087. "state_id": "user_action_1"
  1088. },
  1089. "show": true,
  1090. "start_time": 1417191280146,
  1091. "start_time2": "28/11/2014 17:14",
  1092. "state_id": "user_action_1",
  1093. "user_data": {
  1094. "id": "user-20141119171311-783C4C74",
  1095. "info": {
  1096. "email": "sabrina.rossi@gmail.com",
  1097. "links": {},
  1098. "name": "Sabrina Rossi",
  1099. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1100. "phone": "8576487648158",
  1101. "roles": [
  1102. "company-role-1416494335075"
  1103. ],
  1104. "status": "enabled",
  1105. "username": "responsabile"
  1106. },
  1107. "object": "user",
  1108. "type": "company"
  1109. }
  1110. },
  1111. {
  1112. "action": "process_run",
  1113. "document_changes": null,
  1114. "end_time": 1417191280346,
  1115. "end_time2": "28/11/2014 17:14",
  1116. "info": null,
  1117. "now": "20141128171440",
  1118. "result": {
  1119. "action": "auto_taken_active_state",
  1120. "document_changes": null,
  1121. "history": false,
  1122. "next": null,
  1123. "process_id": "process-20141128170741-C6D4052A-001",
  1124. "reason": "form",
  1125. "response": "form",
  1126. "result": null,
  1127. "state_id": "user_action_1"
  1128. },
  1129. "show": false,
  1130. "start_time": 1417191280346,
  1131. "start_time2": "28/11/2014 17:14",
  1132. "state_id": "user_action_1",
  1133. "user_data": {
  1134. "id": "user-20141119171311-783C4C74",
  1135. "info": {
  1136. "email": "sabrina.rossi@gmail.com",
  1137. "links": {},
  1138. "name": "Sabrina Rossi",
  1139. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1140. "phone": "8576487648158",
  1141. "roles": [
  1142. "company-role-1416494335075"
  1143. ],
  1144. "status": "enabled",
  1145. "username": "responsabile"
  1146. },
  1147. "object": "user",
  1148. "type": "company"
  1149. }
  1150. },
  1151. {
  1152. "action": "process_submit",
  1153. "document_changes": null,
  1154. "end_time": 1417191284101,
  1155. "end_time2": "28/11/2014 17:14",
  1156. "info": "confirm",
  1157. "now": "20141128171444",
  1158. "result": {
  1159. "action": "process_confirmed",
  1160. "document_changes": [
  1161. {
  1162. "action": "partial_reject",
  1163. "field_id": "c26",
  1164. "field_type": "testo",
  1165. "new_comment": null,
  1166. "new_refused": false,
  1167. "new_value": "efsvvb ",
  1168. "old_comment": null,
  1169. "old_refused": false,
  1170. "old_value": "efsvvb "
  1171. },
  1172. {
  1173. "action": "partial_reject",
  1174. "field_id": "c30",
  1175. "field_type": "numero",
  1176. "new_comment": null,
  1177. "new_refused": false,
  1178. "new_value": "9",
  1179. "old_comment": null,
  1180. "old_refused": true,
  1181. "old_value": "9"
  1182. }
  1183. ],
  1184. "history": true,
  1185. "next": "conditional_action_0",
  1186. "process_id": "process-20141128170741-C6D4052A-001",
  1187. "reason": null,
  1188. "response": "continue",
  1189. "result": null,
  1190. "state_id": "user_action_1"
  1191. },
  1192. "show": true,
  1193. "start_time": 1417191284100,
  1194. "start_time2": "28/11/2014 17:14",
  1195. "state_id": "user_action_1",
  1196. "user_data": {
  1197. "id": "user-20141119171311-783C4C74",
  1198. "info": {
  1199. "email": "sabrina.rossi@gmail.com",
  1200. "links": {},
  1201. "name": "Sabrina Rossi",
  1202. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1203. "phone": "8576487648158",
  1204. "roles": [
  1205. "company-role-1416494335075"
  1206. ],
  1207. "status": "enabled",
  1208. "username": "responsabile"
  1209. },
  1210. "object": "user",
  1211. "type": "company"
  1212. }
  1213. },
  1214. {
  1215. "action": "process_run",
  1216. "document_changes": null,
  1217. "end_time": 1417191284131,
  1218. "end_time2": "28/11/2014 17:14",
  1219. "info": null,
  1220. "now": "20141128171444",
  1221. "result": {
  1222. "action": "conditional_action",
  1223. "document_changes": null,
  1224. "history": false,
  1225. "next": "user_action_2",
  1226. "process_id": "process-20141128170741-C6D4052A-001",
  1227. "reason": null,
  1228. "response": "continue",
  1229. "result": null,
  1230. "state_id": "conditional_action_0"
  1231. },
  1232. "show": false,
  1233. "start_time": 1417191284106,
  1234. "start_time2": "28/11/2014 17:14",
  1235. "state_id": "conditional_action_0",
  1236. "user_data": {
  1237. "id": "user-20141119171311-783C4C74",
  1238. "info": {
  1239. "email": "sabrina.rossi@gmail.com",
  1240. "links": {},
  1241. "name": "Sabrina Rossi",
  1242. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1243. "phone": "8576487648158",
  1244. "roles": [
  1245. "company-role-1416494335075"
  1246. ],
  1247. "status": "enabled",
  1248. "username": "responsabile"
  1249. },
  1250. "object": "user",
  1251. "type": "company"
  1252. }
  1253. },
  1254. {
  1255. "action": "process_run",
  1256. "document_changes": null,
  1257. "end_time": 1417191284137,
  1258. "end_time2": "28/11/2014 17:14",
  1259. "info": null,
  1260. "now": "20141128171444",
  1261. "result": {
  1262. "action": "cannot_take",
  1263. "document_changes": null,
  1264. "history": false,
  1265. "next": null,
  1266. "process_id": "process-20141128170741-C6D4052A-001",
  1267. "reason": "cannot_take",
  1268. "response": "stopped",
  1269. "result": null,
  1270. "state_id": "user_action_2"
  1271. },
  1272. "show": false,
  1273. "start_time": 1417191284136,
  1274. "start_time2": "28/11/2014 17:14",
  1275. "state_id": "user_action_2",
  1276. "user_data": {
  1277. "id": "user-20141119171311-783C4C74",
  1278. "info": {
  1279. "email": "sabrina.rossi@gmail.com",
  1280. "links": {},
  1281. "name": "Sabrina Rossi",
  1282. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1283. "phone": "8576487648158",
  1284. "roles": [
  1285. "company-role-1416494335075"
  1286. ],
  1287. "status": "enabled",
  1288. "username": "responsabile"
  1289. },
  1290. "object": "user",
  1291. "type": "company"
  1292. }
  1293. },
  1294. {
  1295. "action": "process_take_active_state",
  1296. "document_changes": null,
  1297. "end_time": 1417191304885,
  1298. "end_time2": "28/11/2014 17:15",
  1299. "info": null,
  1300. "now": "20141128171504",
  1301. "result": {
  1302. "action": "taken_active_state",
  1303. "document_changes": null,
  1304. "history": true,
  1305. "next": null,
  1306. "process_id": "process-20141128170741-C6D4052A-001",
  1307. "reason": null,
  1308. "response": "taken_active_state",
  1309. "result": null,
  1310. "state_id": "user_action_2"
  1311. },
  1312. "show": true,
  1313. "start_time": 1417191304885,
  1314. "start_time2": "28/11/2014 17:15",
  1315. "state_id": "user_action_2",
  1316. "user_data": {
  1317. "id": "user-20141119171352-F457AA43",
  1318. "info": {
  1319. "email": "carlo.serafini@gmail.com",
  1320. "links": {},
  1321. "name": "Carlo Serafini",
  1322. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1323. "phone": "517578.57813",
  1324. "roles": [
  1325. "company-role-1416494361422"
  1326. ],
  1327. "status": "enabled",
  1328. "username": "dirigente"
  1329. },
  1330. "object": "user",
  1331. "type": "company"
  1332. }
  1333. },
  1334. {
  1335. "action": "process_run",
  1336. "document_changes": null,
  1337. "end_time": 1417191305011,
  1338. "end_time2": "28/11/2014 17:15",
  1339. "info": null,
  1340. "now": "20141128171505",
  1341. "result": {
  1342. "action": "auto_taken_active_state",
  1343. "document_changes": null,
  1344. "history": false,
  1345. "next": null,
  1346. "process_id": "process-20141128170741-C6D4052A-001",
  1347. "reason": "form",
  1348. "response": "form",
  1349. "result": null,
  1350. "state_id": "user_action_2"
  1351. },
  1352. "show": false,
  1353. "start_time": 1417191305010,
  1354. "start_time2": "28/11/2014 17:15",
  1355. "state_id": "user_action_2",
  1356. "user_data": {
  1357. "id": "user-20141119171352-F457AA43",
  1358. "info": {
  1359. "email": "carlo.serafini@gmail.com",
  1360. "links": {},
  1361. "name": "Carlo Serafini",
  1362. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1363. "phone": "517578.57813",
  1364. "roles": [
  1365. "company-role-1416494361422"
  1366. ],
  1367. "status": "enabled",
  1368. "username": "dirigente"
  1369. },
  1370. "object": "user",
  1371. "type": "company"
  1372. }
  1373. },
  1374. {
  1375. "action": "process_close",
  1376. "document_changes": null,
  1377. "end_time": 1417191311736,
  1378. "end_time2": "28/11/2014 17:15",
  1379. "info": null,
  1380. "now": "20141128171511",
  1381. "result": {
  1382. "action": "process_rejected",
  1383. "document_changes": null,
  1384. "history": true,
  1385. "next": null,
  1386. "process_id": "process-20141128170741-C6D4052A-001",
  1387. "reason": "process_closed",
  1388. "response": "stopped",
  1389. "result": "rejected",
  1390. "state_id": null
  1391. },
  1392. "show": false,
  1393. "start_time": 1417191311736,
  1394. "start_time2": "28/11/2014 17:15",
  1395. "state_id": null,
  1396. "user_data": {
  1397. "id": "user-20141119171352-F457AA43",
  1398. "info": {
  1399. "email": "carlo.serafini@gmail.com",
  1400. "links": {},
  1401. "name": "Carlo Serafini",
  1402. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1403. "phone": "517578.57813",
  1404. "roles": [
  1405. "company-role-1416494361422"
  1406. ],
  1407. "status": "enabled",
  1408. "username": "dirigente"
  1409. },
  1410. "object": "user",
  1411. "type": "company"
  1412. }
  1413. }
  1414. ],
  1415. "owner": "user-20141119171222-A1B69501",
  1416. "owner_name": "Carla Giusti",
  1417. "start_date": "",
  1418. "start_time": 1417190861368,
  1419. "start_time2": "28/11/2014 17:07",
  1420. "status": {}
  1421. },
  1422. "object": "process",
  1423. "result": "rejected",
  1424. "type": "closed"
  1425. },
  1426. {
  1427. "flow": {
  1428. "counter": {
  1429. "conditional_action": 2,
  1430. "end_parallel": 0,
  1431. "event_action": 0,
  1432. "get_data": 0,
  1433. "parallel_action": 0,
  1434. "put_data": 0,
  1435. "start_parallel": 0,
  1436. "system_action": 1,
  1437. "user_action": 4,
  1438. "wait_data": 0,
  1439. "ws_data": 0
  1440. },
  1441. "cron_actions": {},
  1442. "parallel_actions": {},
  1443. "states": {
  1444. "conditional_action_0": {
  1445. "attributes": {
  1446. "context": "on",
  1447. "dbl": "on",
  1448. "dynamic": "\"\"",
  1449. "else": "false",
  1450. "id": "conditional_action_0",
  1451. "label": "VERIFICA 1",
  1452. "linkable": "true",
  1453. "linked": "true",
  1454. "script": "{\"language\":\"python\",\"code\":\"\"}",
  1455. "style": "top: 364px; left: 633px;",
  1456. "taker": "\"\"",
  1457. "timing": "",
  1458. "type": "conditional_action",
  1459. "viewers": "\"\""
  1460. },
  1461. "connections": [
  1462. {
  1463. "label_text": "GIORNI > 5",
  1464. "parameters": {
  1465. "condition": {
  1466. "code": [
  1467. "document.numero_giorni_c30",
  1468. ">",
  1469. true,
  1470. "5"
  1471. ],
  1472. "language": "meta"
  1473. },
  1474. "description": "se i giorni sono pi\u00f9 di 5 serve l'autorizzazione del Dirigente",
  1475. "id": "condition_D04A0246-3415-49A7-8C17-0DE4977D0241",
  1476. "label": "GIORNI > 5"
  1477. },
  1478. "target": "user_action_2"
  1479. },
  1480. {
  1481. "label_text": "Else",
  1482. "parameters": {
  1483. "condition": "else"
  1484. },
  1485. "target": "end"
  1486. }
  1487. ],
  1488. "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>"
  1489. },
  1490. "conditional_action_1": {
  1491. "attributes": {
  1492. "context": "on",
  1493. "dbl": "on",
  1494. "dynamic": "\"\"",
  1495. "else": "false",
  1496. "id": "conditional_action_1",
  1497. "label": "VERIFICA 2",
  1498. "linkable": "true",
  1499. "linked": "true",
  1500. "script": "{\"language\":\"python\",\"code\":\"\"}",
  1501. "style": "top: 213px; left: 856px;",
  1502. "taker": "\"\"",
  1503. "timing": "",
  1504. "type": "conditional_action",
  1505. "viewers": "\"\""
  1506. },
  1507. "connections": [
  1508. {
  1509. "label_text": "GIORNI > 10",
  1510. "parameters": {
  1511. "condition": {
  1512. "code": [
  1513. "document.numero_giorni_c30",
  1514. ">",
  1515. true,
  1516. "10"
  1517. ],
  1518. "language": "meta"
  1519. },
  1520. "description": "se i giorni sono pi\u00f9 di 10 serve l'approvazione del Direttore",
  1521. "id": "condition_140C9225-42C7-4784-AEDA-88B60EFA1FDA",
  1522. "label": "GIORNI > 10"
  1523. },
  1524. "target": "user_action_3"
  1525. },
  1526. {
  1527. "label_text": "Else",
  1528. "parameters": {
  1529. "condition": "else"
  1530. },
  1531. "target": "end"
  1532. }
  1533. ],
  1534. "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>"
  1535. },
  1536. "end": {
  1537. "attributes": {
  1538. "context": "on",
  1539. "dbl": "on",
  1540. "dynamic": "\"\"",
  1541. "else": "true",
  1542. "id": "end",
  1543. "label": "FINE",
  1544. "linkable": "true",
  1545. "linked": "false",
  1546. "script": "{\"language\":\"python\",\"code\":\"\"}",
  1547. "style": "top: 364px; left: 780px;",
  1548. "taker": "\"\"",
  1549. "timing": "",
  1550. "type": "end",
  1551. "viewers": "\"\""
  1552. },
  1553. "connections": [],
  1554. "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>"
  1555. },
  1556. "start": {
  1557. "attributes": {
  1558. "context": "on",
  1559. "dbl": "off",
  1560. "dynamic": "\"\"",
  1561. "else": "false",
  1562. "id": "start",
  1563. "label": "Start",
  1564. "linkable": "false",
  1565. "linked": "true",
  1566. "script": "\"\"",
  1567. "style": "top: 115px; left: 562px;",
  1568. "taker": "\"\"",
  1569. "timing": "\"\"",
  1570. "type": "start",
  1571. "viewers": "\"\""
  1572. },
  1573. "connections": [
  1574. {
  1575. "label_text": null,
  1576. "parameters": {
  1577. "condition": "standard"
  1578. },
  1579. "target": "user_action_0"
  1580. }
  1581. ],
  1582. "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>"
  1583. },
  1584. "user_action_0": {
  1585. "attributes": {
  1586. "context": "on",
  1587. "dbl": "off",
  1588. "dynamic": "\"\"",
  1589. "else": "false",
  1590. "id": "user_action_0",
  1591. "label": "ASSISTENTE",
  1592. "linkable": "false",
  1593. "linked": "true",
  1594. "script": "\"\"",
  1595. "style": "top: 314px; left: 503px;",
  1596. "taker": "{\"process-role-1416668526939\":{\"actions\":[],\"fields\":{\"c14\":\"modify\",\"c20\":\"modify\",\"c26\":\"modify\",\"c30\":\"modify\",\"c34\":\"modify\"}}}",
  1597. "timing": "",
  1598. "type": "user_action",
  1599. "viewers": "{}"
  1600. },
  1601. "connections": [
  1602. {
  1603. "label_text": null,
  1604. "parameters": {
  1605. "condition": "standard"
  1606. },
  1607. "target": "user_action_1"
  1608. }
  1609. ],
  1610. "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>"
  1611. },
  1612. "user_action_1": {
  1613. "attributes": {
  1614. "context": "on",
  1615. "dbl": "off",
  1616. "dynamic": "\"\"",
  1617. "else": "false",
  1618. "id": "user_action_1",
  1619. "label": "RESPONSABILE",
  1620. "linkable": "false",
  1621. "linked": "true",
  1622. "script": "\"\"",
  1623. "style": "top: 221.833px; left: 567.833px;",
  1624. "taker": "{\"process-role-1416668552731\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  1625. "timing": "",
  1626. "type": "user_action",
  1627. "viewers": "{}"
  1628. },
  1629. "connections": [
  1630. {
  1631. "label_text": null,
  1632. "parameters": {
  1633. "condition": "standard"
  1634. },
  1635. "target": "conditional_action_0"
  1636. }
  1637. ],
  1638. "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>"
  1639. },
  1640. "user_action_2": {
  1641. "attributes": {
  1642. "context": "on",
  1643. "dbl": "off",
  1644. "dynamic": "\"\"",
  1645. "else": "false",
  1646. "id": "user_action_2",
  1647. "label": "DIRIGENTE",
  1648. "linkable": "false",
  1649. "linked": "true",
  1650. "script": "\"\"",
  1651. "style": "top: 111px; left: 750px;",
  1652. "taker": "{\"process-role-1416668576073\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  1653. "timing": "",
  1654. "type": "user_action",
  1655. "viewers": "{}"
  1656. },
  1657. "connections": [
  1658. {
  1659. "label_text": null,
  1660. "parameters": {
  1661. "condition": "standard"
  1662. },
  1663. "target": "conditional_action_1"
  1664. }
  1665. ],
  1666. "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>"
  1667. },
  1668. "user_action_3": {
  1669. "attributes": {
  1670. "context": "on",
  1671. "dbl": "off",
  1672. "dynamic": "\"\"",
  1673. "else": "false",
  1674. "id": "user_action_3",
  1675. "label": "DIRETTORE",
  1676. "linkable": "false",
  1677. "linked": "true",
  1678. "script": "\"\"",
  1679. "style": "top: 364px; left: 945px;",
  1680. "taker": "{\"process-role-1416668596144\":{\"actions\":[],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  1681. "timing": "",
  1682. "type": "user_action",
  1683. "viewers": "{}"
  1684. },
  1685. "connections": [
  1686. {
  1687. "label_text": null,
  1688. "parameters": {
  1689. "condition": "standard"
  1690. },
  1691. "target": "end"
  1692. }
  1693. ],
  1694. "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>"
  1695. }
  1696. },
  1697. "sub_processes": {}
  1698. },
  1699. "id": "process-20141128170740-E5C6345B-001",
  1700. "info": {
  1701. "approved": {
  1702. "date": 1416838600663,
  1703. "id": "a"
  1704. },
  1705. "creation_date": 1416666590042,
  1706. "creator": "e",
  1707. "description": "Permette di inoltrare un modulo per la richiesta delle ferie.",
  1708. "model_id": "process-20141122152950-EE7BD617-000",
  1709. "name": "Richiesta Ferie",
  1710. "permissions": {
  1711. "field": [
  1712. "modify",
  1713. "approve",
  1714. "partial_reject"
  1715. ],
  1716. "process": [
  1717. "start",
  1718. "view_mine",
  1719. "drop_mine",
  1720. "view_all",
  1721. "drop_all"
  1722. ],
  1723. "state": [
  1724. "template",
  1725. "reject"
  1726. ]
  1727. },
  1728. "published": [
  1729. {
  1730. "date": 1416838468408,
  1731. "publisher": "e",
  1732. "url": "http://148.251.81.168:8200/"
  1733. }
  1734. ],
  1735. "roles": {
  1736. "process-role-1416668526939": {
  1737. "company_matching": [
  1738. "company-role-1416494315736"
  1739. ],
  1740. "id": "process-role-1416668526939",
  1741. "label": "ASSISTENTE",
  1742. "name": "ASSISTENTE",
  1743. "permissions": [
  1744. "start",
  1745. "view_mine",
  1746. "drop_mine"
  1747. ]
  1748. },
  1749. "process-role-1416668552731": {
  1750. "company_matching": [
  1751. "company-role-1416494335075"
  1752. ],
  1753. "id": "process-role-1416668552731",
  1754. "label": "RESPONSABILE",
  1755. "name": "RESPONSABILE",
  1756. "permissions": [
  1757. "view_all",
  1758. "drop_all"
  1759. ]
  1760. },
  1761. "process-role-1416668576073": {
  1762. "company_matching": [
  1763. "company-role-1416494361422"
  1764. ],
  1765. "id": "process-role-1416668576073",
  1766. "label": "DIRIGENTE",
  1767. "name": "DIRIGENTE",
  1768. "permissions": [
  1769. "view_all",
  1770. "drop_all"
  1771. ]
  1772. },
  1773. "process-role-1416668596144": {
  1774. "company_matching": [
  1775. "company-role-1416494394678"
  1776. ],
  1777. "id": "process-role-1416668596144",
  1778. "label": "DIRETTORE",
  1779. "name": "DIRETTORE",
  1780. "permissions": [
  1781. "view_all",
  1782. "drop_all"
  1783. ]
  1784. }
  1785. },
  1786. "sharing": [],
  1787. "version": {
  1788. "date": 1416772374935,
  1789. "note": "xd",
  1790. "number": 1
  1791. }
  1792. },
  1793. "instance": {
  1794. "active_states": {},
  1795. "end_date": "",
  1796. "end_time": 1417190971611,
  1797. "end_time2": "28/11/2014 17:09",
  1798. "log": [
  1799. {
  1800. "action": "process_run",
  1801. "document_changes": null,
  1802. "end_time": 1417190861383,
  1803. "end_time2": "28/11/2014 17:07",
  1804. "info": null,
  1805. "now": "20141128170741",
  1806. "result": {
  1807. "action": "process_started",
  1808. "document_changes": null,
  1809. "history": true,
  1810. "next": "user_action_0",
  1811. "process_id": "process-20141128170740-E5C6345B-001",
  1812. "reason": "process_started",
  1813. "response": "continue",
  1814. "result": null,
  1815. "state_id": "start"
  1816. },
  1817. "show": false,
  1818. "start_time": 1417190861383,
  1819. "start_time2": "28/11/2014 17:07",
  1820. "state_id": "start",
  1821. "user_data": {
  1822. "id": "user-20141119171222-A1B69501",
  1823. "info": {
  1824. "email": "giusti@gmail.com",
  1825. "links": {},
  1826. "name": "Carla Giusti",
  1827. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1828. "phone": "556816517516",
  1829. "roles": [
  1830. "company-role-1416494315736"
  1831. ],
  1832. "status": "enabled",
  1833. "username": "assistente"
  1834. },
  1835. "object": "user",
  1836. "type": "company"
  1837. }
  1838. },
  1839. {
  1840. "action": "process_run",
  1841. "document_changes": null,
  1842. "end_time": 1417190861385,
  1843. "end_time2": "28/11/2014 17:07",
  1844. "info": null,
  1845. "now": "20141128170741",
  1846. "result": {
  1847. "action": "auto_taken_active_state",
  1848. "document_changes": null,
  1849. "history": false,
  1850. "next": null,
  1851. "process_id": "process-20141128170740-E5C6345B-001",
  1852. "reason": "form",
  1853. "response": "form",
  1854. "result": null,
  1855. "state_id": "user_action_0"
  1856. },
  1857. "show": false,
  1858. "start_time": 1417190861384,
  1859. "start_time2": "28/11/2014 17:07",
  1860. "state_id": "user_action_0",
  1861. "user_data": {
  1862. "id": "user-20141119171222-A1B69501",
  1863. "info": {
  1864. "email": "giusti@gmail.com",
  1865. "links": {},
  1866. "name": "Carla Giusti",
  1867. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1868. "phone": "556816517516",
  1869. "roles": [
  1870. "company-role-1416494315736"
  1871. ],
  1872. "status": "enabled",
  1873. "username": "assistente"
  1874. },
  1875. "object": "user",
  1876. "type": "company"
  1877. }
  1878. },
  1879. {
  1880. "action": "process_submit",
  1881. "document_changes": null,
  1882. "end_time": 1417190872630,
  1883. "end_time2": "28/11/2014 17:07",
  1884. "info": "confirm",
  1885. "now": "20141128170752",
  1886. "result": {
  1887. "action": "process_confirmed",
  1888. "document_changes": [
  1889. {
  1890. "action": "modify",
  1891. "field_id": "c34",
  1892. "field_type": "area_testo",
  1893. "new_comment": null,
  1894. "new_refused": "",
  1895. "new_value": "",
  1896. "old_comment": "",
  1897. "old_refused": "",
  1898. "old_value": ""
  1899. },
  1900. {
  1901. "action": "modify",
  1902. "field_id": "c20",
  1903. "field_type": "testo",
  1904. "new_comment": null,
  1905. "new_refused": "",
  1906. "new_value": "bv",
  1907. "old_comment": "",
  1908. "old_refused": "",
  1909. "old_value": ""
  1910. },
  1911. {
  1912. "action": "modify",
  1913. "field_id": "c26",
  1914. "field_type": "testo",
  1915. "new_comment": null,
  1916. "new_refused": "",
  1917. "new_value": "bv",
  1918. "old_comment": "",
  1919. "old_refused": "",
  1920. "old_value": ""
  1921. },
  1922. {
  1923. "action": "modify",
  1924. "field_id": "c30",
  1925. "field_type": "numero",
  1926. "new_comment": null,
  1927. "new_refused": "",
  1928. "new_value": "4",
  1929. "old_comment": "",
  1930. "old_refused": "",
  1931. "old_value": ""
  1932. },
  1933. {
  1934. "action": "modify",
  1935. "field_id": "c14",
  1936. "field_type": "testo",
  1937. "new_comment": null,
  1938. "new_refused": "",
  1939. "new_value": "b",
  1940. "old_comment": "",
  1941. "old_refused": "",
  1942. "old_value": ""
  1943. }
  1944. ],
  1945. "history": true,
  1946. "next": "user_action_1",
  1947. "process_id": "process-20141128170740-E5C6345B-001",
  1948. "reason": null,
  1949. "response": "continue",
  1950. "result": null,
  1951. "state_id": "user_action_0"
  1952. },
  1953. "show": true,
  1954. "start_time": 1417190872629,
  1955. "start_time2": "28/11/2014 17:07",
  1956. "state_id": "user_action_0",
  1957. "user_data": {
  1958. "id": "user-20141119171222-A1B69501",
  1959. "info": {
  1960. "email": "giusti@gmail.com",
  1961. "links": {},
  1962. "name": "Carla Giusti",
  1963. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  1964. "phone": "556816517516",
  1965. "roles": [
  1966. "company-role-1416494315736"
  1967. ],
  1968. "status": "enabled",
  1969. "username": "assistente"
  1970. },
  1971. "object": "user",
  1972. "type": "company"
  1973. }
  1974. },
  1975. {
  1976. "action": "process_run",
  1977. "document_changes": null,
  1978. "end_time": 1417190872634,
  1979. "end_time2": "28/11/2014 17:07",
  1980. "info": null,
  1981. "now": "20141128170752",
  1982. "result": {
  1983. "action": "cannot_take",
  1984. "document_changes": null,
  1985. "history": false,
  1986. "next": null,
  1987. "process_id": "process-20141128170740-E5C6345B-001",
  1988. "reason": "cannot_take",
  1989. "response": "stopped",
  1990. "result": null,
  1991. "state_id": "user_action_1"
  1992. },
  1993. "show": false,
  1994. "start_time": 1417190872634,
  1995. "start_time2": "28/11/2014 17:07",
  1996. "state_id": "user_action_1",
  1997. "user_data": {
  1998. "id": "user-20141119171222-A1B69501",
  1999. "info": {
  2000. "email": "giusti@gmail.com",
  2001. "links": {},
  2002. "name": "Carla Giusti",
  2003. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2004. "phone": "556816517516",
  2005. "roles": [
  2006. "company-role-1416494315736"
  2007. ],
  2008. "status": "enabled",
  2009. "username": "assistente"
  2010. },
  2011. "object": "user",
  2012. "type": "company"
  2013. }
  2014. },
  2015. {
  2016. "action": "process_take_active_state",
  2017. "document_changes": null,
  2018. "end_time": 1417190967679,
  2019. "end_time2": "28/11/2014 17:09",
  2020. "info": null,
  2021. "now": "20141128170927",
  2022. "result": {
  2023. "action": "taken_active_state",
  2024. "document_changes": null,
  2025. "history": true,
  2026. "next": null,
  2027. "process_id": "process-20141128170740-E5C6345B-001",
  2028. "reason": null,
  2029. "response": "taken_active_state",
  2030. "result": null,
  2031. "state_id": "user_action_1"
  2032. },
  2033. "show": true,
  2034. "start_time": 1417190967679,
  2035. "start_time2": "28/11/2014 17:09",
  2036. "state_id": "user_action_1",
  2037. "user_data": {
  2038. "id": "user-20141119171311-783C4C74",
  2039. "info": {
  2040. "email": "sabrina.rossi@gmail.com",
  2041. "links": {},
  2042. "name": "Sabrina Rossi",
  2043. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2044. "phone": "8576487648158",
  2045. "roles": [
  2046. "company-role-1416494335075"
  2047. ],
  2048. "status": "enabled",
  2049. "username": "responsabile"
  2050. },
  2051. "object": "user",
  2052. "type": "company"
  2053. }
  2054. },
  2055. {
  2056. "action": "process_run",
  2057. "document_changes": null,
  2058. "end_time": 1417190967819,
  2059. "end_time2": "28/11/2014 17:09",
  2060. "info": null,
  2061. "now": "20141128170927",
  2062. "result": {
  2063. "action": "auto_taken_active_state",
  2064. "document_changes": null,
  2065. "history": false,
  2066. "next": null,
  2067. "process_id": "process-20141128170740-E5C6345B-001",
  2068. "reason": "form",
  2069. "response": "form",
  2070. "result": null,
  2071. "state_id": "user_action_1"
  2072. },
  2073. "show": false,
  2074. "start_time": 1417190967818,
  2075. "start_time2": "28/11/2014 17:09",
  2076. "state_id": "user_action_1",
  2077. "user_data": {
  2078. "id": "user-20141119171311-783C4C74",
  2079. "info": {
  2080. "email": "sabrina.rossi@gmail.com",
  2081. "links": {},
  2082. "name": "Sabrina Rossi",
  2083. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2084. "phone": "8576487648158",
  2085. "roles": [
  2086. "company-role-1416494335075"
  2087. ],
  2088. "status": "enabled",
  2089. "username": "responsabile"
  2090. },
  2091. "object": "user",
  2092. "type": "company"
  2093. }
  2094. },
  2095. {
  2096. "action": "process_submit",
  2097. "document_changes": null,
  2098. "end_time": 1417190971577,
  2099. "end_time2": "28/11/2014 17:09",
  2100. "info": "confirm",
  2101. "now": "20141128170931",
  2102. "result": {
  2103. "action": "process_confirmed",
  2104. "document_changes": [
  2105. {
  2106. "action": "partial_reject",
  2107. "field_id": "c26",
  2108. "field_type": "testo",
  2109. "new_comment": null,
  2110. "new_refused": false,
  2111. "new_value": "bv",
  2112. "old_comment": null,
  2113. "old_refused": "",
  2114. "old_value": "bv"
  2115. },
  2116. {
  2117. "action": "partial_reject",
  2118. "field_id": "c30",
  2119. "field_type": "numero",
  2120. "new_comment": null,
  2121. "new_refused": false,
  2122. "new_value": "4",
  2123. "old_comment": null,
  2124. "old_refused": "",
  2125. "old_value": "4"
  2126. }
  2127. ],
  2128. "history": true,
  2129. "next": "conditional_action_0",
  2130. "process_id": "process-20141128170740-E5C6345B-001",
  2131. "reason": null,
  2132. "response": "continue",
  2133. "result": null,
  2134. "state_id": "user_action_1"
  2135. },
  2136. "show": true,
  2137. "start_time": 1417190971577,
  2138. "start_time2": "28/11/2014 17:09",
  2139. "state_id": "user_action_1",
  2140. "user_data": {
  2141. "id": "user-20141119171311-783C4C74",
  2142. "info": {
  2143. "email": "sabrina.rossi@gmail.com",
  2144. "links": {},
  2145. "name": "Sabrina Rossi",
  2146. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2147. "phone": "8576487648158",
  2148. "roles": [
  2149. "company-role-1416494335075"
  2150. ],
  2151. "status": "enabled",
  2152. "username": "responsabile"
  2153. },
  2154. "object": "user",
  2155. "type": "company"
  2156. }
  2157. },
  2158. {
  2159. "action": "process_run",
  2160. "document_changes": null,
  2161. "end_time": 1417190971605,
  2162. "end_time2": "28/11/2014 17:09",
  2163. "info": null,
  2164. "now": "20141128170931",
  2165. "result": {
  2166. "action": "conditional_action",
  2167. "document_changes": null,
  2168. "history": false,
  2169. "next": "end",
  2170. "process_id": "process-20141128170740-E5C6345B-001",
  2171. "reason": null,
  2172. "response": "continue",
  2173. "result": null,
  2174. "state_id": "conditional_action_0"
  2175. },
  2176. "show": false,
  2177. "start_time": 1417190971582,
  2178. "start_time2": "28/11/2014 17:09",
  2179. "state_id": "conditional_action_0",
  2180. "user_data": {
  2181. "id": "user-20141119171311-783C4C74",
  2182. "info": {
  2183. "email": "sabrina.rossi@gmail.com",
  2184. "links": {},
  2185. "name": "Sabrina Rossi",
  2186. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2187. "phone": "8576487648158",
  2188. "roles": [
  2189. "company-role-1416494335075"
  2190. ],
  2191. "status": "enabled",
  2192. "username": "responsabile"
  2193. },
  2194. "object": "user",
  2195. "type": "company"
  2196. }
  2197. },
  2198. {
  2199. "action": "process_run",
  2200. "document_changes": null,
  2201. "end_time": 1417190971611,
  2202. "end_time2": "28/11/2014 17:09",
  2203. "info": null,
  2204. "now": "20141128170931",
  2205. "result": {
  2206. "action": "process_ended",
  2207. "document_changes": null,
  2208. "history": true,
  2209. "next": null,
  2210. "process_id": "process-20141128170740-E5C6345B-001",
  2211. "reason": "process_ended",
  2212. "response": "stopped",
  2213. "result": "approved",
  2214. "state_id": "end"
  2215. },
  2216. "show": false,
  2217. "start_time": 1417190971610,
  2218. "start_time2": "28/11/2014 17:09",
  2219. "state_id": "end",
  2220. "user_data": {
  2221. "id": "user-20141119171311-783C4C74",
  2222. "info": {
  2223. "email": "sabrina.rossi@gmail.com",
  2224. "links": {},
  2225. "name": "Sabrina Rossi",
  2226. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2227. "phone": "8576487648158",
  2228. "roles": [
  2229. "company-role-1416494335075"
  2230. ],
  2231. "status": "enabled",
  2232. "username": "responsabile"
  2233. },
  2234. "object": "user",
  2235. "type": "company"
  2236. }
  2237. }
  2238. ],
  2239. "owner": "user-20141119171222-A1B69501",
  2240. "owner_name": "Carla Giusti",
  2241. "start_date": "",
  2242. "start_time": 1417190861383,
  2243. "start_time2": "28/11/2014 17:07",
  2244. "status": {}
  2245. },
  2246. "object": "process",
  2247. "result": "approved",
  2248. "type": "closed"
  2249. },
  2250. {
  2251. "flow": {
  2252. "counter": {
  2253. "conditional_action": 2,
  2254. "end_parallel": 0,
  2255. "event_action": 0,
  2256. "get_data": 0,
  2257. "parallel_action": 0,
  2258. "put_data": 0,
  2259. "start_parallel": 0,
  2260. "system_action": 1,
  2261. "user_action": 4,
  2262. "wait_data": 0,
  2263. "ws_data": 0
  2264. },
  2265. "cron_actions": {},
  2266. "parallel_actions": {},
  2267. "states": {
  2268. "conditional_action_0": {
  2269. "attributes": {
  2270. "context": "on",
  2271. "dbl": "on",
  2272. "dynamic": "\"\"",
  2273. "else": "false",
  2274. "id": "conditional_action_0",
  2275. "label": "VERIFICA 1",
  2276. "linkable": "true",
  2277. "linked": "true",
  2278. "script": "{\"language\":\"python\",\"code\":\"\"}",
  2279. "style": "top: 364px; left: 633px;",
  2280. "taker": "\"\"",
  2281. "timing": "",
  2282. "type": "conditional_action",
  2283. "viewers": "\"\""
  2284. },
  2285. "connections": [
  2286. {
  2287. "label_text": "GIORNI > 5",
  2288. "parameters": {
  2289. "condition": {
  2290. "code": [
  2291. "document.numero_giorni_c30",
  2292. ">",
  2293. true,
  2294. "5"
  2295. ],
  2296. "language": "meta"
  2297. },
  2298. "description": "se i giorni sono pi\u00f9 di 5 serve l'autorizzazione del Dirigente",
  2299. "id": "condition_D04A0246-3415-49A7-8C17-0DE4977D0241",
  2300. "label": "GIORNI > 5"
  2301. },
  2302. "target": "user_action_2"
  2303. },
  2304. {
  2305. "label_text": "Else",
  2306. "parameters": {
  2307. "condition": "else"
  2308. },
  2309. "target": "end"
  2310. }
  2311. ],
  2312. "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>"
  2313. },
  2314. "conditional_action_1": {
  2315. "attributes": {
  2316. "context": "on",
  2317. "dbl": "on",
  2318. "dynamic": "\"\"",
  2319. "else": "false",
  2320. "id": "conditional_action_1",
  2321. "label": "VERIFICA 2",
  2322. "linkable": "true",
  2323. "linked": "true",
  2324. "script": "{\"language\":\"python\",\"code\":\"\"}",
  2325. "style": "top: 213px; left: 856px;",
  2326. "taker": "\"\"",
  2327. "timing": "",
  2328. "type": "conditional_action",
  2329. "viewers": "\"\""
  2330. },
  2331. "connections": [
  2332. {
  2333. "label_text": "GIORNI > 10",
  2334. "parameters": {
  2335. "condition": {
  2336. "code": [
  2337. "document.numero_giorni_c30",
  2338. ">",
  2339. true,
  2340. "10"
  2341. ],
  2342. "language": "meta"
  2343. },
  2344. "description": "se i giorni sono pi\u00f9 di 10 serve l'approvazione del Direttore",
  2345. "id": "condition_140C9225-42C7-4784-AEDA-88B60EFA1FDA",
  2346. "label": "GIORNI > 10"
  2347. },
  2348. "target": "user_action_3"
  2349. },
  2350. {
  2351. "label_text": "Else",
  2352. "parameters": {
  2353. "condition": "else"
  2354. },
  2355. "target": "end"
  2356. }
  2357. ],
  2358. "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>"
  2359. },
  2360. "end": {
  2361. "attributes": {
  2362. "context": "on",
  2363. "dbl": "on",
  2364. "dynamic": "\"\"",
  2365. "else": "true",
  2366. "id": "end",
  2367. "label": "FINE",
  2368. "linkable": "true",
  2369. "linked": "false",
  2370. "script": "{\"language\":\"python\",\"code\":\"\"}",
  2371. "style": "top: 364px; left: 780px;",
  2372. "taker": "\"\"",
  2373. "timing": "",
  2374. "type": "end",
  2375. "viewers": "\"\""
  2376. },
  2377. "connections": [],
  2378. "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>"
  2379. },
  2380. "start": {
  2381. "attributes": {
  2382. "context": "on",
  2383. "dbl": "off",
  2384. "dynamic": "\"\"",
  2385. "else": "false",
  2386. "id": "start",
  2387. "label": "Start",
  2388. "linkable": "false",
  2389. "linked": "true",
  2390. "script": "\"\"",
  2391. "style": "top: 115px; left: 562px;",
  2392. "taker": "\"\"",
  2393. "timing": "\"\"",
  2394. "type": "start",
  2395. "viewers": "\"\""
  2396. },
  2397. "connections": [
  2398. {
  2399. "label_text": null,
  2400. "parameters": {
  2401. "condition": "standard"
  2402. },
  2403. "target": "user_action_0"
  2404. }
  2405. ],
  2406. "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>"
  2407. },
  2408. "user_action_0": {
  2409. "attributes": {
  2410. "context": "on",
  2411. "dbl": "off",
  2412. "dynamic": "\"\"",
  2413. "else": "false",
  2414. "id": "user_action_0",
  2415. "label": "ASSISTENTE",
  2416. "linkable": "false",
  2417. "linked": "true",
  2418. "script": "\"\"",
  2419. "style": "top: 314px; left: 503px;",
  2420. "taker": "{\"process-role-1416668526939\":{\"actions\":[],\"fields\":{\"c14\":\"modify\",\"c20\":\"modify\",\"c26\":\"modify\",\"c30\":\"modify\",\"c34\":\"modify\"}}}",
  2421. "timing": "",
  2422. "type": "user_action",
  2423. "viewers": "{}"
  2424. },
  2425. "connections": [
  2426. {
  2427. "label_text": null,
  2428. "parameters": {
  2429. "condition": "standard"
  2430. },
  2431. "target": "user_action_1"
  2432. }
  2433. ],
  2434. "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>"
  2435. },
  2436. "user_action_1": {
  2437. "attributes": {
  2438. "context": "on",
  2439. "dbl": "off",
  2440. "dynamic": "\"\"",
  2441. "else": "false",
  2442. "id": "user_action_1",
  2443. "label": "RESPONSABILE",
  2444. "linkable": "false",
  2445. "linked": "true",
  2446. "script": "\"\"",
  2447. "style": "top: 221.833px; left: 567.833px;",
  2448. "taker": "{\"process-role-1416668552731\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  2449. "timing": "",
  2450. "type": "user_action",
  2451. "viewers": "{}"
  2452. },
  2453. "connections": [
  2454. {
  2455. "label_text": null,
  2456. "parameters": {
  2457. "condition": "standard"
  2458. },
  2459. "target": "conditional_action_0"
  2460. }
  2461. ],
  2462. "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>"
  2463. },
  2464. "user_action_2": {
  2465. "attributes": {
  2466. "context": "on",
  2467. "dbl": "off",
  2468. "dynamic": "\"\"",
  2469. "else": "false",
  2470. "id": "user_action_2",
  2471. "label": "DIRIGENTE",
  2472. "linkable": "false",
  2473. "linked": "true",
  2474. "script": "\"\"",
  2475. "style": "top: 111px; left: 750px;",
  2476. "taker": "{\"process-role-1416668576073\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  2477. "timing": "",
  2478. "type": "user_action",
  2479. "viewers": "{}"
  2480. },
  2481. "connections": [
  2482. {
  2483. "label_text": null,
  2484. "parameters": {
  2485. "condition": "standard"
  2486. },
  2487. "target": "conditional_action_1"
  2488. }
  2489. ],
  2490. "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>"
  2491. },
  2492. "user_action_3": {
  2493. "attributes": {
  2494. "context": "on",
  2495. "dbl": "off",
  2496. "dynamic": "\"\"",
  2497. "else": "false",
  2498. "id": "user_action_3",
  2499. "label": "DIRETTORE",
  2500. "linkable": "false",
  2501. "linked": "true",
  2502. "script": "\"\"",
  2503. "style": "top: 364px; left: 945px;",
  2504. "taker": "{\"process-role-1416668596144\":{\"actions\":[],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  2505. "timing": "",
  2506. "type": "user_action",
  2507. "viewers": "{}"
  2508. },
  2509. "connections": [
  2510. {
  2511. "label_text": null,
  2512. "parameters": {
  2513. "condition": "standard"
  2514. },
  2515. "target": "end"
  2516. }
  2517. ],
  2518. "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>"
  2519. }
  2520. },
  2521. "sub_processes": {}
  2522. },
  2523. "id": "process-20141128170722-7728BAAB-001",
  2524. "info": {
  2525. "approved": {
  2526. "date": 1416838600663,
  2527. "id": "a"
  2528. },
  2529. "creation_date": 1416666590042,
  2530. "creator": "e",
  2531. "description": "Permette di inoltrare un modulo per la richiesta delle ferie.",
  2532. "model_id": "process-20141122152950-EE7BD617-000",
  2533. "name": "Richiesta Ferie",
  2534. "permissions": {
  2535. "field": [
  2536. "modify",
  2537. "approve",
  2538. "partial_reject"
  2539. ],
  2540. "process": [
  2541. "start",
  2542. "view_mine",
  2543. "drop_mine",
  2544. "view_all",
  2545. "drop_all"
  2546. ],
  2547. "state": [
  2548. "template",
  2549. "reject"
  2550. ]
  2551. },
  2552. "published": [
  2553. {
  2554. "date": 1416838468408,
  2555. "publisher": "e",
  2556. "url": "http://148.251.81.168:8200/"
  2557. }
  2558. ],
  2559. "roles": {
  2560. "process-role-1416668526939": {
  2561. "company_matching": [
  2562. "company-role-1416494315736"
  2563. ],
  2564. "id": "process-role-1416668526939",
  2565. "label": "ASSISTENTE",
  2566. "name": "ASSISTENTE",
  2567. "permissions": [
  2568. "start",
  2569. "view_mine",
  2570. "drop_mine"
  2571. ]
  2572. },
  2573. "process-role-1416668552731": {
  2574. "company_matching": [
  2575. "company-role-1416494335075"
  2576. ],
  2577. "id": "process-role-1416668552731",
  2578. "label": "RESPONSABILE",
  2579. "name": "RESPONSABILE",
  2580. "permissions": [
  2581. "view_all",
  2582. "drop_all"
  2583. ]
  2584. },
  2585. "process-role-1416668576073": {
  2586. "company_matching": [
  2587. "company-role-1416494361422"
  2588. ],
  2589. "id": "process-role-1416668576073",
  2590. "label": "DIRIGENTE",
  2591. "name": "DIRIGENTE",
  2592. "permissions": [
  2593. "view_all",
  2594. "drop_all"
  2595. ]
  2596. },
  2597. "process-role-1416668596144": {
  2598. "company_matching": [
  2599. "company-role-1416494394678"
  2600. ],
  2601. "id": "process-role-1416668596144",
  2602. "label": "DIRETTORE",
  2603. "name": "DIRETTORE",
  2604. "permissions": [
  2605. "view_all",
  2606. "drop_all"
  2607. ]
  2608. }
  2609. },
  2610. "sharing": [],
  2611. "version": {
  2612. "date": 1416772374935,
  2613. "note": "xd",
  2614. "number": 1
  2615. }
  2616. },
  2617. "instance": {
  2618. "active_states": {},
  2619. "end_date": "",
  2620. "end_time": 1417191080254,
  2621. "end_time2": "28/11/2014 17:11",
  2622. "log": [
  2623. {
  2624. "action": "process_run",
  2625. "document_changes": null,
  2626. "end_time": 1417190842563,
  2627. "end_time2": "28/11/2014 17:07",
  2628. "info": null,
  2629. "now": "20141128170722",
  2630. "result": {
  2631. "action": "process_started",
  2632. "document_changes": null,
  2633. "history": true,
  2634. "next": "user_action_0",
  2635. "process_id": "process-20141128170722-7728BAAB-001",
  2636. "reason": "process_started",
  2637. "response": "continue",
  2638. "result": null,
  2639. "state_id": "start"
  2640. },
  2641. "show": false,
  2642. "start_time": 1417190842563,
  2643. "start_time2": "28/11/2014 17:07",
  2644. "state_id": "start",
  2645. "user_data": {
  2646. "id": "user-20141119171222-A1B69501",
  2647. "info": {
  2648. "email": "giusti@gmail.com",
  2649. "links": {},
  2650. "name": "Carla Giusti",
  2651. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2652. "phone": "556816517516",
  2653. "roles": [
  2654. "company-role-1416494315736"
  2655. ],
  2656. "status": "enabled",
  2657. "username": "assistente"
  2658. },
  2659. "object": "user",
  2660. "type": "company"
  2661. }
  2662. },
  2663. {
  2664. "action": "process_run",
  2665. "document_changes": null,
  2666. "end_time": 1417190842566,
  2667. "end_time2": "28/11/2014 17:07",
  2668. "info": null,
  2669. "now": "20141128170722",
  2670. "result": {
  2671. "action": "auto_taken_active_state",
  2672. "document_changes": null,
  2673. "history": false,
  2674. "next": null,
  2675. "process_id": "process-20141128170722-7728BAAB-001",
  2676. "reason": "form",
  2677. "response": "form",
  2678. "result": null,
  2679. "state_id": "user_action_0"
  2680. },
  2681. "show": false,
  2682. "start_time": 1417190842566,
  2683. "start_time2": "28/11/2014 17:07",
  2684. "state_id": "user_action_0",
  2685. "user_data": {
  2686. "id": "user-20141119171222-A1B69501",
  2687. "info": {
  2688. "email": "giusti@gmail.com",
  2689. "links": {},
  2690. "name": "Carla Giusti",
  2691. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2692. "phone": "556816517516",
  2693. "roles": [
  2694. "company-role-1416494315736"
  2695. ],
  2696. "status": "enabled",
  2697. "username": "assistente"
  2698. },
  2699. "object": "user",
  2700. "type": "company"
  2701. }
  2702. },
  2703. {
  2704. "action": "process_submit",
  2705. "document_changes": null,
  2706. "end_time": 1417190856847,
  2707. "end_time2": "28/11/2014 17:07",
  2708. "info": "confirm",
  2709. "now": "20141128170736",
  2710. "result": {
  2711. "action": "process_confirmed",
  2712. "document_changes": [
  2713. {
  2714. "action": "modify",
  2715. "field_id": "c34",
  2716. "field_type": "area_testo",
  2717. "new_comment": null,
  2718. "new_refused": "",
  2719. "new_value": "",
  2720. "old_comment": "",
  2721. "old_refused": "",
  2722. "old_value": ""
  2723. },
  2724. {
  2725. "action": "modify",
  2726. "field_id": "c20",
  2727. "field_type": "testo",
  2728. "new_comment": null,
  2729. "new_refused": "",
  2730. "new_value": "SFGDFSD",
  2731. "old_comment": "",
  2732. "old_refused": "",
  2733. "old_value": ""
  2734. },
  2735. {
  2736. "action": "modify",
  2737. "field_id": "c26",
  2738. "field_type": "testo",
  2739. "new_comment": null,
  2740. "new_refused": "",
  2741. "new_value": "sdfgdsfgsdf",
  2742. "old_comment": "",
  2743. "old_refused": "",
  2744. "old_value": ""
  2745. },
  2746. {
  2747. "action": "modify",
  2748. "field_id": "c30",
  2749. "field_type": "numero",
  2750. "new_comment": null,
  2751. "new_refused": "",
  2752. "new_value": "42",
  2753. "old_comment": "",
  2754. "old_refused": "",
  2755. "old_value": ""
  2756. },
  2757. {
  2758. "action": "modify",
  2759. "field_id": "c14",
  2760. "field_type": "testo",
  2761. "new_comment": null,
  2762. "new_refused": "",
  2763. "new_value": "XCZXVX",
  2764. "old_comment": "",
  2765. "old_refused": "",
  2766. "old_value": ""
  2767. }
  2768. ],
  2769. "history": true,
  2770. "next": "user_action_1",
  2771. "process_id": "process-20141128170722-7728BAAB-001",
  2772. "reason": null,
  2773. "response": "continue",
  2774. "result": null,
  2775. "state_id": "user_action_0"
  2776. },
  2777. "show": true,
  2778. "start_time": 1417190856847,
  2779. "start_time2": "28/11/2014 17:07",
  2780. "state_id": "user_action_0",
  2781. "user_data": {
  2782. "id": "user-20141119171222-A1B69501",
  2783. "info": {
  2784. "email": "giusti@gmail.com",
  2785. "links": {},
  2786. "name": "Carla Giusti",
  2787. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2788. "phone": "556816517516",
  2789. "roles": [
  2790. "company-role-1416494315736"
  2791. ],
  2792. "status": "enabled",
  2793. "username": "assistente"
  2794. },
  2795. "object": "user",
  2796. "type": "company"
  2797. }
  2798. },
  2799. {
  2800. "action": "process_run",
  2801. "document_changes": null,
  2802. "end_time": 1417190856852,
  2803. "end_time2": "28/11/2014 17:07",
  2804. "info": null,
  2805. "now": "20141128170736",
  2806. "result": {
  2807. "action": "cannot_take",
  2808. "document_changes": null,
  2809. "history": false,
  2810. "next": null,
  2811. "process_id": "process-20141128170722-7728BAAB-001",
  2812. "reason": "cannot_take",
  2813. "response": "stopped",
  2814. "result": null,
  2815. "state_id": "user_action_1"
  2816. },
  2817. "show": false,
  2818. "start_time": 1417190856851,
  2819. "start_time2": "28/11/2014 17:07",
  2820. "state_id": "user_action_1",
  2821. "user_data": {
  2822. "id": "user-20141119171222-A1B69501",
  2823. "info": {
  2824. "email": "giusti@gmail.com",
  2825. "links": {},
  2826. "name": "Carla Giusti",
  2827. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2828. "phone": "556816517516",
  2829. "roles": [
  2830. "company-role-1416494315736"
  2831. ],
  2832. "status": "enabled",
  2833. "username": "assistente"
  2834. },
  2835. "object": "user",
  2836. "type": "company"
  2837. }
  2838. },
  2839. {
  2840. "action": "process_take_active_state",
  2841. "document_changes": null,
  2842. "end_time": 1417190975132,
  2843. "end_time2": "28/11/2014 17:09",
  2844. "info": null,
  2845. "now": "20141128170935",
  2846. "result": {
  2847. "action": "taken_active_state",
  2848. "document_changes": null,
  2849. "history": true,
  2850. "next": null,
  2851. "process_id": "process-20141128170722-7728BAAB-001",
  2852. "reason": null,
  2853. "response": "taken_active_state",
  2854. "result": null,
  2855. "state_id": "user_action_1"
  2856. },
  2857. "show": true,
  2858. "start_time": 1417190975132,
  2859. "start_time2": "28/11/2014 17:09",
  2860. "state_id": "user_action_1",
  2861. "user_data": {
  2862. "id": "user-20141119171311-783C4C74",
  2863. "info": {
  2864. "email": "sabrina.rossi@gmail.com",
  2865. "links": {},
  2866. "name": "Sabrina Rossi",
  2867. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2868. "phone": "8576487648158",
  2869. "roles": [
  2870. "company-role-1416494335075"
  2871. ],
  2872. "status": "enabled",
  2873. "username": "responsabile"
  2874. },
  2875. "object": "user",
  2876. "type": "company"
  2877. }
  2878. },
  2879. {
  2880. "action": "process_run",
  2881. "document_changes": null,
  2882. "end_time": 1417190975349,
  2883. "end_time2": "28/11/2014 17:09",
  2884. "info": null,
  2885. "now": "20141128170935",
  2886. "result": {
  2887. "action": "auto_taken_active_state",
  2888. "document_changes": null,
  2889. "history": false,
  2890. "next": null,
  2891. "process_id": "process-20141128170722-7728BAAB-001",
  2892. "reason": "form",
  2893. "response": "form",
  2894. "result": null,
  2895. "state_id": "user_action_1"
  2896. },
  2897. "show": false,
  2898. "start_time": 1417190975348,
  2899. "start_time2": "28/11/2014 17:09",
  2900. "state_id": "user_action_1",
  2901. "user_data": {
  2902. "id": "user-20141119171311-783C4C74",
  2903. "info": {
  2904. "email": "sabrina.rossi@gmail.com",
  2905. "links": {},
  2906. "name": "Sabrina Rossi",
  2907. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2908. "phone": "8576487648158",
  2909. "roles": [
  2910. "company-role-1416494335075"
  2911. ],
  2912. "status": "enabled",
  2913. "username": "responsabile"
  2914. },
  2915. "object": "user",
  2916. "type": "company"
  2917. }
  2918. },
  2919. {
  2920. "action": "process_submit",
  2921. "document_changes": null,
  2922. "end_time": 1417190981570,
  2923. "end_time2": "28/11/2014 17:09",
  2924. "info": "confirm",
  2925. "now": "20141128170941",
  2926. "result": {
  2927. "action": "process_confirmed",
  2928. "document_changes": [
  2929. {
  2930. "action": "partial_reject",
  2931. "field_id": "c26",
  2932. "field_type": "testo",
  2933. "new_comment": null,
  2934. "new_refused": false,
  2935. "new_value": "sdfgdsfgsdf",
  2936. "old_comment": null,
  2937. "old_refused": "",
  2938. "old_value": "sdfgdsfgsdf"
  2939. },
  2940. {
  2941. "action": "partial_reject",
  2942. "field_id": "c30",
  2943. "field_type": "numero",
  2944. "new_comment": null,
  2945. "new_refused": false,
  2946. "new_value": "42",
  2947. "old_comment": null,
  2948. "old_refused": "",
  2949. "old_value": "42"
  2950. }
  2951. ],
  2952. "history": true,
  2953. "next": "conditional_action_0",
  2954. "process_id": "process-20141128170722-7728BAAB-001",
  2955. "reason": null,
  2956. "response": "continue",
  2957. "result": null,
  2958. "state_id": "user_action_1"
  2959. },
  2960. "show": true,
  2961. "start_time": 1417190981570,
  2962. "start_time2": "28/11/2014 17:09",
  2963. "state_id": "user_action_1",
  2964. "user_data": {
  2965. "id": "user-20141119171311-783C4C74",
  2966. "info": {
  2967. "email": "sabrina.rossi@gmail.com",
  2968. "links": {},
  2969. "name": "Sabrina Rossi",
  2970. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  2971. "phone": "8576487648158",
  2972. "roles": [
  2973. "company-role-1416494335075"
  2974. ],
  2975. "status": "enabled",
  2976. "username": "responsabile"
  2977. },
  2978. "object": "user",
  2979. "type": "company"
  2980. }
  2981. },
  2982. {
  2983. "action": "process_run",
  2984. "document_changes": null,
  2985. "end_time": 1417190981600,
  2986. "end_time2": "28/11/2014 17:09",
  2987. "info": null,
  2988. "now": "20141128170941",
  2989. "result": {
  2990. "action": "conditional_action",
  2991. "document_changes": null,
  2992. "history": false,
  2993. "next": "user_action_2",
  2994. "process_id": "process-20141128170722-7728BAAB-001",
  2995. "reason": null,
  2996. "response": "continue",
  2997. "result": null,
  2998. "state_id": "conditional_action_0"
  2999. },
  3000. "show": false,
  3001. "start_time": 1417190981575,
  3002. "start_time2": "28/11/2014 17:09",
  3003. "state_id": "conditional_action_0",
  3004. "user_data": {
  3005. "id": "user-20141119171311-783C4C74",
  3006. "info": {
  3007. "email": "sabrina.rossi@gmail.com",
  3008. "links": {},
  3009. "name": "Sabrina Rossi",
  3010. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3011. "phone": "8576487648158",
  3012. "roles": [
  3013. "company-role-1416494335075"
  3014. ],
  3015. "status": "enabled",
  3016. "username": "responsabile"
  3017. },
  3018. "object": "user",
  3019. "type": "company"
  3020. }
  3021. },
  3022. {
  3023. "action": "process_run",
  3024. "document_changes": null,
  3025. "end_time": 1417190981606,
  3026. "end_time2": "28/11/2014 17:09",
  3027. "info": null,
  3028. "now": "20141128170941",
  3029. "result": {
  3030. "action": "cannot_take",
  3031. "document_changes": null,
  3032. "history": false,
  3033. "next": null,
  3034. "process_id": "process-20141128170722-7728BAAB-001",
  3035. "reason": "cannot_take",
  3036. "response": "stopped",
  3037. "result": null,
  3038. "state_id": "user_action_2"
  3039. },
  3040. "show": false,
  3041. "start_time": 1417190981605,
  3042. "start_time2": "28/11/2014 17:09",
  3043. "state_id": "user_action_2",
  3044. "user_data": {
  3045. "id": "user-20141119171311-783C4C74",
  3046. "info": {
  3047. "email": "sabrina.rossi@gmail.com",
  3048. "links": {},
  3049. "name": "Sabrina Rossi",
  3050. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3051. "phone": "8576487648158",
  3052. "roles": [
  3053. "company-role-1416494335075"
  3054. ],
  3055. "status": "enabled",
  3056. "username": "responsabile"
  3057. },
  3058. "object": "user",
  3059. "type": "company"
  3060. }
  3061. },
  3062. {
  3063. "action": "process_take_active_state",
  3064. "document_changes": null,
  3065. "end_time": 1417191041006,
  3066. "end_time2": "28/11/2014 17:10",
  3067. "info": null,
  3068. "now": "20141128171041",
  3069. "result": {
  3070. "action": "taken_active_state",
  3071. "document_changes": null,
  3072. "history": true,
  3073. "next": null,
  3074. "process_id": "process-20141128170722-7728BAAB-001",
  3075. "reason": null,
  3076. "response": "taken_active_state",
  3077. "result": null,
  3078. "state_id": "user_action_2"
  3079. },
  3080. "show": true,
  3081. "start_time": 1417191041006,
  3082. "start_time2": "28/11/2014 17:10",
  3083. "state_id": "user_action_2",
  3084. "user_data": {
  3085. "id": "user-20141119171352-F457AA43",
  3086. "info": {
  3087. "email": "carlo.serafini@gmail.com",
  3088. "links": {},
  3089. "name": "Carlo Serafini",
  3090. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3091. "phone": "517578.57813",
  3092. "roles": [
  3093. "company-role-1416494361422"
  3094. ],
  3095. "status": "enabled",
  3096. "username": "dirigente"
  3097. },
  3098. "object": "user",
  3099. "type": "company"
  3100. }
  3101. },
  3102. {
  3103. "action": "process_run",
  3104. "document_changes": null,
  3105. "end_time": 1417191041179,
  3106. "end_time2": "28/11/2014 17:10",
  3107. "info": null,
  3108. "now": "20141128171041",
  3109. "result": {
  3110. "action": "auto_taken_active_state",
  3111. "document_changes": null,
  3112. "history": false,
  3113. "next": null,
  3114. "process_id": "process-20141128170722-7728BAAB-001",
  3115. "reason": "form",
  3116. "response": "form",
  3117. "result": null,
  3118. "state_id": "user_action_2"
  3119. },
  3120. "show": false,
  3121. "start_time": 1417191041178,
  3122. "start_time2": "28/11/2014 17:10",
  3123. "state_id": "user_action_2",
  3124. "user_data": {
  3125. "id": "user-20141119171352-F457AA43",
  3126. "info": {
  3127. "email": "carlo.serafini@gmail.com",
  3128. "links": {},
  3129. "name": "Carlo Serafini",
  3130. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3131. "phone": "517578.57813",
  3132. "roles": [
  3133. "company-role-1416494361422"
  3134. ],
  3135. "status": "enabled",
  3136. "username": "dirigente"
  3137. },
  3138. "object": "user",
  3139. "type": "company"
  3140. }
  3141. },
  3142. {
  3143. "action": "process_submit",
  3144. "document_changes": null,
  3145. "end_time": 1417191051915,
  3146. "end_time2": "28/11/2014 17:10",
  3147. "info": "confirm",
  3148. "now": "20141128171051",
  3149. "result": {
  3150. "action": "process_confirmed",
  3151. "document_changes": [
  3152. {
  3153. "action": "partial_reject",
  3154. "field_id": "c26",
  3155. "field_type": "testo",
  3156. "new_comment": null,
  3157. "new_refused": false,
  3158. "new_value": "sdfgdsfgsdf",
  3159. "old_comment": null,
  3160. "old_refused": false,
  3161. "old_value": "sdfgdsfgsdf"
  3162. },
  3163. {
  3164. "action": "partial_reject",
  3165. "field_id": "c30",
  3166. "field_type": "numero",
  3167. "new_comment": null,
  3168. "new_refused": false,
  3169. "new_value": "42",
  3170. "old_comment": null,
  3171. "old_refused": false,
  3172. "old_value": "42"
  3173. }
  3174. ],
  3175. "history": true,
  3176. "next": "conditional_action_1",
  3177. "process_id": "process-20141128170722-7728BAAB-001",
  3178. "reason": null,
  3179. "response": "continue",
  3180. "result": null,
  3181. "state_id": "user_action_2"
  3182. },
  3183. "show": true,
  3184. "start_time": 1417191051914,
  3185. "start_time2": "28/11/2014 17:10",
  3186. "state_id": "user_action_2",
  3187. "user_data": {
  3188. "id": "user-20141119171352-F457AA43",
  3189. "info": {
  3190. "email": "carlo.serafini@gmail.com",
  3191. "links": {},
  3192. "name": "Carlo Serafini",
  3193. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3194. "phone": "517578.57813",
  3195. "roles": [
  3196. "company-role-1416494361422"
  3197. ],
  3198. "status": "enabled",
  3199. "username": "dirigente"
  3200. },
  3201. "object": "user",
  3202. "type": "company"
  3203. }
  3204. },
  3205. {
  3206. "action": "process_run",
  3207. "document_changes": null,
  3208. "end_time": 1417191051943,
  3209. "end_time2": "28/11/2014 17:10",
  3210. "info": null,
  3211. "now": "20141128171051",
  3212. "result": {
  3213. "action": "conditional_action",
  3214. "document_changes": null,
  3215. "history": false,
  3216. "next": "user_action_3",
  3217. "process_id": "process-20141128170722-7728BAAB-001",
  3218. "reason": null,
  3219. "response": "continue",
  3220. "result": null,
  3221. "state_id": "conditional_action_1"
  3222. },
  3223. "show": false,
  3224. "start_time": 1417191051920,
  3225. "start_time2": "28/11/2014 17:10",
  3226. "state_id": "conditional_action_1",
  3227. "user_data": {
  3228. "id": "user-20141119171352-F457AA43",
  3229. "info": {
  3230. "email": "carlo.serafini@gmail.com",
  3231. "links": {},
  3232. "name": "Carlo Serafini",
  3233. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3234. "phone": "517578.57813",
  3235. "roles": [
  3236. "company-role-1416494361422"
  3237. ],
  3238. "status": "enabled",
  3239. "username": "dirigente"
  3240. },
  3241. "object": "user",
  3242. "type": "company"
  3243. }
  3244. },
  3245. {
  3246. "action": "process_run",
  3247. "document_changes": null,
  3248. "end_time": 1417191051950,
  3249. "end_time2": "28/11/2014 17:10",
  3250. "info": null,
  3251. "now": "20141128171051",
  3252. "result": {
  3253. "action": "cannot_take",
  3254. "document_changes": null,
  3255. "history": false,
  3256. "next": null,
  3257. "process_id": "process-20141128170722-7728BAAB-001",
  3258. "reason": "cannot_take",
  3259. "response": "stopped",
  3260. "result": null,
  3261. "state_id": "user_action_3"
  3262. },
  3263. "show": false,
  3264. "start_time": 1417191051949,
  3265. "start_time2": "28/11/2014 17:10",
  3266. "state_id": "user_action_3",
  3267. "user_data": {
  3268. "id": "user-20141119171352-F457AA43",
  3269. "info": {
  3270. "email": "carlo.serafini@gmail.com",
  3271. "links": {},
  3272. "name": "Carlo Serafini",
  3273. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3274. "phone": "517578.57813",
  3275. "roles": [
  3276. "company-role-1416494361422"
  3277. ],
  3278. "status": "enabled",
  3279. "username": "dirigente"
  3280. },
  3281. "object": "user",
  3282. "type": "company"
  3283. }
  3284. },
  3285. {
  3286. "action": "process_take_active_state",
  3287. "document_changes": null,
  3288. "end_time": 1417191072248,
  3289. "end_time2": "28/11/2014 17:11",
  3290. "info": null,
  3291. "now": "20141128171112",
  3292. "result": {
  3293. "action": "taken_active_state",
  3294. "document_changes": null,
  3295. "history": true,
  3296. "next": null,
  3297. "process_id": "process-20141128170722-7728BAAB-001",
  3298. "reason": null,
  3299. "response": "taken_active_state",
  3300. "result": null,
  3301. "state_id": "user_action_3"
  3302. },
  3303. "show": true,
  3304. "start_time": 1417191072248,
  3305. "start_time2": "28/11/2014 17:11",
  3306. "state_id": "user_action_3",
  3307. "user_data": {
  3308. "id": "user-20141119171437-9AA7141F",
  3309. "info": {
  3310. "email": "riccardo.raspelli@gmail.com",
  3311. "links": {},
  3312. "name": "Riccardo Raspelli",
  3313. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3314. "phone": "63817136668983",
  3315. "roles": [
  3316. "company-role-1416494394678"
  3317. ],
  3318. "status": "enabled",
  3319. "username": "direttore"
  3320. },
  3321. "object": "user",
  3322. "type": "company"
  3323. }
  3324. },
  3325. {
  3326. "action": "process_run",
  3327. "document_changes": null,
  3328. "end_time": 1417191072362,
  3329. "end_time2": "28/11/2014 17:11",
  3330. "info": null,
  3331. "now": "20141128171112",
  3332. "result": {
  3333. "action": "auto_taken_active_state",
  3334. "document_changes": null,
  3335. "history": false,
  3336. "next": null,
  3337. "process_id": "process-20141128170722-7728BAAB-001",
  3338. "reason": "form",
  3339. "response": "form",
  3340. "result": null,
  3341. "state_id": "user_action_3"
  3342. },
  3343. "show": false,
  3344. "start_time": 1417191072361,
  3345. "start_time2": "28/11/2014 17:11",
  3346. "state_id": "user_action_3",
  3347. "user_data": {
  3348. "id": "user-20141119171437-9AA7141F",
  3349. "info": {
  3350. "email": "riccardo.raspelli@gmail.com",
  3351. "links": {},
  3352. "name": "Riccardo Raspelli",
  3353. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3354. "phone": "63817136668983",
  3355. "roles": [
  3356. "company-role-1416494394678"
  3357. ],
  3358. "status": "enabled",
  3359. "username": "direttore"
  3360. },
  3361. "object": "user",
  3362. "type": "company"
  3363. }
  3364. },
  3365. {
  3366. "action": "process_submit",
  3367. "document_changes": null,
  3368. "end_time": 1417191080247,
  3369. "end_time2": "28/11/2014 17:11",
  3370. "info": "confirm",
  3371. "now": "20141128171120",
  3372. "result": {
  3373. "action": "process_confirmed",
  3374. "document_changes": [
  3375. {
  3376. "action": "partial_reject",
  3377. "field_id": "c26",
  3378. "field_type": "testo",
  3379. "new_comment": null,
  3380. "new_refused": false,
  3381. "new_value": "sdfgdsfgsdf",
  3382. "old_comment": null,
  3383. "old_refused": false,
  3384. "old_value": "sdfgdsfgsdf"
  3385. },
  3386. {
  3387. "action": "partial_reject",
  3388. "field_id": "c30",
  3389. "field_type": "numero",
  3390. "new_comment": null,
  3391. "new_refused": false,
  3392. "new_value": "42",
  3393. "old_comment": null,
  3394. "old_refused": false,
  3395. "old_value": "42"
  3396. }
  3397. ],
  3398. "history": true,
  3399. "next": "end",
  3400. "process_id": "process-20141128170722-7728BAAB-001",
  3401. "reason": null,
  3402. "response": "continue",
  3403. "result": null,
  3404. "state_id": "user_action_3"
  3405. },
  3406. "show": true,
  3407. "start_time": 1417191080247,
  3408. "start_time2": "28/11/2014 17:11",
  3409. "state_id": "user_action_3",
  3410. "user_data": {
  3411. "id": "user-20141119171437-9AA7141F",
  3412. "info": {
  3413. "email": "riccardo.raspelli@gmail.com",
  3414. "links": {},
  3415. "name": "Riccardo Raspelli",
  3416. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3417. "phone": "63817136668983",
  3418. "roles": [
  3419. "company-role-1416494394678"
  3420. ],
  3421. "status": "enabled",
  3422. "username": "direttore"
  3423. },
  3424. "object": "user",
  3425. "type": "company"
  3426. }
  3427. },
  3428. {
  3429. "action": "process_run",
  3430. "document_changes": null,
  3431. "end_time": 1417191080254,
  3432. "end_time2": "28/11/2014 17:11",
  3433. "info": null,
  3434. "now": "20141128171120",
  3435. "result": {
  3436. "action": "process_ended",
  3437. "document_changes": null,
  3438. "history": true,
  3439. "next": null,
  3440. "process_id": "process-20141128170722-7728BAAB-001",
  3441. "reason": "process_ended",
  3442. "response": "stopped",
  3443. "result": "approved",
  3444. "state_id": "end"
  3445. },
  3446. "show": false,
  3447. "start_time": 1417191080254,
  3448. "start_time2": "28/11/2014 17:11",
  3449. "state_id": "end",
  3450. "user_data": {
  3451. "id": "user-20141119171437-9AA7141F",
  3452. "info": {
  3453. "email": "riccardo.raspelli@gmail.com",
  3454. "links": {},
  3455. "name": "Riccardo Raspelli",
  3456. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3457. "phone": "63817136668983",
  3458. "roles": [
  3459. "company-role-1416494394678"
  3460. ],
  3461. "status": "enabled",
  3462. "username": "direttore"
  3463. },
  3464. "object": "user",
  3465. "type": "company"
  3466. }
  3467. }
  3468. ],
  3469. "owner": "user-20141119171222-A1B69501",
  3470. "owner_name": "Carla Giusti",
  3471. "start_date": "",
  3472. "start_time": 1417190842563,
  3473. "start_time2": "28/11/2014 17:07",
  3474. "status": {}
  3475. },
  3476. "object": "process",
  3477. "result": "approved",
  3478. "type": "closed"
  3479. },
  3480. {
  3481. "flow": {
  3482. "counter": {
  3483. "conditional_action": 2,
  3484. "end_parallel": 0,
  3485. "event_action": 0,
  3486. "get_data": 0,
  3487. "parallel_action": 0,
  3488. "put_data": 0,
  3489. "start_parallel": 0,
  3490. "system_action": 1,
  3491. "user_action": 4,
  3492. "wait_data": 0,
  3493. "ws_data": 0
  3494. },
  3495. "cron_actions": {},
  3496. "parallel_actions": {},
  3497. "states": {
  3498. "conditional_action_0": {
  3499. "attributes": {
  3500. "context": "on",
  3501. "dbl": "on",
  3502. "dynamic": "\"\"",
  3503. "else": "false",
  3504. "id": "conditional_action_0",
  3505. "label": "VERIFICA 1",
  3506. "linkable": "true",
  3507. "linked": "true",
  3508. "script": "{\"language\":\"python\",\"code\":\"\"}",
  3509. "style": "top: 364px; left: 633px;",
  3510. "taker": "\"\"",
  3511. "timing": "",
  3512. "type": "conditional_action",
  3513. "viewers": "\"\""
  3514. },
  3515. "connections": [
  3516. {
  3517. "label_text": "GIORNI > 5",
  3518. "parameters": {
  3519. "condition": {
  3520. "code": [
  3521. "document.numero_giorni_c30",
  3522. ">",
  3523. true,
  3524. "5"
  3525. ],
  3526. "language": "meta"
  3527. },
  3528. "description": "se i giorni sono pi\u00f9 di 5 serve l'autorizzazione del Dirigente",
  3529. "id": "condition_D04A0246-3415-49A7-8C17-0DE4977D0241",
  3530. "label": "GIORNI > 5"
  3531. },
  3532. "target": "user_action_2"
  3533. },
  3534. {
  3535. "label_text": "Else",
  3536. "parameters": {
  3537. "condition": "else"
  3538. },
  3539. "target": "end"
  3540. }
  3541. ],
  3542. "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>"
  3543. },
  3544. "conditional_action_1": {
  3545. "attributes": {
  3546. "context": "on",
  3547. "dbl": "on",
  3548. "dynamic": "\"\"",
  3549. "else": "false",
  3550. "id": "conditional_action_1",
  3551. "label": "VERIFICA 2",
  3552. "linkable": "true",
  3553. "linked": "true",
  3554. "script": "{\"language\":\"python\",\"code\":\"\"}",
  3555. "style": "top: 213px; left: 856px;",
  3556. "taker": "\"\"",
  3557. "timing": "",
  3558. "type": "conditional_action",
  3559. "viewers": "\"\""
  3560. },
  3561. "connections": [
  3562. {
  3563. "label_text": "GIORNI > 10",
  3564. "parameters": {
  3565. "condition": {
  3566. "code": [
  3567. "document.numero_giorni_c30",
  3568. ">",
  3569. true,
  3570. "10"
  3571. ],
  3572. "language": "meta"
  3573. },
  3574. "description": "se i giorni sono pi\u00f9 di 10 serve l'approvazione del Direttore",
  3575. "id": "condition_140C9225-42C7-4784-AEDA-88B60EFA1FDA",
  3576. "label": "GIORNI > 10"
  3577. },
  3578. "target": "user_action_3"
  3579. },
  3580. {
  3581. "label_text": "Else",
  3582. "parameters": {
  3583. "condition": "else"
  3584. },
  3585. "target": "end"
  3586. }
  3587. ],
  3588. "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>"
  3589. },
  3590. "end": {
  3591. "attributes": {
  3592. "context": "on",
  3593. "dbl": "on",
  3594. "dynamic": "\"\"",
  3595. "else": "true",
  3596. "id": "end",
  3597. "label": "FINE",
  3598. "linkable": "true",
  3599. "linked": "false",
  3600. "script": "{\"language\":\"python\",\"code\":\"\"}",
  3601. "style": "top: 364px; left: 780px;",
  3602. "taker": "\"\"",
  3603. "timing": "",
  3604. "type": "end",
  3605. "viewers": "\"\""
  3606. },
  3607. "connections": [],
  3608. "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>"
  3609. },
  3610. "start": {
  3611. "attributes": {
  3612. "context": "on",
  3613. "dbl": "off",
  3614. "dynamic": "\"\"",
  3615. "else": "false",
  3616. "id": "start",
  3617. "label": "Start",
  3618. "linkable": "false",
  3619. "linked": "true",
  3620. "script": "\"\"",
  3621. "style": "top: 115px; left: 562px;",
  3622. "taker": "\"\"",
  3623. "timing": "\"\"",
  3624. "type": "start",
  3625. "viewers": "\"\""
  3626. },
  3627. "connections": [
  3628. {
  3629. "label_text": null,
  3630. "parameters": {
  3631. "condition": "standard"
  3632. },
  3633. "target": "user_action_0"
  3634. }
  3635. ],
  3636. "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>"
  3637. },
  3638. "user_action_0": {
  3639. "attributes": {
  3640. "context": "on",
  3641. "dbl": "off",
  3642. "dynamic": "\"\"",
  3643. "else": "false",
  3644. "id": "user_action_0",
  3645. "label": "ASSISTENTE",
  3646. "linkable": "false",
  3647. "linked": "true",
  3648. "script": "\"\"",
  3649. "style": "top: 314px; left: 503px;",
  3650. "taker": "{\"process-role-1416668526939\":{\"actions\":[],\"fields\":{\"c14\":\"modify\",\"c20\":\"modify\",\"c26\":\"modify\",\"c30\":\"modify\",\"c34\":\"modify\"}}}",
  3651. "timing": "",
  3652. "type": "user_action",
  3653. "viewers": "{}"
  3654. },
  3655. "connections": [
  3656. {
  3657. "label_text": null,
  3658. "parameters": {
  3659. "condition": "standard"
  3660. },
  3661. "target": "user_action_1"
  3662. }
  3663. ],
  3664. "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>"
  3665. },
  3666. "user_action_1": {
  3667. "attributes": {
  3668. "context": "on",
  3669. "dbl": "off",
  3670. "dynamic": "\"\"",
  3671. "else": "false",
  3672. "id": "user_action_1",
  3673. "label": "RESPONSABILE",
  3674. "linkable": "false",
  3675. "linked": "true",
  3676. "script": "\"\"",
  3677. "style": "top: 221.833px; left: 567.833px;",
  3678. "taker": "{\"process-role-1416668552731\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  3679. "timing": "",
  3680. "type": "user_action",
  3681. "viewers": "{}"
  3682. },
  3683. "connections": [
  3684. {
  3685. "label_text": null,
  3686. "parameters": {
  3687. "condition": "standard"
  3688. },
  3689. "target": "conditional_action_0"
  3690. }
  3691. ],
  3692. "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>"
  3693. },
  3694. "user_action_2": {
  3695. "attributes": {
  3696. "context": "on",
  3697. "dbl": "off",
  3698. "dynamic": "\"\"",
  3699. "else": "false",
  3700. "id": "user_action_2",
  3701. "label": "DIRIGENTE",
  3702. "linkable": "false",
  3703. "linked": "true",
  3704. "script": "\"\"",
  3705. "style": "top: 111px; left: 750px;",
  3706. "taker": "{\"process-role-1416668576073\":{\"actions\":[\"reject\"],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  3707. "timing": "",
  3708. "type": "user_action",
  3709. "viewers": "{}"
  3710. },
  3711. "connections": [
  3712. {
  3713. "label_text": null,
  3714. "parameters": {
  3715. "condition": "standard"
  3716. },
  3717. "target": "conditional_action_1"
  3718. }
  3719. ],
  3720. "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>"
  3721. },
  3722. "user_action_3": {
  3723. "attributes": {
  3724. "context": "on",
  3725. "dbl": "off",
  3726. "dynamic": "\"\"",
  3727. "else": "false",
  3728. "id": "user_action_3",
  3729. "label": "DIRETTORE",
  3730. "linkable": "false",
  3731. "linked": "true",
  3732. "script": "\"\"",
  3733. "style": "top: 364px; left: 945px;",
  3734. "taker": "{\"process-role-1416668596144\":{\"actions\":[],\"fields\":{\"c14\":\"approve\",\"c20\":\"approve\",\"c26\":\"partial_reject\",\"c30\":\"partial_reject\",\"c34\":\"approve\"}}}",
  3735. "timing": "",
  3736. "type": "user_action",
  3737. "viewers": "{}"
  3738. },
  3739. "connections": [
  3740. {
  3741. "label_text": null,
  3742. "parameters": {
  3743. "condition": "standard"
  3744. },
  3745. "target": "end"
  3746. }
  3747. ],
  3748. "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>"
  3749. }
  3750. },
  3751. "sub_processes": {}
  3752. },
  3753. "id": "process-20141128170908-3EA1BCD4-001",
  3754. "info": {
  3755. "approved": {
  3756. "date": 1416838600663,
  3757. "id": "a"
  3758. },
  3759. "creation_date": 1416666590042,
  3760. "creator": "e",
  3761. "description": "Permette di inoltrare un modulo per la richiesta delle ferie.",
  3762. "model_id": "process-20141122152950-EE7BD617-000",
  3763. "name": "Richiesta Ferie",
  3764. "permissions": {
  3765. "field": [
  3766. "modify",
  3767. "approve",
  3768. "partial_reject"
  3769. ],
  3770. "process": [
  3771. "start",
  3772. "view_mine",
  3773. "drop_mine",
  3774. "view_all",
  3775. "drop_all"
  3776. ],
  3777. "state": [
  3778. "template",
  3779. "reject"
  3780. ]
  3781. },
  3782. "published": [
  3783. {
  3784. "date": 1416838468408,
  3785. "publisher": "e",
  3786. "url": "http://148.251.81.168:8200/"
  3787. }
  3788. ],
  3789. "roles": {
  3790. "process-role-1416668526939": {
  3791. "company_matching": [
  3792. "company-role-1416494315736"
  3793. ],
  3794. "id": "process-role-1416668526939",
  3795. "label": "ASSISTENTE",
  3796. "name": "ASSISTENTE",
  3797. "permissions": [
  3798. "start",
  3799. "view_mine",
  3800. "drop_mine"
  3801. ]
  3802. },
  3803. "process-role-1416668552731": {
  3804. "company_matching": [
  3805. "company-role-1416494335075"
  3806. ],
  3807. "id": "process-role-1416668552731",
  3808. "label": "RESPONSABILE",
  3809. "name": "RESPONSABILE",
  3810. "permissions": [
  3811. "view_all",
  3812. "drop_all"
  3813. ]
  3814. },
  3815. "process-role-1416668576073": {
  3816. "company_matching": [
  3817. "company-role-1416494361422"
  3818. ],
  3819. "id": "process-role-1416668576073",
  3820. "label": "DIRIGENTE",
  3821. "name": "DIRIGENTE",
  3822. "permissions": [
  3823. "view_all",
  3824. "drop_all"
  3825. ]
  3826. },
  3827. "process-role-1416668596144": {
  3828. "company_matching": [
  3829. "company-role-1416494394678"
  3830. ],
  3831. "id": "process-role-1416668596144",
  3832. "label": "DIRETTORE",
  3833. "name": "DIRETTORE",
  3834. "permissions": [
  3835. "view_all",
  3836. "drop_all"
  3837. ]
  3838. }
  3839. },
  3840. "sharing": [],
  3841. "version": {
  3842. "date": 1416772374935,
  3843. "note": "xd",
  3844. "number": 1
  3845. }
  3846. },
  3847. "instance": {
  3848. "active_states": {
  3849. "user_action_1": "user-20141119171311-783C4C74"
  3850. },
  3851. "end_date": "",
  3852. "log": [
  3853. {
  3854. "action": "process_run",
  3855. "document_changes": null,
  3856. "end_time": 1417190949102,
  3857. "end_time2": "28/11/2014 17:09",
  3858. "info": null,
  3859. "now": "20141128170909",
  3860. "result": {
  3861. "action": "process_started",
  3862. "document_changes": null,
  3863. "history": true,
  3864. "next": "user_action_0",
  3865. "process_id": "process-20141128170908-3EA1BCD4-001",
  3866. "reason": "process_started",
  3867. "response": "continue",
  3868. "result": null,
  3869. "state_id": "start"
  3870. },
  3871. "show": false,
  3872. "start_time": 1417190949102,
  3873. "start_time2": "28/11/2014 17:09",
  3874. "state_id": "start",
  3875. "user_data": {
  3876. "id": "user-20141119171222-A1B69501",
  3877. "info": {
  3878. "email": "giusti@gmail.com",
  3879. "links": {},
  3880. "name": "Carla Giusti",
  3881. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3882. "phone": "556816517516",
  3883. "roles": [
  3884. "company-role-1416494315736"
  3885. ],
  3886. "status": "enabled",
  3887. "username": "assistente"
  3888. },
  3889. "object": "user",
  3890. "type": "company"
  3891. }
  3892. },
  3893. {
  3894. "action": "process_run",
  3895. "document_changes": null,
  3896. "end_time": 1417190949115,
  3897. "end_time2": "28/11/2014 17:09",
  3898. "info": null,
  3899. "now": "20141128170909",
  3900. "result": {
  3901. "action": "auto_taken_active_state",
  3902. "document_changes": null,
  3903. "history": false,
  3904. "next": null,
  3905. "process_id": "process-20141128170908-3EA1BCD4-001",
  3906. "reason": "form",
  3907. "response": "form",
  3908. "result": null,
  3909. "state_id": "user_action_0"
  3910. },
  3911. "show": false,
  3912. "start_time": 1417190949112,
  3913. "start_time2": "28/11/2014 17:09",
  3914. "state_id": "user_action_0",
  3915. "user_data": {
  3916. "id": "user-20141119171222-A1B69501",
  3917. "info": {
  3918. "email": "giusti@gmail.com",
  3919. "links": {},
  3920. "name": "Carla Giusti",
  3921. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  3922. "phone": "556816517516",
  3923. "roles": [
  3924. "company-role-1416494315736"
  3925. ],
  3926. "status": "enabled",
  3927. "username": "assistente"
  3928. },
  3929. "object": "user",
  3930. "type": "company"
  3931. }
  3932. },
  3933. {
  3934. "action": "process_submit",
  3935. "document_changes": null,
  3936. "end_time": 1417190972736,
  3937. "end_time2": "28/11/2014 17:09",
  3938. "info": "confirm",
  3939. "now": "20141128170932",
  3940. "result": {
  3941. "action": "process_confirmed",
  3942. "document_changes": [
  3943. {
  3944. "action": "modify",
  3945. "field_id": "c34",
  3946. "field_type": "area_testo",
  3947. "new_comment": null,
  3948. "new_refused": "",
  3949. "new_value": "",
  3950. "old_comment": "",
  3951. "old_refused": "",
  3952. "old_value": ""
  3953. },
  3954. {
  3955. "action": "modify",
  3956. "field_id": "c20",
  3957. "field_type": "testo",
  3958. "new_comment": null,
  3959. "new_refused": "",
  3960. "new_value": "gcascz<xc",
  3961. "old_comment": "",
  3962. "old_refused": "",
  3963. "old_value": ""
  3964. },
  3965. {
  3966. "action": "modify",
  3967. "field_id": "c26",
  3968. "field_type": "testo",
  3969. "new_comment": null,
  3970. "new_refused": "",
  3971. "new_value": "vxfvbdhbyrf",
  3972. "old_comment": "",
  3973. "old_refused": "",
  3974. "old_value": ""
  3975. },
  3976. {
  3977. "action": "modify",
  3978. "field_id": "c30",
  3979. "field_type": "numero",
  3980. "new_comment": null,
  3981. "new_refused": "",
  3982. "new_value": "15",
  3983. "old_comment": "",
  3984. "old_refused": "",
  3985. "old_value": ""
  3986. },
  3987. {
  3988. "action": "modify",
  3989. "field_id": "c14",
  3990. "field_type": "testo",
  3991. "new_comment": null,
  3992. "new_refused": "",
  3993. "new_value": "nghndfhnrej",
  3994. "old_comment": "",
  3995. "old_refused": "",
  3996. "old_value": ""
  3997. }
  3998. ],
  3999. "history": true,
  4000. "next": "user_action_1",
  4001. "process_id": "process-20141128170908-3EA1BCD4-001",
  4002. "reason": null,
  4003. "response": "continue",
  4004. "result": null,
  4005. "state_id": "user_action_0"
  4006. },
  4007. "show": true,
  4008. "start_time": 1417190972736,
  4009. "start_time2": "28/11/2014 17:09",
  4010. "state_id": "user_action_0",
  4011. "user_data": {
  4012. "id": "user-20141119171222-A1B69501",
  4013. "info": {
  4014. "email": "giusti@gmail.com",
  4015. "links": {},
  4016. "name": "Carla Giusti",
  4017. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  4018. "phone": "556816517516",
  4019. "roles": [
  4020. "company-role-1416494315736"
  4021. ],
  4022. "status": "enabled",
  4023. "username": "assistente"
  4024. },
  4025. "object": "user",
  4026. "type": "company"
  4027. }
  4028. },
  4029. {
  4030. "action": "process_run",
  4031. "document_changes": null,
  4032. "end_time": 1417190972741,
  4033. "end_time2": "28/11/2014 17:09",
  4034. "info": null,
  4035. "now": "20141128170932",
  4036. "result": {
  4037. "action": "cannot_take",
  4038. "document_changes": null,
  4039. "history": false,
  4040. "next": null,
  4041. "process_id": "process-20141128170908-3EA1BCD4-001",
  4042. "reason": "cannot_take",
  4043. "response": "stopped",
  4044. "result": null,
  4045. "state_id": "user_action_1"
  4046. },
  4047. "show": false,
  4048. "start_time": 1417190972740,
  4049. "start_time2": "28/11/2014 17:09",
  4050. "state_id": "user_action_1",
  4051. "user_data": {
  4052. "id": "user-20141119171222-A1B69501",
  4053. "info": {
  4054. "email": "giusti@gmail.com",
  4055. "links": {},
  4056. "name": "Carla Giusti",
  4057. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  4058. "phone": "556816517516",
  4059. "roles": [
  4060. "company-role-1416494315736"
  4061. ],
  4062. "status": "enabled",
  4063. "username": "assistente"
  4064. },
  4065. "object": "user",
  4066. "type": "company"
  4067. }
  4068. },
  4069. {
  4070. "action": "process_take_active_state",
  4071. "document_changes": null,
  4072. "end_time": 1417191082407,
  4073. "end_time2": "28/11/2014 17:11",
  4074. "info": null,
  4075. "now": "20141128171122",
  4076. "result": {
  4077. "action": "taken_active_state",
  4078. "document_changes": null,
  4079. "history": true,
  4080. "next": null,
  4081. "process_id": "process-20141128170908-3EA1BCD4-001",
  4082. "reason": null,
  4083. "response": "taken_active_state",
  4084. "result": null,
  4085. "state_id": "user_action_1"
  4086. },
  4087. "show": true,
  4088. "start_time": 1417191082407,
  4089. "start_time2": "28/11/2014 17:11",
  4090. "state_id": "user_action_1",
  4091. "user_data": {
  4092. "id": "user-20141119171311-783C4C74",
  4093. "info": {
  4094. "email": "sabrina.rossi@gmail.com",
  4095. "links": {},
  4096. "name": "Sabrina Rossi",
  4097. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  4098. "phone": "8576487648158",
  4099. "roles": [
  4100. "company-role-1416494335075"
  4101. ],
  4102. "status": "enabled",
  4103. "username": "responsabile"
  4104. },
  4105. "object": "user",
  4106. "type": "company"
  4107. }
  4108. },
  4109. {
  4110. "action": "process_run",
  4111. "document_changes": null,
  4112. "end_time": 1417191082629,
  4113. "end_time2": "28/11/2014 17:11",
  4114. "info": null,
  4115. "now": "20141128171122",
  4116. "result": {
  4117. "action": "auto_taken_active_state",
  4118. "document_changes": null,
  4119. "history": false,
  4120. "next": null,
  4121. "process_id": "process-20141128170908-3EA1BCD4-001",
  4122. "reason": "form",
  4123. "response": "form",
  4124. "result": null,
  4125. "state_id": "user_action_1"
  4126. },
  4127. "show": false,
  4128. "start_time": 1417191082629,
  4129. "start_time2": "28/11/2014 17:11",
  4130. "state_id": "user_action_1",
  4131. "user_data": {
  4132. "id": "user-20141119171311-783C4C74",
  4133. "info": {
  4134. "email": "sabrina.rossi@gmail.com",
  4135. "links": {},
  4136. "name": "Sabrina Rossi",
  4137. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  4138. "phone": "8576487648158",
  4139. "roles": [
  4140. "company-role-1416494335075"
  4141. ],
  4142. "status": "enabled",
  4143. "username": "responsabile"
  4144. },
  4145. "object": "user",
  4146. "type": "company"
  4147. }
  4148. },
  4149. {
  4150. "action": "process_close",
  4151. "document_changes": null,
  4152. "end_time": 1417191135115,
  4153. "end_time2": "28/11/2014 17:12",
  4154. "info": null,
  4155. "now": "20141128171215",
  4156. "result": {
  4157. "action": "process_dropped",
  4158. "document_changes": null,
  4159. "history": true,
  4160. "next": null,
  4161. "process_id": "process-20141128170908-3EA1BCD4-001",
  4162. "reason": "process_closed",
  4163. "response": "stopped",
  4164. "result": "dropped",
  4165. "state_id": null
  4166. },
  4167. "show": false,
  4168. "start_time": 1417191135115,
  4169. "start_time2": "28/11/2014 17:12",
  4170. "state_id": null,
  4171. "user_data": {
  4172. "id": "user-20141119171311-783C4C74",
  4173. "info": {
  4174. "email": "sabrina.rossi@gmail.com",
  4175. "links": {},
  4176. "name": "Sabrina Rossi",
  4177. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  4178. "phone": "8576487648158",
  4179. "roles": [
  4180. "company-role-1416494335075"
  4181. ],
  4182. "status": "enabled",
  4183. "username": "responsabile"
  4184. },
  4185. "object": "user",
  4186. "type": "company"
  4187. }
  4188. }
  4189. ],
  4190. "owner": "user-20141119171222-A1B69501",
  4191. "owner_name": "Carla Giusti",
  4192. "start_date": "",
  4193. "start_time": 1417190949102,
  4194. "start_time2": "28/11/2014 17:09",
  4195. "status": {}
  4196. },
  4197. "object": "process",
  4198. "result": "dropped",
  4199. "type": "closed"
  4200. }
  4201. ],
  4202. "token": "token-20141128191540-140CA9E76EF518AFA03D166C12195533B0F44F0D6ED8174AF13DB115A112EBB1",
  4203. "user": {
  4204. "id": "user-20141119171222-A1B69501",
  4205. "info": {
  4206. "email": "giusti@gmail.com",
  4207. "links": {},
  4208. "name": "Carla Giusti",
  4209. "password": "5f4dcc3b5aa765d61d8327deb882cf99",
  4210. "phone": "556816517516",
  4211. "roles": [
  4212. "company-role-1416494315736"
  4213. ],
  4214. "status": "enabled",
  4215. "username": "assistente"
  4216. },
  4217. "object": "user",
  4218. "type": "company"
  4219. }
  4220. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement