· 4 years ago · Jul 06, 2021, 08:08 AM
1// collection: workflows
2{
3 "_id" : ObjectId("5eb3adf9268f79024fda5787"),
4 "ipa" : "C_DEMO",
5 "descriptor" : "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:camunda=\"http://camunda.org/schema/1.0/bpmn\" xmlns:myflow=\"http://myflow.spec\" id=\"Definitions_1\" targetNamespace=\"http://bpmn.io/schema/bpmn\">\n <bpmn:process id=\"Process_1\" isExecutable=\"true\">\n <bpmn:startEvent id=\"StartEvent_1wdaekz\" camunda:formKey=\"a87433e3-fdc9-4586-9e4a-63e81631ec4b\">\n <bpmn:extensionElements>\n <camunda:executionListener event=\"start\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var processInstanceId = execution.getProcessInstanceId();\n var ipa = execution.getTenantId();\n var processVersionId = execution.getProcessDefinitionId();\n\n execution.setVariable('processInstanceId', processInstanceId);\n execution.setVariable('ipa', ipa);\n execution.setVariable('processVersionId', processVersionId);\n]]></camunda:script>\n </camunda:executionListener>\n </bpmn:extensionElements>\n <bpmn:outgoing>SequenceFlow_0l1vvfm</bpmn:outgoing>\n </bpmn:startEvent>\n <bpmn:subProcess id=\"SubProcess_057zeck\" name=\"010-Inserimento testo atto\">\n <bpmn:incoming>SequenceFlow_17pv0kr</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0obsmec</bpmn:outgoing>\n <bpmn:scriptTask id=\"Task_032p1oi\" name=\"data inserimento\" scriptFormat=\"Javascript\">\n <bpmn:incoming>SequenceFlow_1b3sy6r</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1ld2c9f</bpmn:outgoing>\n <bpmn:script><![CDATA[\n\n/* FUNCTION HEADER a2b6d6af-c5e2-49ea-b7c1-78f2eb06a729 */\n function setContextVariable(e,t){execution.setVariable(e,t)};\n/* ******* HEADER_BODY_SCRIPT_SEPARATOR 6c7be6bc-7953-4819-966c-e5f6d62534a9 ******* */setContextVariable(\"data_inserimento\", Date.now());]]></bpmn:script>\n </bpmn:scriptTask>\n <bpmn:startEvent id=\"StartEvent_1qt81gz\">\n <bpmn:extensionElements>\n <camunda:executionListener event=\"start\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var processInstanceId = execution.getProcessInstanceId();\n var ipa = execution.getTenantId();\n var processVersionId = execution.getProcessDefinitionId();\n\n execution.setVariable('processInstanceId', processInstanceId);\n execution.setVariable('ipa', ipa);\n execution.setVariable('processVersionId', processVersionId);\n]]></camunda:script>\n </camunda:executionListener>\n </bpmn:extensionElements>\n <bpmn:outgoing>SequenceFlow_1b3sy6r</bpmn:outgoing>\n </bpmn:startEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1b3sy6r\" sourceRef=\"StartEvent_1qt81gz\" targetRef=\"Task_032p1oi\" />\n <bpmn:userTask id=\"Task_1etgvlk\" name=\"Scrittura Proposta\" camunda:formKey=\"5c37a8b3-dce3-473f-b0d1-d0587e1e9485\" camunda:candidateGroups=\"${proponent.prop("organizationIdentityLink").value()}, ${proponent.prop("organizationIdentityLink").value().concat("::personaleoperativo")}\">\n <bpmn:extensionElements>\n <camunda:formData>\n <camunda:formField id=\"atto_riservato\" label=\"Atto riservato\" type=\"boolean\" />\n <camunda:formField id=\"oggetto_atto\" label=\"oggetto atto\" type=\"string\" />\n <camunda:formField id=\"testo_atto\" label=\"Testo \" type=\"string\" />\n <camunda:formField id=\"nota_respingi\" label=\"Nota Respingi\" type=\"string\" />\n <camunda:formField id=\"allegati_atto\" label=\"Allegati\" type=\"string\" />\n </camunda:formData>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1ld2c9f</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1335046</bpmn:outgoing>\n </bpmn:userTask>\n <bpmn:endEvent id=\"EndEvent_1kamcxo\">\n <bpmn:incoming>SequenceFlow_0sdlnb9</bpmn:incoming>\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1ld2c9f\" sourceRef=\"Task_032p1oi\" targetRef=\"Task_1etgvlk\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1335046\" sourceRef=\"Task_1etgvlk\" targetRef=\"Task_18mx04u\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0sdlnb9\" sourceRef=\"Task_18mx04u\" targetRef=\"EndEvent_1kamcxo\" />\n <bpmn:scriptTask id=\"Task_18mx04u\" name=\"cancello nota di respinta\" scriptFormat=\"Javascript\">\n <bpmn:incoming>SequenceFlow_1335046</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0sdlnb9</bpmn:outgoing>\n <bpmn:script><![CDATA[\n\n/* FUNCTION HEADER a2b6d6af-c5e2-49ea-b7c1-78f2eb06a729 */\n function setContextVariable(e,t){execution.setVariable(e,t)};\n\n/* ******* HEADER_BODY_SCRIPT_SEPARATOR 6c7be6bc-7953-4819-966c-e5f6d62534a9 ******* */execution.setVariable(\"nota_respingi\", \"\");\nexecution.setVariable(\"respingi_atto\", null);]]></bpmn:script>\n </bpmn:scriptTask>\n </bpmn:subProcess>\n <bpmn:sequenceFlow id=\"SequenceFlow_0l1vvfm\" sourceRef=\"StartEvent_1wdaekz\" targetRef=\"ExclusiveGateway_1n17dag\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0l9oyxz\" default=\"SequenceFlow_0o1tegg\">\n <bpmn:incoming>SequenceFlow_11t2yt2</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0o1tegg</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_1h3zapn</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_0o1tegg\" name=\"Nessun coporponente\" sourceRef=\"ExclusiveGateway_0l9oyxz\" targetRef=\"ExclusiveGateway_0qxjkdg\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1h3zapn\" name=\"Coproponenti presenti\" sourceRef=\"ExclusiveGateway_0l9oyxz\" targetRef=\"SubProcess_0uv3jg3\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[coProponents != null && coProponents.elements() != null && coProponents.elements().size()>0]]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:subProcess id=\"SubProcess_0uv3jg3\" name=\"015-Modifica della proposta\">\n <bpmn:incoming>SequenceFlow_1h3zapn</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1vbpyvz</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0uxmyy2</bpmn:outgoing>\n <bpmn:multiInstanceLoopCharacteristics isSequential=\"true\" camunda:collection=\"${coProponents.elements()}\" camunda:elementVariable=\"group_element\" />\n <bpmn:startEvent id=\"StartEvent_14j8lya\">\n <bpmn:extensionElements>\n <camunda:executionListener event=\"start\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var processInstanceId = execution.getProcessInstanceId();\n var ipa = execution.getTenantId();\n var processVersionId = execution.getProcessDefinitionId();\n\n execution.setVariable('processInstanceId', processInstanceId);\n execution.setVariable('ipa', ipa);\n execution.setVariable('processVersionId', processVersionId);\n]]></camunda:script>\n </camunda:executionListener>\n </bpmn:extensionElements>\n <bpmn:outgoing>SequenceFlow_0c4rx7x</bpmn:outgoing>\n </bpmn:startEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0567dsg\" sourceRef=\"Task_0og5it7\" targetRef=\"ExclusiveGateway_0igcouk\" />\n <bpmn:userTask id=\"Task_0og5it7\" name=\"Modifica Proposta\" camunda:formKey=\"0bce730e-3da6-44bb-8617-1dcaf4e14693\" camunda:candidateGroups=\"${group_element.prop("proponent").prop("organizationIdentityLink").value()}, ${group_element.prop("proponent").prop("organizationIdentityLink").value().concat("::personaleoperativo")}\">\n <bpmn:extensionElements>\n <camunda:formData>\n <camunda:formField id=\"nota_respingi_coprop\" label=\"Nota Respinta Proponente\" type=\"string\" />\n <camunda:formField id=\"oggetto_atto\" label=\"Oggetto Atto\" type=\"string\" />\n <camunda:formField id=\"testo_atto\" label=\"Testo Atto\" type=\"string\" />\n <camunda:formField id=\"respingi_atto\" label=\"Respingi Atto\" type=\"string\" />\n <camunda:formField id=\"nota_respingi\" label=\"Nota Respingi\" type=\"string\" />\n <camunda:formField id=\"allegati_atto\" label=\"Allegati\" type=\"string\" />\n </camunda:formData>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1r842t8</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0567dsg</bpmn:outgoing>\n </bpmn:userTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0c4rx7x\" sourceRef=\"StartEvent_14j8lya\" targetRef=\"Task_105gtw9\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0igcouk\">\n <bpmn:incoming>SequenceFlow_0m2tpqc</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_0567dsg</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_08bn9om</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0bpv2j7\" default=\"SequenceFlow_1r842t8\">\n <bpmn:incoming>SequenceFlow_181xm12</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1r842t8</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_03mrmwt</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1r842t8\" name=\"personale operativo\" sourceRef=\"ExclusiveGateway_0bpv2j7\" targetRef=\"Task_0og5it7\" />\n <bpmn:userTask id=\"Task_0rfpy7n\" name=\"Modifica Proposta\" camunda:formKey=\"159c0840-f1e6-4060-92c5-e70115b48581\" camunda:candidateGroups=\"${group_element.prop("proponent").prop("organizationIdentityLink").value()}, ${group_element.prop("proponent").prop("organizationIdentityLink").value().concat("::personaleoperativo")}\">\n <bpmn:extensionElements>\n <camunda:formData>\n <camunda:formField id=\"nota_respingi_coprop\" label=\"Nota Respinta Proponente\" type=\"string\" />\n <camunda:formField id=\"oggetto_atto\" label=\"Oggetto\" type=\"string\" />\n <camunda:formField id=\"testo_atto\" label=\"Testo Atto\" type=\"string\" />\n <camunda:formField id=\"respingi_atto\" label=\"Respingi atto\" type=\"string\" />\n <camunda:formField id=\"nota_respingi\" label=\"Nota Respingi\" type=\"string\" />\n <camunda:formField id=\"allegati_atto\" label=\"Allegati\" type=\"string\" />\n </camunda:formData>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_03mrmwt</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0m2tpqc</bpmn:outgoing>\n </bpmn:userTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_03mrmwt\" name=\"collaborazione non richiesta\" sourceRef=\"ExclusiveGateway_0bpv2j7\" targetRef=\"Task_0rfpy7n\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[group_element.prop(\"collaboration\").value() == 'none']]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:sequenceFlow id=\"SequenceFlow_0m2tpqc\" sourceRef=\"Task_0rfpy7n\" targetRef=\"ExclusiveGateway_0igcouk\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_1ax6dv3\" default=\"SequenceFlow_0urvnjk\">\n <bpmn:incoming>SequenceFlow_1q3w4xq</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0urvnjk</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_1wyxxsf</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_08ewq4x\">\n <bpmn:incoming>SequenceFlow_1o1yvzf</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_0urvnjk</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_07p1epa</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_08bn9om\" sourceRef=\"ExclusiveGateway_0igcouk\" targetRef=\"Task_0c6cr0e\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0urvnjk\" name=\"atto non respinto\" sourceRef=\"ExclusiveGateway_1ax6dv3\" targetRef=\"ExclusiveGateway_08ewq4x\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1wyxxsf\" name=\"atto respinto\" sourceRef=\"ExclusiveGateway_1ax6dv3\" targetRef=\"Task_01lmvg0\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\">respingi_atto == true</bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:sequenceFlow id=\"SequenceFlow_1o1yvzf\" sourceRef=\"IntermediateThrowEvent_07oepfr\" targetRef=\"ExclusiveGateway_08ewq4x\" />\n <bpmn:intermediateThrowEvent id=\"IntermediateThrowEvent_07oepfr\">\n <bpmn:incoming>SequenceFlow_1idfxsk</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1o1yvzf</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"atto-respinto\" />\n </bpmn:intermediateThrowEvent>\n <bpmn:endEvent id=\"EndEvent_1jth08o\">\n <bpmn:incoming>SequenceFlow_07p1epa</bpmn:incoming>\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_07p1epa\" sourceRef=\"ExclusiveGateway_08ewq4x\" targetRef=\"EndEvent_1jth08o\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_181xm12\" sourceRef=\"Task_105gtw9\" targetRef=\"ExclusiveGateway_0bpv2j7\" />\n <bpmn:serviceTask id=\"Task_105gtw9\" name=\"aggiorna metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId') );\npayload.prop(\"processInstanceId\", execution.getVariable('processInstanceId') );\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0c4rx7x</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_181xm12</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_1q3w4xq\" sourceRef=\"Task_0c6cr0e\" targetRef=\"ExclusiveGateway_1ax6dv3\" />\n <bpmn:serviceTask id=\"Task_0c6cr0e\" name=\"genera pdf\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/generate-pdf</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\nif(execution.getVariable('processVersionId')){ payload.prop(\"processVersionId\", execution.getVariable('processVersionId')) }\npayload.prop(\"taskId\", \"Task_0c6cr0e\" );\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\npayload.prop(\"reportTemplateRef\", \"5f3d2c327f04ba07de98a807\" );\npayload.prop(\"reportTemplateVariables\", {\n \"testo_atto\": (getSpinVal(testo_atto) ? getSpinVal(testo_atto).toString() : execution.getVariable('testo_atto')),\n\"oggetto_atto\": (getSpinVal(oggetto_atto) ? getSpinVal(oggetto_atto).toString() : execution.getVariable('oggetto_atto')),\n\"proponent\": (getSpinVal(proponent) ? getSpinVal(proponent).toString() : execution.getVariable('proponent')),\n\"numero_provvisorio\": (getSpinVal(numero_provvisorio) ? getSpinVal(numero_provvisorio).toString() : execution.getVariable('numero_provvisorio')),\n\"tipologia_atto_label\": (getSpinVal(tipologia_atto_label) ? getSpinVal(tipologia_atto_label).toString() : execution.getVariable('tipologia_atto_label'))\n } );\npayload.prop(\"generatedFileName\", \"informativa_giunta\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"reportPdfFile\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var reportPdfFile = S(response).prop(\"entity\").prop(\"reportPdfFile\").stringValue();\n connector.setVariable(\"pdf_file_Task_0c6cr0e\", reportPdfFile)\n reportPdfFile\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_08bn9om</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1q3w4xq</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_1idfxsk\" sourceRef=\"Task_01lmvg0\" targetRef=\"IntermediateThrowEvent_07oepfr\" />\n <bpmn:scriptTask id=\"Task_01lmvg0\" name=\"cancello le note del redattore\" scriptFormat=\"Javascript\">\n <bpmn:incoming>SequenceFlow_1wyxxsf</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1idfxsk</bpmn:outgoing>\n <bpmn:script><![CDATA[/* FUNCTION HEADER a2b6d6af-c5e2-49ea-b7c1-78f2eb06a729 */\n function setContextVariable(e,t){execution.setVariable(e,t)};\n/* ******* HEADER_BODY_SCRIPT_SEPARATOR 6c7be6bc-7953-4819-966c-e5f6d62534a9 ******* */ setContextVariable(\"nota_respingi_coprop\", '');]]></bpmn:script>\n </bpmn:scriptTask>\n </bpmn:subProcess>\n <bpmn:endEvent id=\"EndEvent_1fv2jdq\">\n <bpmn:incoming>SequenceFlow_0m5vzrh</bpmn:incoming>\n <bpmn:terminateEventDefinition />\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0mzi7pu\" sourceRef=\"ExclusiveGateway_1n17dag\" targetRef=\"Task_097ya1h\" />\n <bpmn:parallelGateway id=\"ExclusiveGateway_1n17dag\">\n <bpmn:incoming>SequenceFlow_0l1vvfm</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0mzi7pu</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_1glqkpv</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_1jh6kbb</bpmn:outgoing>\n </bpmn:parallelGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1glqkpv\" name=\"\" sourceRef=\"ExclusiveGateway_1n17dag\" targetRef=\"IntermediateCatchEvent_1a6hsm0\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateCatchEvent_1a6hsm0\" name=\"In attesa di un possibile ritiro dell'Atto\">\n <bpmn:incoming>SequenceFlow_1glqkpv</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_04qi4dg</bpmn:outgoing>\n <bpmn:messageEventDefinition messageRef=\"kill-instance\" />\n </bpmn:intermediateCatchEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_04qi4dg\" sourceRef=\"IntermediateCatchEvent_1a6hsm0\" targetRef=\"Task_18swngw\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1vscssa\" sourceRef=\"Task_18swngw\" targetRef=\"Task_0ls88wx\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0m5vzrh\" sourceRef=\"Task_0o71mi2\" targetRef=\"EndEvent_1fv2jdq\" />\n <bpmn:serviceTask id=\"Task_18swngw\" name=\"Stato atto: "Ritirato"\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"statusKey\", \"retired\" );\npayload.prop(\"statusLabel\", \"Ritirato\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusKey\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusKey = S(response).prop(\"entity\").prop(\"statusKey\").stringValue();\n connector.setVariable(\"statusKey\", statusKey)\n statusKey\n ]]></camunda:script>\n </camunda:outputParameter>\n <camunda:outputParameter name=\"status\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var status = S(response).prop(\"entity\").prop(\"status\").stringValue();\n connector.setVariable(\"status\", status)\n status\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_04qi4dg</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1vscssa</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:serviceTask id=\"Task_0o71mi2\" name=\"aggiorna metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId') );\npayload.prop(\"processInstanceId\", execution.getVariable('processInstanceId') );\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0xgad4g</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0m5vzrh</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_01wyi8a\" sourceRef=\"BoundaryEvent_0f2fnt0\" targetRef=\"ExclusiveGateway_19ijr3t\" />\n <bpmn:boundaryEvent id=\"BoundaryEvent_0f2fnt0\" name=\"atto respinto\" attachedToRef=\"SubProcess_0uv3jg3\">\n <bpmn:outgoing>SequenceFlow_01wyi8a</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"atto-respinto\" />\n </bpmn:boundaryEvent>\n <bpmn:endEvent id=\"EndEvent_0idfing\">\n <bpmn:incoming>SequenceFlow_0dcnqz3</bpmn:incoming>\n <bpmn:terminateEventDefinition />\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1jh6kbb\" sourceRef=\"ExclusiveGateway_1n17dag\" targetRef=\"ExclusiveGateway_0qgyrs0\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1iwl9da\" sourceRef=\"Task_0c8kyxg\" targetRef=\"ExclusiveGateway_0qgyrs0\" />\n <bpmn:serviceTask id=\"Task_0c8kyxg\" name=\"aggiorna metadata\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0szeqbo</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1iwl9da</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:userTask id=\"Task_017gu08\" name=\"Ricezione e verifica\" camunda:formKey=\"994563ac-78e7-40eb-9828-eb1502e33062\" camunda:candidateGroups=\"${proponent.prop("organizationIdentityLink").value()}, ${proponent.prop("organizationIdentityLink").value().concat("::responsabile")}\">\n <bpmn:extensionElements>\n <camunda:formData>\n <camunda:formField id=\"atto_riservato\" label=\"Atto riservato\" type=\"boolean\" />\n <camunda:formField id=\"oggetto_atto\" label=\"Oggetto\" type=\"string\" />\n <camunda:formField id=\"testo_atto\" label=\"Testo Atto\" type=\"string\" />\n <camunda:formField id=\"respingi_atto\" label=\"Respingi atto\" type=\"string\" />\n <camunda:formField id=\"nota_respingi_coprop\" label=\"Nota Respingi\" type=\"string\" />\n <camunda:formField id=\"allegati_atto\" label=\"Allegati\" type=\"string\" />\n </camunda:formData>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_19dkoly</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_14ffcfh</bpmn:outgoing>\n </bpmn:userTask>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_051rneu\" name=\"atto respinto\" default=\"SequenceFlow_03y1fsc\">\n <bpmn:incoming>SequenceFlow_0bzkfz4</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_14ffcfh</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1qi6zs0</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_03y1fsc</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1qi6zs0\" sourceRef=\"ExclusiveGateway_051rneu\" targetRef=\"Task_10qxfzd\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[respingi_atto == 'true']]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:sequenceFlow id=\"SequenceFlow_1cw1633\" sourceRef=\"Task_1c1ubpi\" targetRef=\"Task_0987mh1\" />\n <bpmn:serviceTask id=\"Task_1c1ubpi\" name=\"aggiorna metadati atto\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId') );\npayload.prop(\"processInstanceId\", execution.getVariable('processInstanceId') );\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0uxmyy2</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1cw1633</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0uxmyy2\" sourceRef=\"SubProcess_0uv3jg3\" targetRef=\"Task_1c1ubpi\" />\n <bpmn:subProcess id=\"SubProcess_19zgvbj\" name=\"Verifica della Segreteria del Segretario generale\">\n <bpmn:incoming>SequenceFlow_0xl0aox</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0m47a3k</bpmn:outgoing>\n <bpmn:startEvent id=\"StartEvent_1in8nhs\">\n <bpmn:extensionElements>\n <camunda:executionListener event=\"start\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var processInstanceId = execution.getProcessInstanceId();\n var ipa = execution.getTenantId();\n var processVersionId = execution.getProcessDefinitionId();\n\n execution.setVariable('processInstanceId', processInstanceId);\n execution.setVariable('ipa', ipa);\n execution.setVariable('processVersionId', processVersionId);\n]]></camunda:script>\n </camunda:executionListener>\n </bpmn:extensionElements>\n <bpmn:outgoing>SequenceFlow_127ixdn</bpmn:outgoing>\n </bpmn:startEvent>\n <bpmn:endEvent id=\"EndEvent_0acyuhv\">\n <bpmn:incoming>SequenceFlow_0lk91uy</bpmn:incoming>\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_127ixdn\" sourceRef=\"StartEvent_1in8nhs\" targetRef=\"Task_16adeor\" />\n <bpmn:userTask id=\"Task_03e7pih\" name=\"Ricezione e verifica\" camunda:formKey=\"0f937c2c-48ee-4b83-9055-2309dbf6369a\" camunda:candidateGroups=\"C_DEMO::segreteria_segretario_generale::caposettore,C_DEMO::segreteria_segretario_generale::dirigente,C_DEMO::segreteria_segretario_generale::personaleoperativo\">\n <bpmn:extensionElements>\n <camunda:formData>\n <camunda:formField id=\"oggetto_atto\" label=\"Oggetto\" type=\"string\" />\n <camunda:formField id=\"testo_atto\" label=\"Testo\" type=\"string\" />\n <camunda:formField id=\"respingi_atto\" label=\"Respingi\" type=\"string\" />\n <camunda:formField id=\"nota_respingi\" label=\"Nota Respingi\" type=\"string\" />\n <camunda:formField id=\"allegati_atto\" label=\"Allegati\" type=\"string\" />\n </camunda:formData>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0ot1hqf</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0lk91uy</bpmn:outgoing>\n </bpmn:userTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0ot1hqf\" sourceRef=\"Task_1xvljyj\" targetRef=\"Task_03e7pih\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1wqn2yh\" sourceRef=\"Task_16adeor\" targetRef=\"Task_1xvljyj\" />\n <bpmn:serviceTask id=\"Task_1xvljyj\" name=\"aggiorna metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1wqn2yh</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0ot1hqf</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:serviceTask id=\"Task_16adeor\" name=\"segretario generale modificabile\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/workflow-status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"workflowStatus\", \"{\\\"changeRagioniereCapoEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true},\\\"changeSegretarioGeneraleEnabled\\\":{\\\"value\\\":\\\"true\\\",\\\"disabled\\\":false},\\\"changeSignatureOwnerEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true},\\\"retireActEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true}}\" );\nif(execution.getVariable('statusMap')){ payload.prop(\"statusMap\", execution.getVariable('statusMap')) }\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusMap\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusMap = S(response).prop(\"entity\").prop(\"statusMap\").stringValue();\n connector.setVariable(\"statusMap\", statusMap)\n statusMap\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_127ixdn</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1wqn2yh</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0lk91uy\" sourceRef=\"Task_03e7pih\" targetRef=\"EndEvent_0acyuhv\" />\n </bpmn:subProcess>\n <bpmn:sequenceFlow id=\"SequenceFlow_0m47a3k\" sourceRef=\"SubProcess_19zgvbj\" targetRef=\"ExclusiveGateway_1mhg82e\" />\n <bpmn:subProcess id=\"SubProcess_1apz71f\" name=\"Firma proponente, coproponenti\">\n <bpmn:incoming>SequenceFlow_0q5sayq</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1fsrw0r</bpmn:outgoing>\n <bpmn:startEvent id=\"StartEvent_0qbni19\">\n <bpmn:extensionElements>\n <camunda:executionListener event=\"start\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var processInstanceId = execution.getProcessInstanceId();\n var ipa = execution.getTenantId();\n var processVersionId = execution.getProcessDefinitionId();\n\n execution.setVariable('processInstanceId', processInstanceId);\n execution.setVariable('ipa', ipa);\n execution.setVariable('processVersionId', processVersionId);\n]]></camunda:script>\n </camunda:executionListener>\n </bpmn:extensionElements>\n <bpmn:outgoing>SequenceFlow_1xhh0z1</bpmn:outgoing>\n </bpmn:startEvent>\n <bpmn:serviceTask id=\"Task_1o84u1b\" name=\"stato "Approvato dai proponenti"\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"statusKey\", \"proponents_approved\" );\npayload.prop(\"statusLabel\", \"Approvato Proponenti\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusKey\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusKey = S(response).prop(\"entity\").prop(\"statusKey\").stringValue();\n connector.setVariable(\"statusKey\", statusKey)\n statusKey\n ]]></camunda:script>\n </camunda:outputParameter>\n <camunda:outputParameter name=\"status\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var status = S(response).prop(\"entity\").prop(\"status\").stringValue();\n connector.setVariable(\"status\", status)\n status\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1mq7893</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_071vkyv</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:endEvent id=\"EndEvent_1qyebvk\">\n <bpmn:incoming>SequenceFlow_0uqxcub</bpmn:incoming>\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1xhh0z1\" sourceRef=\"StartEvent_0qbni19\" targetRef=\"Task_0kz1lri\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_071vkyv\" sourceRef=\"Task_1o84u1b\" targetRef=\"Task_0dzep23\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1nkng04\" sourceRef=\"IntermediateThrowEvent_0uqa6ap\" targetRef=\"ExclusiveGateway_0o1oyxm\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_0uqa6ap\" name=\"Richiesta firma eseguita\">\n <bpmn:incoming>SequenceFlow_09e5fci</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1nkng04</bpmn:outgoing>\n <bpmn:messageEventDefinition messageRef=\"sign-request-done\" />\n </bpmn:intermediateCatchEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0e4z74k\" sourceRef=\"Task_0dzep23\" targetRef=\"IntermediateThrowEvent_0v6ogvs\" />\n <bpmn:serviceTask id=\"Task_0dzep23\" name=\"aggiorna metadati atto\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId') );\npayload.prop(\"processInstanceId\", execution.getVariable('processInstanceId') );\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_071vkyv</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0e4z74k</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_1ydsqmw\" sourceRef=\"Task_002rfr2\" targetRef=\"Task_0uju5j2\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1ixghrj\" sourceRef=\"Task_0uju5j2\" targetRef=\"IntermediateThrowEvent_1apr6ig\" />\n <bpmn:serviceTask id=\"Task_002rfr2\" name=\"stato "In attesa di firma"\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"statusKey\", \"signing\" );\npayload.prop(\"statusLabel\", \"In attesa di Firma\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusKey\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusKey = S(response).prop(\"entity\").prop(\"statusKey\").stringValue();\n connector.setVariable(\"statusKey\", statusKey)\n statusKey\n ]]></camunda:script>\n </camunda:outputParameter>\n <camunda:outputParameter name=\"status\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var status = S(response).prop(\"entity\").prop(\"status\").stringValue();\n connector.setVariable(\"status\", status)\n status\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0bwunp6</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1ydsqmw</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:serviceTask id=\"Task_0uju5j2\" name=\"aggiornamento metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId') );\npayload.prop(\"processInstanceId\", execution.getVariable('processInstanceId') );\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1ydsqmw</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1ixghrj</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_01bnftj\" sourceRef=\"Task_1j8fxx4\" targetRef=\"Task_07971jg\" />\n <bpmn:serviceTask id=\"Task_1j8fxx4\" name=\"richiesta firma\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/actionrequest</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"templateFrontespizio\", \"5f3d2c687f04ba07de98a80a\" );\npayload.prop(\"reportTemplateVariables\", {\n \"oggetto_atto\": (getSpinVal(oggetto_atto) ? getSpinVal(oggetto_atto).toString() : execution.getVariable('oggetto_atto'))\n } );\nif(execution.getVariable('reportPdfFile')){ payload.prop(\"testoAtto\", execution.getVariable('reportPdfFile')) }\nif(execution.getVariable('allegati_atto')){ payload.prop(\"allegatiAtto\", execution.getVariable('allegati_atto')) }\npayload.prop(\"requestedAction\", \"firmaPropCoProp\" );\npayload.prop(\"filename\", \"frontespizio.pdf\" );\nif(execution.getVariable('proponent')){ payload.prop(\"proponent\", execution.getVariable('proponent')) }\nif(execution.getVariable('coProponents')){ payload.prop(\"coProponents\", execution.getVariable('coProponents')) }\npayload.prop(\"signers\", {\n \n } );\npayload.prop(\"parereTecnico\", {\n \n } );\npayload.prop(\"parereLegittimita\", {\n \n } );\npayload.prop(\"parereContabile\", {\n \n } );\npayload.prop(\"firmaSoloFrontespizio\", \"true\" );\nif(execution.getVariable('sys_last_user_who_claim_task')){ payload.prop(\"lastUserWhoClaimTask\", execution.getVariable('sys_last_user_who_claim_task')) }\nif(execution.getVariable('sys_last_userorgan_who_claim_task')){ payload.prop(\"lastUserOrganWhoClaimTask\", execution.getVariable('sys_last_userorgan_who_claim_task')) }\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1y70giq</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_01bnftj</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0o1oyxm\" default=\"SequenceFlow_1a280t1\">\n <bpmn:incoming>SequenceFlow_1nkng04</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1msphx8</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_1a280t1</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1msphx8\" name=\"firma completata con successo\" sourceRef=\"ExclusiveGateway_0o1oyxm\" targetRef=\"ExclusiveGateway_0db74se\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[signStatusCode === 'ok']]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0db74se\">\n <bpmn:incoming>SequenceFlow_1msphx8</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1fi6wgy</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1dwrr8o</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1a280t1\" name=\"firma rifiutata\" sourceRef=\"ExclusiveGateway_0o1oyxm\" targetRef=\"IntermediateThrowEvent_1d8xtzj\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1fi6wgy\" sourceRef=\"IntermediateThrowEvent_1d8xtzj\" targetRef=\"ExclusiveGateway_0db74se\" />\n <bpmn:intermediateThrowEvent id=\"IntermediateThrowEvent_1d8xtzj\">\n <bpmn:incoming>SequenceFlow_1a280t1</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1fi6wgy</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"firma-respinta\" />\n </bpmn:intermediateThrowEvent>\n <bpmn:serviceTask id=\"Task_07971jg\" name=\"firma non più modificabile e atto non ritirabile\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/workflow-status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"workflowStatus\", \"{\\\"changeRagioniereCapoEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true},\\\"changeSegretarioGeneraleEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true},\\\"changeSignatureOwnerEnabled\\\":{\\\"value\\\":\\\"false\\\",\\\"disabled\\\":false},\\\"retireActEnabled\\\":{\\\"value\\\":\\\"false\\\",\\\"disabled\\\":false}}\" );\nif(execution.getVariable('statusMap')){ payload.prop(\"statusMap\", execution.getVariable('statusMap')) }\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusMap\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusMap = S(response).prop(\"entity\").prop(\"statusMap\").stringValue();\n connector.setVariable(\"statusMap\", statusMap)\n statusMap\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_01bnftj</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0bwunp6</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0bwunp6\" sourceRef=\"Task_07971jg\" targetRef=\"Task_002rfr2\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1y70giq\" sourceRef=\"Task_0kz1lri\" targetRef=\"Task_1j8fxx4\" />\n <bpmn:serviceTask id=\"Task_0kz1lri\" name=\"aggiornamento metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1xhh0z1</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1y70giq</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0uqxcub\" sourceRef=\"IntermediateThrowEvent_0v6ogvs\" targetRef=\"EndEvent_1qyebvk\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_0v6ogvs\">\n <bpmn:incoming>SequenceFlow_0e4z74k</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0uqxcub</bpmn:outgoing>\n <bpmn:timerEventDefinition>\n <bpmn:timeDuration xsi:type=\"bpmn:tFormalExpression\">PT1S</bpmn:timeDuration>\n </bpmn:timerEventDefinition>\n </bpmn:intermediateCatchEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1dwrr8o\" sourceRef=\"ExclusiveGateway_0db74se\" targetRef=\"Task_138zqm3\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_00k3mfw\" sourceRef=\"Task_138zqm3\" targetRef=\"IntermediateThrowEvent_01qs7av\" />\n <bpmn:serviceTask id=\"Task_138zqm3\" name=\"aggiorna metadati atto\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1dwrr8o</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_00k3mfw</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_1mq7893\" sourceRef=\"IntermediateThrowEvent_01qs7av\" targetRef=\"Task_1o84u1b\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_01qs7av\">\n <bpmn:incoming>SequenceFlow_00k3mfw</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1mq7893</bpmn:outgoing>\n <bpmn:timerEventDefinition>\n <bpmn:timeDuration xsi:type=\"bpmn:tFormalExpression\">PT1S</bpmn:timeDuration>\n </bpmn:timerEventDefinition>\n </bpmn:intermediateCatchEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_09e5fci\" sourceRef=\"IntermediateThrowEvent_1apr6ig\" targetRef=\"IntermediateThrowEvent_0uqa6ap\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_1apr6ig\">\n <bpmn:incoming>SequenceFlow_1ixghrj</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_09e5fci</bpmn:outgoing>\n <bpmn:timerEventDefinition>\n <bpmn:timeDuration xsi:type=\"bpmn:tFormalExpression\">PT1S</bpmn:timeDuration>\n </bpmn:timerEventDefinition>\n </bpmn:intermediateCatchEvent>\n </bpmn:subProcess>\n <bpmn:sequenceFlow id=\"SequenceFlow_1fsrw0r\" sourceRef=\"SubProcess_1apz71f\" targetRef=\"ExclusiveGateway_1n6p4wo\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0dcnqz3\" sourceRef=\"Task_054uch1\" targetRef=\"EndEvent_0idfing\" />\n <bpmn:serviceTask id=\"Task_054uch1\" name=\"aggiorna metadata\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0s8em5c</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0dcnqz3</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0obsmec\" sourceRef=\"SubProcess_057zeck\" targetRef=\"Task_0dto57y\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_11t2yt2\" sourceRef=\"Task_0dto57y\" targetRef=\"ExclusiveGateway_0l9oyxz\" />\n <bpmn:serviceTask id=\"Task_0dto57y\" name=\"genera pdf\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/generate-pdf</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\nif(execution.getVariable('processVersionId')){ payload.prop(\"processVersionId\", execution.getVariable('processVersionId')) }\npayload.prop(\"taskId\", \"Task_0dto57y\" );\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\npayload.prop(\"reportTemplateRef\", \"5f3d2c327f04ba07de98a807\" );\npayload.prop(\"reportTemplateVariables\", {\n \"oggetto_atto\": (getSpinVal(oggetto_atto) ? getSpinVal(oggetto_atto).toString() : execution.getVariable('oggetto_atto')),\n\"testo_atto\": (getSpinVal(testo_atto) ? getSpinVal(testo_atto).toString() : execution.getVariable('testo_atto')),\n\"numero_provvisorio\": (getSpinVal(numero_provvisorio) ? getSpinVal(numero_provvisorio).toString() : execution.getVariable('numero_provvisorio')),\n\"tipologia_atto_label\": (getSpinVal(tipologia_atto_label) ? getSpinVal(tipologia_atto_label).toString() : execution.getVariable('tipologia_atto_label')),\n\"proponent\": (getSpinVal(proponent) ? getSpinVal(proponent).toString() : execution.getVariable('proponent'))\n } );\npayload.prop(\"generatedFileName\", \"informativa_giunta\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"reportPdfFile\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var reportPdfFile = S(response).prop(\"entity\").prop(\"reportPdfFile\").stringValue();\n connector.setVariable(\"pdf_file_Task_0dto57y\", reportPdfFile)\n reportPdfFile\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0obsmec</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_11t2yt2</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0szeqbo\" sourceRef=\"IntermediateThrowEvent_00z4ekg\" targetRef=\"Task_0c8kyxg\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0qgyrs0\">\n <bpmn:incoming>SequenceFlow_1jh6kbb</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1iwl9da</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0bqal6u</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_0bqal6u\" sourceRef=\"ExclusiveGateway_0qgyrs0\" targetRef=\"IntermediateThrowEvent_00z4ekg\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_00z4ekg\" name=\"In attesa di un possibile aggiornamento firmatario\">\n <bpmn:incoming>SequenceFlow_0bqal6u</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0szeqbo</bpmn:outgoing>\n <bpmn:messageEventDefinition messageRef=\"update-signature\" />\n </bpmn:intermediateCatchEvent>\n <bpmn:subProcess id=\"SubProcess_0o70lka\" name=\"apposizione visto elettronico del segretario generale\">\n <bpmn:incoming>SequenceFlow_0nci0ba</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0xp164f</bpmn:outgoing>\n <bpmn:startEvent id=\"StartEvent_0xihful\">\n <bpmn:extensionElements>\n <camunda:executionListener event=\"start\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var processInstanceId = execution.getProcessInstanceId();\n var ipa = execution.getTenantId();\n var processVersionId = execution.getProcessDefinitionId();\n\n execution.setVariable('processInstanceId', processInstanceId);\n execution.setVariable('ipa', ipa);\n execution.setVariable('processVersionId', processVersionId);\n]]></camunda:script>\n </camunda:executionListener>\n </bpmn:extensionElements>\n <bpmn:outgoing>SequenceFlow_1ak31ho</bpmn:outgoing>\n </bpmn:startEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1ak31ho\" sourceRef=\"StartEvent_0xihful\" targetRef=\"Task_0jpggkg\" />\n <bpmn:endEvent id=\"EndEvent_076tobo\">\n <bpmn:incoming>SequenceFlow_1wg7dji</bpmn:incoming>\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0n6vylp\" sourceRef=\"Task_1twtthz\" targetRef=\"Task_1cknfdw\" />\n <bpmn:serviceTask id=\"Task_1twtthz\" name=\"stato: "Presentabile alla Giunta"\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"statusKey\", \"to_debate\" );\npayload.prop(\"statusLabel\", \"Presentabile alla Giunta\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusKey\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusKey = S(response).prop(\"entity\").prop(\"statusKey\").stringValue();\n connector.setVariable(\"statusKey\", statusKey)\n statusKey\n ]]></camunda:script>\n </camunda:outputParameter>\n <camunda:outputParameter name=\"status\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var status = S(response).prop(\"entity\").prop(\"status\").stringValue();\n connector.setVariable(\"status\", status)\n status\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1ntd2dt</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0n6vylp</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_1ntd2dt\" sourceRef=\"Task_0qu6wht\" targetRef=\"Task_1twtthz\" />\n <bpmn:serviceTask id=\"Task_0qu6wht\" name=\"richiesto visto\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/actionrequest</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"templateFrontespizio\", \"5f3d2c687f04ba07de98a80a\" );\npayload.prop(\"reportTemplateVariables\", {\n \"oggetto_atto\": (getSpinVal(oggetto_atto) ? getSpinVal(oggetto_atto).toString() : execution.getVariable('oggetto_atto')),\n\"numero_provvisorio\": (getSpinVal(numero_provvisorio) ? getSpinVal(numero_provvisorio).toString() : execution.getVariable('numero_provvisorio')),\n\"proponent\": (getSpinVal(proponent) ? getSpinVal(proponent).toString() : execution.getVariable('proponent'))\n } );\nif(execution.getVariable('reportPdfFile')){ payload.prop(\"testoAtto\", execution.getVariable('reportPdfFile')) }\nif(execution.getVariable('allegati_atto')){ payload.prop(\"allegatiAtto\", execution.getVariable('allegati_atto')) }\npayload.prop(\"requestedAction\", \"vistoSegreteria\" );\npayload.prop(\"filename\", \"frontespizio.pdf\" );\nif(execution.getVariable('proponent')){ payload.prop(\"proponent\", execution.getVariable('proponent')) }\nif(execution.getVariable('coProponents')){ payload.prop(\"coProponents\", execution.getVariable('coProponents')) }\npayload.prop(\"signers\", {\n \"act_signers\": (getSpinVal(act_signers) ? getSpinVal(act_signers).toString() : execution.getVariable('act_signers'))\n } );\npayload.prop(\"parereTecnico\", {\n \n } );\npayload.prop(\"parereLegittimita\", {\n \n } );\npayload.prop(\"parereContabile\", {\n \n } );\nif(execution.getVariable('sys_last_user_who_claim_task')){ payload.prop(\"lastUserWhoClaimTask\", execution.getVariable('sys_last_user_who_claim_task')) }\nif(execution.getVariable('sys_last_userorgan_who_claim_task')){ payload.prop(\"lastUserOrganWhoClaimTask\", execution.getVariable('sys_last_userorgan_who_claim_task')) }\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_09f9a0i</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1ntd2dt</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_09ugn6m\" sourceRef=\"Task_1cknfdw\" targetRef=\"IntermediateThrowEvent_0a2hwlj\" />\n <bpmn:serviceTask id=\"Task_1cknfdw\" name=\"aggiornamento metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0n6vylp</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_09ugn6m</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0vcvflv\" sourceRef=\"IntermediateThrowEvent_042c30y\" targetRef=\"ExclusiveGateway_1yz9h52\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_042c30y\">\n <bpmn:incoming>SequenceFlow_0dntl64</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0vcvflv</bpmn:outgoing>\n <bpmn:messageEventDefinition messageRef=\"sign-request-done\" />\n </bpmn:intermediateCatchEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1wg7dji\" sourceRef=\"Task_1c6dp2m\" targetRef=\"EndEvent_076tobo\" />\n <bpmn:serviceTask id=\"Task_1c6dp2m\" name=\"aggioranemtno metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0sgru9q</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1wg7dji</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_1yz9h52\" default=\"SequenceFlow_1x9vbit\">\n <bpmn:incoming>SequenceFlow_0vcvflv</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_07v4okd</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_1x9vbit</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_07v4okd\" name=\"vistato dal segretario\" sourceRef=\"ExclusiveGateway_1yz9h52\" targetRef=\"ExclusiveGateway_0inzn5b\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[signStatusCode === 'ok']]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0inzn5b\">\n <bpmn:incoming>SequenceFlow_07v4okd</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1w51bwo</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0sgru9q</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_0sgru9q\" sourceRef=\"ExclusiveGateway_0inzn5b\" targetRef=\"Task_1c6dp2m\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1x9vbit\" name=\"visto rifiutato\" sourceRef=\"ExclusiveGateway_1yz9h52\" targetRef=\"IntermediateThrowEvent_0005qon\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1w51bwo\" sourceRef=\"IntermediateThrowEvent_0005qon\" targetRef=\"ExclusiveGateway_0inzn5b\" />\n <bpmn:intermediateThrowEvent id=\"IntermediateThrowEvent_0005qon\">\n <bpmn:incoming>SequenceFlow_1x9vbit</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1w51bwo</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"visto-rifiutato\" />\n </bpmn:intermediateThrowEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1qdze6b\" sourceRef=\"Task_0jpggkg\" targetRef=\"Task_0mz086w\" />\n <bpmn:serviceTask id=\"Task_0jpggkg\" name=\"segretario generale non modificabile\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/workflow-status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"workflowStatus\", \"{\\\"changeRagioniereCapoEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true},\\\"changeSegretarioGeneraleEnabled\\\":{\\\"value\\\":\\\"false\\\",\\\"disabled\\\":false},\\\"changeSignatureOwnerEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true},\\\"retireActEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true}}\" );\nif(execution.getVariable('statusMap')){ payload.prop(\"statusMap\", execution.getVariable('statusMap')) }\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusMap\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusMap = S(response).prop(\"entity\").prop(\"statusMap\").stringValue();\n connector.setVariable(\"statusMap\", statusMap)\n statusMap\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1ak31ho</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1qdze6b</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_09f9a0i\" sourceRef=\"Task_0mz086w\" targetRef=\"Task_0qu6wht\" />\n <bpmn:serviceTask id=\"Task_0mz086w\" name=\"aggiornamento metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1qdze6b</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_09f9a0i</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0dntl64\" sourceRef=\"IntermediateThrowEvent_0a2hwlj\" targetRef=\"IntermediateThrowEvent_042c30y\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_0a2hwlj\">\n <bpmn:incoming>SequenceFlow_09ugn6m</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0dntl64</bpmn:outgoing>\n <bpmn:timerEventDefinition>\n <bpmn:timeDuration xsi:type=\"bpmn:tFormalExpression\">PT1S</bpmn:timeDuration>\n </bpmn:timerEventDefinition>\n </bpmn:intermediateCatchEvent>\n </bpmn:subProcess>\n <bpmn:sequenceFlow id=\"SequenceFlow_0xp164f\" sourceRef=\"SubProcess_0o70lka\" targetRef=\"Task_0wong3v\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_1mhg82e\">\n <bpmn:incoming>SequenceFlow_0m47a3k</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0nci0ba</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_1fgbnnr</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_0nci0ba\" sourceRef=\"ExclusiveGateway_1mhg82e\" targetRef=\"SubProcess_0o70lka\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1fgbnnr\" name=\"atto respinto\" sourceRef=\"ExclusiveGateway_1mhg82e\" targetRef=\"Task_1h3vtfn\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[respingi_atto == 'true']]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:serviceTask id=\"Task_1h3vtfn\" name=\"stato: Rimesso in bozza\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"statusKey\", \"drafted\" );\npayload.prop(\"statusLabel\", \"Rimesso in Bozza\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusKey\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusKey = S(response).prop(\"entity\").prop(\"statusKey\").stringValue();\n connector.setVariable(\"statusKey\", statusKey)\n statusKey\n ]]></camunda:script>\n </camunda:outputParameter>\n <camunda:outputParameter name=\"status\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var status = S(response).prop(\"entity\").prop(\"status\").stringValue();\n connector.setVariable(\"status\", status)\n status\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0zqhg39</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_0gy8u6u</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1fgbnnr</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1it29m9</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0n75v6t</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0xgad4g\" sourceRef=\"Task_0ls88wx\" targetRef=\"Task_0o71mi2\" />\n <bpmn:serviceTask id=\"Task_0ls88wx\" name=\"genera pdf atto ritirato\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/generate-pdf</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\nif(execution.getVariable('processVersionId')){ payload.prop(\"processVersionId\", execution.getVariable('processVersionId')) }\npayload.prop(\"taskId\", \"Task_0ls88wx\" );\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\npayload.prop(\"reportTemplateRef\", \"5f3d2c467f04ba07de98a808\" );\npayload.prop(\"reportTemplateVariables\", {\n \"oggetto_atto\": (getSpinVal(oggetto_atto) ? getSpinVal(oggetto_atto).toString() : execution.getVariable('oggetto_atto')),\n\"notaRitira\": (getSpinVal(notaRitira) ? getSpinVal(notaRitira).toString() : execution.getVariable('notaRitira')),\n\"numero_provvisorio\": (getSpinVal(numero_provvisorio) ? getSpinVal(numero_provvisorio).toString() : execution.getVariable('numero_provvisorio')),\n\"proponent\": (getSpinVal(proponent) ? getSpinVal(proponent).toString() : execution.getVariable('proponent')),\n\"tipologia_atto_label\": (getSpinVal(tipologia_atto_label) ? getSpinVal(tipologia_atto_label).toString() : execution.getVariable('tipologia_atto_label'))\n } );\npayload.prop(\"generatedFileName\", \"NotaRitiro\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"reportPdfFile\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var reportPdfFile = S(response).prop(\"entity\").prop(\"reportPdfFile\").stringValue();\n connector.setVariable(\"pdf_file_Task_0ls88wx\", reportPdfFile)\n reportPdfFile\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1vscssa</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0xgad4g</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_1h4jo9p\" default=\"SequenceFlow_0plz3ay\">\n <bpmn:incoming>SequenceFlow_1fns3ph</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_0mccnhj</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1bg99od</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_0plz3ay</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1bg99od\" name=\"sono presenti assessori\" sourceRef=\"ExclusiveGateway_1h4jo9p\" targetRef=\"SubProcess_0xn5zrk\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[proponent != null && proponent.prop(\"referentAldermans\") != null && proponent.prop(\"referentAldermans\").elements() != null && proponent.prop(\"referentAldermans\").elements().size()>0]]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0mxequv\">\n <bpmn:incoming>SequenceFlow_089yol0</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_0plz3ay</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0xl0aox</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_0xl0aox\" sourceRef=\"ExclusiveGateway_0mxequv\" targetRef=\"SubProcess_19zgvbj\" />\n <bpmn:subProcess id=\"SubProcess_0xn5zrk\" name=\"Visto Assessori\">\n <bpmn:incoming>SequenceFlow_1bg99od</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_089yol0</bpmn:outgoing>\n <bpmn:startEvent id=\"StartEvent_1p6apb4\">\n <bpmn:extensionElements>\n <camunda:executionListener event=\"start\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var processInstanceId = execution.getProcessInstanceId();\n var ipa = execution.getTenantId();\n var processVersionId = execution.getProcessDefinitionId();\n\n execution.setVariable('processInstanceId', processInstanceId);\n execution.setVariable('ipa', ipa);\n execution.setVariable('processVersionId', processVersionId);\n]]></camunda:script>\n </camunda:executionListener>\n </bpmn:extensionElements>\n <bpmn:outgoing>SequenceFlow_01jkuxl</bpmn:outgoing>\n </bpmn:startEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_01jkuxl\" sourceRef=\"StartEvent_1p6apb4\" targetRef=\"Task_07iaun7\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0nafmgu\" sourceRef=\"Task_16iq7xo\" targetRef=\"Task_1c4ms1w\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0qum3va\" sourceRef=\"Task_1c4ms1w\" targetRef=\"Task_003ykqx\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1qq72pa\" sourceRef=\"Task_003ykqx\" targetRef=\"IntermediateThrowEvent_1tfs4id\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_16dq82p\" sourceRef=\"IntermediateThrowEvent_1v7ketw\" targetRef=\"ExclusiveGateway_0itgpp8\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_05cgo16\" sourceRef=\"Task_0gbbuzk\" targetRef=\"Task_1nnqja8\" />\n <bpmn:endEvent id=\"EndEvent_1td218a\">\n <bpmn:incoming>SequenceFlow_03g996x</bpmn:incoming>\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0cs8qgb\" sourceRef=\"Task_1nnqja8\" targetRef=\"IntermediateThrowEvent_1waf2ww\" />\n <bpmn:serviceTask id=\"Task_16iq7xo\" name=\"richiedi visto assessori\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/actionrequest</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"templateFrontespizio\", \"5f3d2c687f04ba07de98a80a\" );\npayload.prop(\"reportTemplateVariables\", {\n \"oggetto_atto\": (getSpinVal(oggetto_atto) ? getSpinVal(oggetto_atto).toString() : execution.getVariable('oggetto_atto'))\n } );\nif(execution.getVariable('reportPdfFile')){ payload.prop(\"testoAtto\", execution.getVariable('reportPdfFile')) }\nif(execution.getVariable('allegati_atto')){ payload.prop(\"allegatiAtto\", execution.getVariable('allegati_atto')) }\npayload.prop(\"requestedAction\", \"vistoAssessore\" );\npayload.prop(\"filename\", \"frontespizio.pdf\" );\nif(execution.getVariable('proponent')){ payload.prop(\"proponent\", execution.getVariable('proponent')) }\nif(execution.getVariable('coProponents')){ payload.prop(\"coProponents\", execution.getVariable('coProponents')) }\npayload.prop(\"signers\", {\n \n } );\npayload.prop(\"parereTecnico\", {\n \n } );\npayload.prop(\"parereLegittimita\", {\n \n } );\npayload.prop(\"parereContabile\", {\n \n } );\npayload.prop(\"firmaSoloFrontespizio\", \"true\" );\nif(execution.getVariable('sys_last_user_who_claim_task')){ payload.prop(\"lastUserWhoClaimTask\", execution.getVariable('sys_last_user_who_claim_task')) }\nif(execution.getVariable('sys_last_userorgan_who_claim_task')){ payload.prop(\"lastUserOrganWhoClaimTask\", execution.getVariable('sys_last_userorgan_who_claim_task')) }\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0br91ig</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0nafmgu</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:serviceTask id=\"Task_1c4ms1w\" name=\"stato "In attesa del visto degli assessori"\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"statusKey\", \"checking\" );\npayload.prop(\"statusLabel\", \"In attesa di visto elettronico\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusKey\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusKey = S(response).prop(\"entity\").prop(\"statusKey\").stringValue();\n connector.setVariable(\"statusKey\", statusKey)\n statusKey\n ]]></camunda:script>\n </camunda:outputParameter>\n <camunda:outputParameter name=\"status\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var status = S(response).prop(\"entity\").prop(\"status\").stringValue();\n connector.setVariable(\"status\", status)\n status\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0nafmgu</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0qum3va</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:serviceTask id=\"Task_003ykqx\" name=\"aggiornamento metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId') );\npayload.prop(\"processInstanceId\", execution.getVariable('processInstanceId') );\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0qum3va</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1qq72pa</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_1v7ketw\" name=\"richiesta visto eseguito\">\n <bpmn:incoming>SequenceFlow_112ct26</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_16dq82p</bpmn:outgoing>\n <bpmn:messageEventDefinition messageRef=\"sign-request-done\" />\n </bpmn:intermediateCatchEvent>\n <bpmn:serviceTask id=\"Task_0gbbuzk\" name=\"stato "Vistato assessore"\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"statusKey\", \"checked\" );\npayload.prop(\"statusLabel\", \"Vistato Assessore\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusKey\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusKey = S(response).prop(\"entity\").prop(\"statusKey\").stringValue();\n connector.setVariable(\"statusKey\", statusKey)\n statusKey\n ]]></camunda:script>\n </camunda:outputParameter>\n <camunda:outputParameter name=\"status\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var status = S(response).prop(\"entity\").prop(\"status\").stringValue();\n connector.setVariable(\"status\", status)\n status\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_02wkln4</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_05cgo16</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:serviceTask id=\"Task_1nnqja8\" name=\"aggiorna metadati atto\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId') );\npayload.prop(\"processInstanceId\", execution.getVariable('processInstanceId') );\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_05cgo16</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0cs8qgb</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0itgpp8\" default=\"SequenceFlow_0wdlqjo\">\n <bpmn:incoming>SequenceFlow_16dq82p</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0apek7u</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_0wdlqjo</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_0apek7u\" name=\"atto vistato\" sourceRef=\"ExclusiveGateway_0itgpp8\" targetRef=\"ExclusiveGateway_16rxumx\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[signStatusCode === 'ok']]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_16rxumx\">\n <bpmn:incoming>SequenceFlow_0apek7u</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1l1r2bo</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0co7t8d</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_0co7t8d\" sourceRef=\"ExclusiveGateway_16rxumx\" targetRef=\"Task_0izt1ex\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0wdlqjo\" name=\"visto rifiutato\" sourceRef=\"ExclusiveGateway_0itgpp8\" targetRef=\"IntermediateThrowEvent_0hl4vtu\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1l1r2bo\" sourceRef=\"IntermediateThrowEvent_0hl4vtu\" targetRef=\"ExclusiveGateway_16rxumx\" />\n <bpmn:intermediateThrowEvent id=\"IntermediateThrowEvent_0hl4vtu\">\n <bpmn:incoming>SequenceFlow_0wdlqjo</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1l1r2bo</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"visto-respinto\" />\n </bpmn:intermediateThrowEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0br91ig\" sourceRef=\"Task_07iaun7\" targetRef=\"Task_16iq7xo\" />\n <bpmn:serviceTask id=\"Task_07iaun7\" name=\"aggiornamento metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_01jkuxl</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0br91ig</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_03g996x\" sourceRef=\"IntermediateThrowEvent_1waf2ww\" targetRef=\"EndEvent_1td218a\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_1waf2ww\">\n <bpmn:incoming>SequenceFlow_0cs8qgb</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_03g996x</bpmn:outgoing>\n <bpmn:timerEventDefinition>\n <bpmn:timeDuration xsi:type=\"bpmn:tFormalExpression\">PT1S</bpmn:timeDuration>\n </bpmn:timerEventDefinition>\n </bpmn:intermediateCatchEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0fhvx6h\" sourceRef=\"Task_0izt1ex\" targetRef=\"IntermediateThrowEvent_0vliiv2\" />\n <bpmn:serviceTask id=\"Task_0izt1ex\" name=\"aggiorna metadati atto\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0co7t8d</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0fhvx6h</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_02wkln4\" sourceRef=\"IntermediateThrowEvent_0vliiv2\" targetRef=\"Task_0gbbuzk\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_0vliiv2\">\n <bpmn:incoming>SequenceFlow_0fhvx6h</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_02wkln4</bpmn:outgoing>\n <bpmn:timerEventDefinition>\n <bpmn:timeDuration xsi:type=\"bpmn:tFormalExpression\">PT1S</bpmn:timeDuration>\n </bpmn:timerEventDefinition>\n </bpmn:intermediateCatchEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_112ct26\" sourceRef=\"IntermediateThrowEvent_1tfs4id\" targetRef=\"IntermediateThrowEvent_1v7ketw\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_1tfs4id\">\n <bpmn:incoming>SequenceFlow_1qq72pa</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_112ct26</bpmn:outgoing>\n <bpmn:timerEventDefinition>\n <bpmn:timeDuration xsi:type=\"bpmn:tFormalExpression\">PT1S</bpmn:timeDuration>\n </bpmn:timerEventDefinition>\n </bpmn:intermediateCatchEvent>\n </bpmn:subProcess>\n <bpmn:sequenceFlow id=\"SequenceFlow_089yol0\" sourceRef=\"SubProcess_0xn5zrk\" targetRef=\"ExclusiveGateway_0mxequv\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0plz3ay\" name=\"non sono presenti assessori\" sourceRef=\"ExclusiveGateway_1h4jo9p\" targetRef=\"ExclusiveGateway_0mxequv\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_17pv0kr\" sourceRef=\"Task_00t72im\" targetRef=\"SubProcess_057zeck\" />\n <bpmn:serviceTask id=\"Task_00t72im\" name=\"stato iniziale mappa stati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/workflow-status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"workflowStatus\", \"{\\\"changeRagioniereCapoEnabled\\\":{\\\"value\\\":null,\\\"disabled\\\":true},\\\"changeSegretarioGeneraleEnabled\\\":{\\\"value\\\":\\\"false\\\",\\\"disabled\\\":false},\\\"changeSignatureOwnerEnabled\\\":{\\\"value\\\":\\\"true\\\",\\\"disabled\\\":false},\\\"retireActEnabled\\\":{\\\"value\\\":\\\"true\\\",\\\"disabled\\\":false}}\" );\nif(execution.getVariable('statusMap')){ payload.prop(\"statusMap\", execution.getVariable('statusMap')) }\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusMap\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusMap = S(response).prop(\"entity\").prop(\"statusMap\").stringValue();\n connector.setVariable(\"statusMap\", statusMap)\n statusMap\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_17yzhc3</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_17pv0kr</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0zukngs\" sourceRef=\"Task_0wong3v\" targetRef=\"Task_18qr4ak\" />\n <bpmn:userTask id=\"Task_0wong3v\" name=\"Registrazione informativa \" camunda:formKey=\"dccc1011-8256-4e29-b956-19f93c366763\" camunda:candidateGroups=\"C_DEMO::segreteria_segretario_generale::personaleoperativo\">\n <bpmn:extensionElements>\n <camunda:formData>\n <camunda:formField id=\"data_discussione\" label=\"Data Discussione\" type=\"string\" />\n <camunda:formField id=\"documenti_seduta\" label=\"Documenti Seduta\" type=\"string\" />\n <camunda:formField id=\"nota_seduta\" label=\"Nota Seduta\" type=\"string\" />\n </camunda:formData>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0xp164f</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0zukngs</bpmn:outgoing>\n </bpmn:userTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0s8em5c\" sourceRef=\"Task_18qr4ak\" targetRef=\"Task_054uch1\" />\n <bpmn:serviceTask id=\"Task_18qr4ak\" name=\"stato: "presentata alla giunta"\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/status</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"statusKey\", \"debated\" );\npayload.prop(\"statusLabel\", \"Presentata alla giunta\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"statusKey\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var statusKey = S(response).prop(\"entity\").prop(\"statusKey\").stringValue();\n connector.setVariable(\"statusKey\", statusKey)\n statusKey\n ]]></camunda:script>\n </camunda:outputParameter>\n <camunda:outputParameter name=\"status\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var status = S(response).prop(\"entity\").prop(\"status\").stringValue();\n connector.setVariable(\"status\", status)\n status\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0zukngs</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0s8em5c</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:serviceTask id=\"Task_07ov4od\" name=\"crea numero definitvo\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/nextregnum</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"numeratorType\", \"num_def\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"nextRegNum\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var nextRegNum = S(response).prop(\"entity\").prop(\"nextRegNum\").stringValue();\n connector.setVariable(\"numero_definitivo\", nextRegNum)\n nextRegNum\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_15pti9m</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0tsnd9v</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:boundaryEvent id=\"BoundaryEvent_1qw54mc\" attachedToRef=\"SubProcess_1apz71f\">\n <bpmn:outgoing>SequenceFlow_1it29m9</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"firma-respinta\" />\n </bpmn:boundaryEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1it29m9\" sourceRef=\"BoundaryEvent_1qw54mc\" targetRef=\"Task_1h3vtfn\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_1hlodzg\">\n <bpmn:incoming>SequenceFlow_04eigq5</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1it5hq0</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_17yzhc3</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_17yzhc3\" sourceRef=\"ExclusiveGateway_1hlodzg\" targetRef=\"Task_00t72im\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_04eigq5\" sourceRef=\"Task_18z84kk\" targetRef=\"ExclusiveGateway_1hlodzg\" />\n <bpmn:serviceTask id=\"Task_18z84kk\" name=\"aggiorna metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_1eea2sk</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_04eigq5</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0gy8u6u\" sourceRef=\"BoundaryEvent_1p04zrq\" targetRef=\"Task_1h3vtfn\" />\n <bpmn:boundaryEvent id=\"BoundaryEvent_1p04zrq\" attachedToRef=\"SubProcess_0xn5zrk\">\n <bpmn:outgoing>SequenceFlow_0gy8u6u</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"visto-respinto\" />\n </bpmn:boundaryEvent>\n <bpmn:boundaryEvent id=\"BoundaryEvent_08jte7n\" attachedToRef=\"SubProcess_0o70lka\">\n <bpmn:outgoing>SequenceFlow_0zqhg39</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"visto-rifiutato\" />\n </bpmn:boundaryEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0zqhg39\" sourceRef=\"BoundaryEvent_08jte7n\" targetRef=\"Task_1h3vtfn\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_1it5hq0\" sourceRef=\"Task_097ya1h\" targetRef=\"ExclusiveGateway_1hlodzg\" />\n <bpmn:serviceTask id=\"Task_097ya1h\" name=\"genera pdf\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/generate-pdf</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\nif(execution.getVariable('processVersionId')){ payload.prop(\"processVersionId\", execution.getVariable('processVersionId')) }\npayload.prop(\"taskId\", \"Task_097ya1h\" );\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\npayload.prop(\"reportTemplateRef\", \"5f3d2c327f04ba07de98a807\" );\npayload.prop(\"reportTemplateVariables\", {\n \"oggetto_atto\": (getSpinVal(oggetto_atto) ? getSpinVal(oggetto_atto).toString() : execution.getVariable('oggetto_atto')),\n\"testo_atto\": (getSpinVal(testo_atto) ? getSpinVal(testo_atto).toString() : execution.getVariable('testo_atto')),\n\"tipologia_atto_label\": (getSpinVal(tipologia_atto_label) ? getSpinVal(tipologia_atto_label).toString() : execution.getVariable('tipologia_atto_label')),\n\"numero_provvisorio\": (getSpinVal(numero_provvisorio) ? getSpinVal(numero_provvisorio).toString() : execution.getVariable('numero_provvisorio')),\n\"proponent\": (getSpinVal(proponent) ? getSpinVal(proponent).toString() : execution.getVariable('proponent'))\n } );\npayload.prop(\"generatedFileName\", \"informativa_giunta\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"reportPdfFile\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var reportPdfFile = S(response).prop(\"entity\").prop(\"reportPdfFile\").stringValue();\n connector.setVariable(\"pdf_file_Task_097ya1h\", reportPdfFile)\n reportPdfFile\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0mzi7pu</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1it5hq0</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_00rsjs6\" default=\"SequenceFlow_0bzkfz4\">\n <bpmn:incoming>SequenceFlow_0idj77c</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_19dkoly</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_0bzkfz4</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_19dkoly\" name=\"verifica redattore proponente\" sourceRef=\"ExclusiveGateway_00rsjs6\" targetRef=\"Task_017gu08\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\">collaborazioneRichiesta === true</bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:sequenceFlow id=\"SequenceFlow_0bzkfz4\" sourceRef=\"ExclusiveGateway_00rsjs6\" targetRef=\"ExclusiveGateway_051rneu\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0idj77c\" sourceRef=\"Task_0987mh1\" targetRef=\"ExclusiveGateway_00rsjs6\" />\n <bpmn:scriptTask id=\"Task_0987mh1\" name=\"verifica collaborazione richiesta\" scriptFormat=\"Javascript\">\n <bpmn:incoming>SequenceFlow_1cw1633</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0idj77c</bpmn:outgoing>\n <bpmn:script><![CDATA[/* FUNCTION HEADER a2b6d6af-c5e2-49ea-b7c1-78f2eb06a729 */\n function setContextVariable(e,t){execution.setVariable(e,t)};\n/* ******* HEADER_BODY_SCRIPT_SEPARATOR 6c7be6bc-7953-4819-966c-e5f6d62534a9 ******* */var collaborazioneRichiesta = false;\nif(coProponents && coProponents.elements()){\n\n for (i = 0, len = coProponents.elements().length; i < len; i++) {\n if(coProponents.elements()[i].prop('collaboration').value() != 'none'){\n collaborazioneRichiesta=true;\n }\n }\n}\nsetContextVariable(\"collaborazioneRichiesta\", collaborazioneRichiesta);]]></bpmn:script>\n </bpmn:scriptTask>\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_1n6p4wo\" default=\"SequenceFlow_15pti9m\">\n <bpmn:incoming>SequenceFlow_1fsrw0r</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1fns3ph</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_15pti9m</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1fns3ph\" name=\"numero registro definitivo già generato\" sourceRef=\"ExclusiveGateway_1n6p4wo\" targetRef=\"ExclusiveGateway_1h4jo9p\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[execution.hasVariable('numero_definitivo')]]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:sequenceFlow id=\"SequenceFlow_15pti9m\" name=\"numero registro definitivo assente\" sourceRef=\"ExclusiveGateway_1n6p4wo\" targetRef=\"Task_07ov4od\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0tsnd9v\" sourceRef=\"Task_07ov4od\" targetRef=\"Task_1bxm2uc\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0mccnhj\" sourceRef=\"Task_1bxm2uc\" targetRef=\"ExclusiveGateway_1h4jo9p\" />\n <bpmn:serviceTask id=\"Task_1bxm2uc\" name=\"aggiorna metadati\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0tsnd9v</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0mccnhj</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0n75v6t\" sourceRef=\"Task_1h3vtfn\" targetRef=\"IntermediateThrowEvent_0c1as8m\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_19ijr3t\">\n <bpmn:incoming>SequenceFlow_0r66hju</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_01wyi8a</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_0bddk0e</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1eea2sk</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1eea2sk\" sourceRef=\"ExclusiveGateway_19ijr3t\" targetRef=\"Task_18z84kk\" />\n <bpmn:subProcess id=\"SubProcess_18dq0f6\" name=\"verifica responsabile proponente\">\n <bpmn:incoming>SequenceFlow_1c0vhqn</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0q5sayq</bpmn:outgoing>\n <bpmn:userTask id=\"Task_07m3z3r\" name=\"Ricezione e verifica\" camunda:formKey=\"ebebe4dd-2ca5-4914-b7d1-cb60f00bd9aa\" camunda:candidateGroups=\"${ipa.concat("::").concat(proponent.prop("organizationNodeCode").value().toLowerCase())}, ${ipa.concat("::").concat(proponent.prop("organizationNodeCode").value().toLowerCase()).concat("::firmatario")}\">\n <bpmn:extensionElements>\n <camunda:formData>\n <camunda:formField id=\"atto_riservato\" label=\"Atto riservato\" type=\"boolean\" />\n <camunda:formField id=\"oggetto_atto\" label=\"Oggetto\" type=\"string\" />\n <camunda:formField id=\"testo_atto\" label=\"Testo Atto\" type=\"string\" />\n <camunda:formField id=\"respingi_atto\" label=\"Respingi atto\" type=\"string\" />\n <camunda:formField id=\"nota_respingi\" label=\"Nota Respingi\" type=\"string\" />\n <camunda:formField id=\"allegati_atto\" label=\"Allegati\" type=\"string\" />\n </camunda:formData>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0tph6jo</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_06pdm0m</bpmn:outgoing>\n </bpmn:userTask>\n <bpmn:startEvent id=\"StartEvent_0o9ps6y\">\n <bpmn:extensionElements>\n <camunda:executionListener event=\"start\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var processInstanceId = execution.getProcessInstanceId();\n var ipa = execution.getTenantId();\n var processVersionId = execution.getProcessDefinitionId();\n\n execution.setVariable('processInstanceId', processInstanceId);\n execution.setVariable('ipa', ipa);\n execution.setVariable('processVersionId', processVersionId);\n]]></camunda:script>\n </camunda:executionListener>\n </bpmn:extensionElements>\n <bpmn:outgoing>SequenceFlow_0efb2bc</bpmn:outgoing>\n </bpmn:startEvent>\n <bpmn:endEvent id=\"EndEvent_1hc41ct\">\n <bpmn:incoming>SequenceFlow_0fdr8l4</bpmn:incoming>\n </bpmn:endEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_06pdm0m\" sourceRef=\"Task_07m3z3r\" targetRef=\"Task_1y3y0ka\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0efb2bc\" sourceRef=\"StartEvent_0o9ps6y\" targetRef=\"Task_1r6r00s\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0azz6z0\" sourceRef=\"Task_1y3y0ka\" targetRef=\"ExclusiveGateway_03o3veq\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_03o3veq\" default=\"SequenceFlow_1vo4p4o\">\n <bpmn:incoming>SequenceFlow_0azz6z0</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1vo4p4o</bpmn:outgoing>\n <bpmn:outgoing>SequenceFlow_0iowz24</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1vo4p4o\" sourceRef=\"ExclusiveGateway_03o3veq\" targetRef=\"ExclusiveGateway_08zztcj\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_08zztcj\">\n <bpmn:incoming>SequenceFlow_0r2carx</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_1vo4p4o</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0fdr8l4</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_0fdr8l4\" sourceRef=\"ExclusiveGateway_08zztcj\" targetRef=\"EndEvent_1hc41ct\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0iowz24\" sourceRef=\"ExclusiveGateway_03o3veq\" targetRef=\"IntermediateThrowEvent_1nbkuvh\">\n <bpmn:conditionExpression xsi:type=\"bpmn:tFormalExpression\" language=\"Javascript\"><![CDATA[respingi_atto == 'true']]></bpmn:conditionExpression>\n </bpmn:sequenceFlow>\n <bpmn:sequenceFlow id=\"SequenceFlow_0r2carx\" sourceRef=\"IntermediateThrowEvent_1nbkuvh\" targetRef=\"ExclusiveGateway_08zztcj\" />\n <bpmn:intermediateThrowEvent id=\"IntermediateThrowEvent_1nbkuvh\" name=\"atto respinto\">\n <bpmn:incoming>SequenceFlow_0iowz24</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0r2carx</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"atto-respinto\" />\n </bpmn:intermediateThrowEvent>\n <bpmn:serviceTask id=\"Task_1y3y0ka\" name=\"genera pdf\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/generate-pdf</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">POST</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\nif(execution.getVariable('processVersionId')){ payload.prop(\"processVersionId\", execution.getVariable('processVersionId')) }\npayload.prop(\"taskId\", \"Task_1y3y0ka\" );\nif(execution.getVariable('istanzaOperatore')){ payload.prop(\"istanzaOperatore\", execution.getVariable('istanzaOperatore')) }\npayload.prop(\"reportTemplateRef\", \"5f3d2c327f04ba07de98a807\" );\npayload.prop(\"reportTemplateVariables\", {\n \"testo_atto\": (getSpinVal(testo_atto) ? getSpinVal(testo_atto).toString() : execution.getVariable('testo_atto')),\n\"oggetto_atto\": (getSpinVal(oggetto_atto) ? getSpinVal(oggetto_atto).toString() : execution.getVariable('oggetto_atto')),\n\"proponent\": (getSpinVal(proponent) ? getSpinVal(proponent).toString() : execution.getVariable('proponent')),\n\"numero_provvisorio\": (getSpinVal(numero_provvisorio) ? getSpinVal(numero_provvisorio).toString() : execution.getVariable('numero_provvisorio')),\n\"tipologia_atto_label\": (getSpinVal(tipologia_atto_label) ? getSpinVal(tipologia_atto_label).toString() : execution.getVariable('tipologia_atto_label'))\n } );\npayload.prop(\"generatedFileName\", \"informativa_giunta\" );\n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"reportPdfFile\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \"+statusCode);\n }\n\n var response = connector.getVariable(\"response\");\n\n // parse response variable with camunda-spin\n var reportPdfFile = S(response).prop(\"entity\").prop(\"reportPdfFile\").stringValue();\n connector.setVariable(\"pdf_file_Task_1y3y0ka\", reportPdfFile)\n reportPdfFile\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_06pdm0m</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0azz6z0</bpmn:outgoing>\n </bpmn:serviceTask>\n <bpmn:sequenceFlow id=\"SequenceFlow_0tph6jo\" sourceRef=\"Task_1r6r00s\" targetRef=\"Task_07m3z3r\" />\n <bpmn:serviceTask id=\"Task_1r6r00s\" name=\"aggiorna metadati atto\">\n <bpmn:extensionElements>\n <camunda:connector>\n <camunda:inputOutput>\n <camunda:inputParameter name=\"url\">http://myintranet-cdemo.local:8000/myintranet/C_DEMO/instances/service-task/custom/myact/acts/updatedata</camunda:inputParameter>\n <camunda:inputParameter name=\"method\">PUT</camunda:inputParameter>\n <camunda:inputParameter name=\"headers\">\n <camunda:map>\n <camunda:entry key=\"Accept\">application/json</camunda:entry>\n </camunda:map>\n </camunda:inputParameter>\n <camunda:inputParameter name=\"payload\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n function getSpinVal(v) {\n try {\n return S(v)\n } catch(e) {\n return null;\n }\n };\n\n var payload = S(\"{}\");\n if(execution.getVariable('userRegistryId')){ payload.prop(\"userRegistryId\", execution.getVariable('userRegistryId')) }\nif(execution.getVariable('processInstanceId')){ payload.prop(\"processInstanceId\", execution.getVariable('processInstanceId')) }\npayload.prop(\"mappedVals\", {} );\n \n var keys = [];\n if(params_mapper_keys != null && params_mapper_keys.elements() != null && params_mapper_keys.elements().size()>0){\n keys = params_mapper_keys.elements();\n }\n \n var map = {};\n for (i = 0; i < keys.length; i++) { \n var key = keys[i].value();\n if(execution.getVariableTyped(key)){\n map[key] = execution.getVariableTyped(key).getValue();\n }\n }\n payload.prop(\"mappedVals\", map);\n \n \n payload.toString();\n ]]></camunda:script>\n </camunda:inputParameter>\n <camunda:outputParameter name=\"sys_result_status_code\">\n <camunda:script scriptFormat=\"Javascript\"><![CDATA[\n var statusCode = connector.getVariable(\"statusCode\");\n if(statusCode >= 300){\n throw new Error(\"Request returned with status code \" + statusCode);\n }\n var sys_result_status_code = statusCode;\n sys_result_status_code\n ]]></camunda:script>\n </camunda:outputParameter>\n </camunda:inputOutput>\n <camunda:connectorId>http-connector</camunda:connectorId>\n </camunda:connector>\n </bpmn:extensionElements>\n <bpmn:incoming>SequenceFlow_0efb2bc</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0tph6jo</bpmn:outgoing>\n </bpmn:serviceTask>\n </bpmn:subProcess>\n <bpmn:sequenceFlow id=\"SequenceFlow_0q5sayq\" sourceRef=\"SubProcess_18dq0f6\" targetRef=\"SubProcess_1apz71f\" />\n <bpmn:boundaryEvent id=\"BoundaryEvent_0x5owxf\" attachedToRef=\"SubProcess_18dq0f6\">\n <bpmn:outgoing>SequenceFlow_0r66hju</bpmn:outgoing>\n <bpmn:signalEventDefinition signalRef=\"atto-respinto\" />\n </bpmn:boundaryEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_0r66hju\" sourceRef=\"BoundaryEvent_0x5owxf\" targetRef=\"ExclusiveGateway_19ijr3t\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_03y1fsc\" sourceRef=\"ExclusiveGateway_051rneu\" targetRef=\"ExclusiveGateway_0qxjkdg\" />\n <bpmn:exclusiveGateway id=\"ExclusiveGateway_0qxjkdg\">\n <bpmn:incoming>SequenceFlow_0o1tegg</bpmn:incoming>\n <bpmn:incoming>SequenceFlow_03y1fsc</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1c0vhqn</bpmn:outgoing>\n </bpmn:exclusiveGateway>\n <bpmn:sequenceFlow id=\"SequenceFlow_1c0vhqn\" sourceRef=\"ExclusiveGateway_0qxjkdg\" targetRef=\"SubProcess_18dq0f6\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_14ffcfh\" sourceRef=\"Task_017gu08\" targetRef=\"ExclusiveGateway_051rneu\" />\n <bpmn:sequenceFlow id=\"SequenceFlow_0bddk0e\" sourceRef=\"IntermediateThrowEvent_0c1as8m\" targetRef=\"ExclusiveGateway_19ijr3t\" />\n <bpmn:intermediateCatchEvent id=\"IntermediateThrowEvent_0c1as8m\">\n <bpmn:incoming>SequenceFlow_0n75v6t</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_0bddk0e</bpmn:outgoing>\n <bpmn:timerEventDefinition>\n <bpmn:timeDuration xsi:type=\"bpmn:tFormalExpression\">PT1S</bpmn:timeDuration>\n </bpmn:timerEventDefinition>\n </bpmn:intermediateCatchEvent>\n <bpmn:sequenceFlow id=\"SequenceFlow_1vbpyvz\" sourceRef=\"Task_10qxfzd\" targetRef=\"SubProcess_0uv3jg3\" />\n <bpmn:scriptTask id=\"Task_10qxfzd\" name=\"reset flag respingi\" scriptFormat=\"Javascript\">\n <bpmn:incoming>SequenceFlow_1qi6zs0</bpmn:incoming>\n <bpmn:outgoing>SequenceFlow_1vbpyvz</bpmn:outgoing>\n <bpmn:script><![CDATA[\n/* ******* HEADER_BODY_SCRIPT_SEPARATOR 6c7be6bc-7953-4819-966c-e5f6d62534a9 ******* */execution.setVariable(\"respingi_atto\", false);]]></bpmn:script>\n </bpmn:scriptTask>\n </bpmn:process>\n <bpmn:message id=\"kill-instance\" name=\"kill-instance\" />\n <bpmn:signal id=\"atto-respinto\" name=\"Signal_atto-respinto_${execution.processInstanceId}\" />\n <bpmn:message id=\"sign-request-done\" name=\"sign-request-done\" />\n <bpmn:message id=\"update-signature\" name=\"update-signature\" />\n <bpmn:signal id=\"firma-respinta\" name=\"Signal_firma-respinta_${execution.processInstanceId}\" />\n <bpmn:signal id=\"visto-respinto\" name=\"Signal_visto-respinto_${execution.processInstanceId}\" />\n <bpmn:signal id=\"visto-rifiutato\" name=\"Signal_visto-rifiutato_${execution.processInstanceId}\" />\n <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"Process_1\">\n <bpmndi:BPMNShape id=\"StartEvent_1wdaekz_di\" bpmnElement=\"StartEvent_1wdaekz\">\n <dc:Bounds x=\"-1150\" y=\"225\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-1177\" y=\"265\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"UserTask_05v7vau_di\" bpmnElement=\"Task_1etgvlk\">\n <dc:Bounds x=\"473\" y=\"213\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ScriptTask_19jxnrr_di\" bpmnElement=\"Task_032p1oi\">\n <dc:Bounds x=\"300\" y=\"209\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"SubProcess_057zeck_di\" bpmnElement=\"SubProcess_057zeck\" isExpanded=\"true\">\n <dc:Bounds x=\"119\" y=\"142\" width=\"734\" height=\"201\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"StartEvent_1qt81gz_di\" bpmnElement=\"StartEvent_1qt81gz\">\n <dc:Bounds x=\"154\" y=\"231\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"127\" y=\"271\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1b3sy6r_di\" bpmnElement=\"SequenceFlow_1b3sy6r\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"190\" y=\"249\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"245\" y=\"249\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"245\" y=\"249\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"300\" y=\"249\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"215\" y=\"243\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"EndEvent_1kamcxo_di\" bpmnElement=\"EndEvent_1kamcxo\">\n <dc:Bounds x=\"794\" y=\"235\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"767\" y=\"275\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0l1vvfm_di\" bpmnElement=\"SequenceFlow_0l1vvfm\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-1114\" y=\"244\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-823\" y=\"243\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-1013.5\" y=\"222.5\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0l9oyxz_di\" bpmnElement=\"ExclusiveGateway_0l9oyxz\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"1316\" y=\"448\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1296\" y=\"502\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0o1tegg_di\" bpmnElement=\"SequenceFlow_0o1tegg\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1341\" y=\"498\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1341\" y=\"1381\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1091\" y=\"1381\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1381\" y=\"559.4992481203008\" width=\"68\" height=\"24\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1h3zapn_di\" bpmnElement=\"SequenceFlow_1h3zapn\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1316\" y=\"473\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"592\" y=\"473\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"592\" y=\"589\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1229.6498708010336\" y=\"428\" width=\"67\" height=\"25\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"SubProcess_0uv3jg3_di\" bpmnElement=\"SubProcess_0uv3jg3\" isExpanded=\"true\">\n <dc:Bounds x=\"-54\" y=\"589\" width=\"1268\" height=\"283\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"StartEvent_14j8lya_di\" bpmnElement=\"StartEvent_14j8lya\">\n <dc:Bounds x=\"-32\" y=\"704\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-59\" y=\"744\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"EndEvent_1jth08o_di\" bpmnElement=\"EndEvent_1jth08o\">\n <dc:Bounds x=\"1115\" y=\"636\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1088\" y=\"676\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0567dsg_di\" bpmnElement=\"SequenceFlow_0567dsg\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"464\" y=\"654\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"520\" y=\"654\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"447\" y=\"633\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"UserTask_16bmfz5_di\" bpmnElement=\"Task_0og5it7\">\n <dc:Bounds x=\"364\" y=\"614\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0c4rx7x_di\" bpmnElement=\"SequenceFlow_0c4rx7x\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"4\" y=\"722\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"41\" y=\"722\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"41\" y=\"722\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"78\" y=\"722\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"11\" y=\"716\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"EndEvent_1wofolu_di\" bpmnElement=\"EndEvent_1fv2jdq\">\n <dc:Bounds x=\"161\" y=\"-254\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"133\" y=\"-214\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0mzi7pu_di\" bpmnElement=\"SequenceFlow_0mzi7pu\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-775\" y=\"241\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-558\" y=\"243\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-711.5\" y=\"221\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ParallelGateway_0pqkzo9_di\" bpmnElement=\"ExclusiveGateway_1n17dag\">\n <dc:Bounds x=\"-823\" y=\"218\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-843\" y=\"272\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1glqkpv_di\" bpmnElement=\"SequenceFlow_1glqkpv\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-798\" y=\"218\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-798\" y=\"-236\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-526\" y=\"-236\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-828\" y=\"-27\" width=\"90\" height=\"36\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_1a6hsm0_di\" bpmnElement=\"IntermediateCatchEvent_1a6hsm0\">\n <dc:Bounds x=\"-526\" y=\"-254\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-543\" y=\"-307\" width=\"70\" height=\"36\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_04qi4dg_di\" bpmnElement=\"SequenceFlow_04qi4dg\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-490\" y=\"-236\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-389\" y=\"-236\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-484.5\" y=\"-257\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1vscssa_di\" bpmnElement=\"SequenceFlow_1vscssa\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-289\" y=\"-236\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-195\" y=\"-236\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-287\" y=\"-257\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0m5vzrh_di\" bpmnElement=\"SequenceFlow_0m5vzrh\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"86\" y=\"-236\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"161\" y=\"-236\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"79\" y=\"-257\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_07igcv8_di\" bpmnElement=\"Task_18swngw\">\n <dc:Bounds x=\"-389\" y=\"-276\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_1k8rdvg_di\" bpmnElement=\"Task_0o71mi2\">\n <dc:Bounds x=\"-14\" y=\"-276\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0igcouk_di\" bpmnElement=\"ExclusiveGateway_0igcouk\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"520\" y=\"629\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"500\" y=\"683\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_01wyi8a_di\" bpmnElement=\"SequenceFlow_01wyi8a\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-72\" y=\"808\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-261\" y=\"808\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-211.5\" y=\"787\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"BoundaryEvent_08ig4ga_di\" bpmnElement=\"BoundaryEvent_0f2fnt0\">\n <dc:Bounds x=\"-72\" y=\"790\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-44\" y=\"839\" width=\"61\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0bpv2j7_di\" bpmnElement=\"ExclusiveGateway_0bpv2j7\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"206\" y=\"697\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"186\" y=\"751\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1r842t8_di\" bpmnElement=\"SequenceFlow_1r842t8\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"231\" y=\"697\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"231\" y=\"654\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"364\" y=\"654\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"182\" y=\"671.2844036697247\" width=\"51\" height=\"25\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"UserTask_1d000g4_di\" bpmnElement=\"Task_0rfpy7n\">\n <dc:Bounds x=\"364\" y=\"755\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_03mrmwt_di\" bpmnElement=\"SequenceFlow_03mrmwt\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"231\" y=\"747\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"231\" y=\"795\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"364\" y=\"795\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"247.59701492537312\" y=\"761\" width=\"74\" height=\"25\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0m2tpqc_di\" bpmnElement=\"SequenceFlow_0m2tpqc\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"464\" y=\"795\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"545\" y=\"795\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"545\" y=\"679\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"460\" y=\"774\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_1ax6dv3_di\" bpmnElement=\"ExclusiveGateway_1ax6dv3\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"736\" y=\"629\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"716\" y=\"683\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_08ewq4x_di\" bpmnElement=\"ExclusiveGateway_08ewq4x\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"1013\" y=\"629\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"993\" y=\"683\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_08bn9om_di\" bpmnElement=\"SequenceFlow_08bn9om\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"570\" y=\"654\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"606\" y=\"654\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"543\" y=\"633\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0urvnjk_di\" bpmnElement=\"SequenceFlow_0urvnjk\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"786\" y=\"654\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1013\" y=\"654\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"771.5852272727273\" y=\"618\" width=\"83\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1wyxxsf_di\" bpmnElement=\"SequenceFlow_1wyxxsf\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"761\" y=\"679\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"761\" y=\"755\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"778\" y=\"698\" width=\"61\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1o1yvzf_di\" bpmnElement=\"SequenceFlow_1o1yvzf\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"973\" y=\"795\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1038\" y=\"795\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1038\" y=\"679\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"960.5\" y=\"774\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateThrowEvent_1biusdl_di\" bpmnElement=\"IntermediateThrowEvent_07oepfr\">\n <dc:Bounds x=\"937\" y=\"777\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"910\" y=\"817\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_07p1epa_di\" bpmnElement=\"SequenceFlow_07p1epa\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1063\" y=\"654\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1115\" y=\"654\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1044\" y=\"633\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"EndEvent_1akjbmq_di\" bpmnElement=\"EndEvent_0idfing\">\n <dc:Bounds x=\"1415\" y=\"3681\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1343\" y=\"3721\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1jh6kbb_di\" bpmnElement=\"SequenceFlow_1jh6kbb\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-798\" y=\"218\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-798\" y=\"-111\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-533\" y=\"-111\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-828\" y=\"47.5\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1iwl9da_di\" bpmnElement=\"SequenceFlow_1iwl9da\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-145\" y=\"-71\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-145\" y=\"-25\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-508\" y=\"-25\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-508\" y=\"-86\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-371.5\" y=\"-46\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0m6xlaq_di\" bpmnElement=\"Task_0c8kyxg\">\n <dc:Bounds x=\"-195\" y=\"-151\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"UserTask_0wlelha_di\" bpmnElement=\"Task_017gu08\">\n <dc:Bounds x=\"920\" y=\"1123\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_051rneu_di\" bpmnElement=\"ExclusiveGateway_051rneu\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"1041\" y=\"1138\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1186\" y=\"1007\" width=\"61\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1qi6zs0_di\" bpmnElement=\"SequenceFlow_1qi6zs0\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1091\" y=\"1163\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1128\" y=\"1163\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1064.5\" y=\"1142\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_06hy9a0_di\" bpmnElement=\"Task_1o84u1b\">\n <dc:Bounds x=\"1040\" y=\"2026\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1ld2c9f_di\" bpmnElement=\"SequenceFlow_1ld2c9f\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"400\" y=\"250\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"437\" y=\"250\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"437\" y=\"250\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"473\" y=\"250\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"407\" y=\"244\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1335046_di\" bpmnElement=\"SequenceFlow_1335046\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"573\" y=\"252\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"636\" y=\"252\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"559.5\" y=\"231\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_181xm12_di\" bpmnElement=\"SequenceFlow_181xm12\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"178\" y=\"722\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"206\" y=\"722\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"147\" y=\"701\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_12futxi_di\" bpmnElement=\"Task_105gtw9\">\n <dc:Bounds x=\"78\" y=\"682\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1cw1633_di\" bpmnElement=\"SequenceFlow_1cw1633\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"531\" y=\"1044\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"531\" y=\"1123\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"501\" y=\"1077.5\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_13l1qpx_di\" bpmnElement=\"Task_1c1ubpi\">\n <dc:Bounds x=\"481\" y=\"964\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0uxmyy2_di\" bpmnElement=\"SequenceFlow_0uxmyy2\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"580\" y=\"872\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"580\" y=\"918\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"531\" y=\"918\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"531\" y=\"964\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"510.5\" y=\"897\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"SubProcess_19zgvbj_di\" bpmnElement=\"SubProcess_19zgvbj\" isExpanded=\"true\">\n <dc:Bounds x=\"29\" y=\"2749\" width=\"958\" height=\"248\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0m47a3k_di\" bpmnElement=\"SequenceFlow_0m47a3k\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"531\" y=\"2997\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"531\" y=\"3082\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"501\" y=\"3033.5\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"SubProcess_1apz71f_di\" bpmnElement=\"SubProcess_1apz71f\" isExpanded=\"true\">\n <dc:Bounds x=\"-82\" y=\"1964\" width=\"1546\" height=\"284\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"StartEvent_0qbni19_di\" bpmnElement=\"StartEvent_0qbni19\">\n <dc:Bounds x=\"-54\" y=\"2048\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-81\" y=\"2088\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"EndEvent_1qyebvk_di\" bpmnElement=\"EndEvent_1qyebvk\">\n <dc:Bounds x=\"1376\" y=\"2048\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1349\" y=\"2088\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1xhh0z1_di\" bpmnElement=\"SequenceFlow_1xhh0z1\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-18\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"5\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-51.5\" y=\"2045\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_071vkyv_di\" bpmnElement=\"SequenceFlow_071vkyv\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1140\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1171\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1110.5\" y=\"2045\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1fsrw0r_di\" bpmnElement=\"SequenceFlow_1fsrw0r\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1464\" y=\"2106\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1507\" y=\"2106\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1507\" y=\"2016\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1550\" y=\"2016\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1477\" y=\"2055\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"StartEvent_1in8nhs_di\" bpmnElement=\"StartEvent_1in8nhs\">\n <dc:Bounds x=\"90\" y=\"2845\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"63\" y=\"2914\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"EndEvent_0acyuhv_di\" bpmnElement=\"EndEvent_0acyuhv\">\n <dc:Bounds x=\"780\" y=\"2845\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"753\" y=\"2914\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_127ixdn_di\" bpmnElement=\"SequenceFlow_127ixdn\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"126\" y=\"2863\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"173\" y=\"2863\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"105\" y=\"2842\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"UserTask_19ao9wv_di\" bpmnElement=\"Task_03e7pih\">\n <dc:Bounds x=\"591\" y=\"2823\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0dcnqz3_di\" bpmnElement=\"SequenceFlow_0dcnqz3\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1250\" y=\"3699\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1415\" y=\"3699\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1288\" y=\"3678\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1yrzss6_di\" bpmnElement=\"Task_054uch1\">\n <dc:Bounds x=\"1150\" y=\"3659\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0obsmec_di\" bpmnElement=\"SequenceFlow_0obsmec\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"853\" y=\"243\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1051\" y=\"243\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"907\" y=\"222\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_11t2yt2_di\" bpmnElement=\"SequenceFlow_11t2yt2\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1151\" y=\"243\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1341\" y=\"243\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1341\" y=\"448\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1201\" y=\"222\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1ipvzrv_di\" bpmnElement=\"Task_0dto57y\">\n <dc:Bounds x=\"1051\" y=\"203\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1q3w4xq_di\" bpmnElement=\"SequenceFlow_1q3w4xq\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"706\" y=\"654\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"736\" y=\"654\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"676\" y=\"633\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0uv87et_di\" bpmnElement=\"Task_0c6cr0e\">\n <dc:Bounds x=\"606\" y=\"614\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1nkng04_di\" bpmnElement=\"SequenceFlow_1nkng04\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"527\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"555\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"496\" y=\"2045\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_0hgrvll_di\" bpmnElement=\"IntermediateThrowEvent_0uqa6ap\">\n <dc:Bounds x=\"491\" y=\"2048\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"474\" y=\"2088\" width=\"74\" height=\"25\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0szeqbo_di\" bpmnElement=\"SequenceFlow_0szeqbo\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-321\" y=\"-111\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-195\" y=\"-111\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-303\" y=\"-132\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0qgyrs0_di\" bpmnElement=\"ExclusiveGateway_0qgyrs0\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"-533\" y=\"-136\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-553\" y=\"-82\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0bqal6u_di\" bpmnElement=\"SequenceFlow_0bqal6u\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-483\" y=\"-111\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-357\" y=\"-111\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-465\" y=\"-132\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_03384b8_di\" bpmnElement=\"IntermediateThrowEvent_00z4ekg\">\n <dc:Bounds x=\"-357\" y=\"-129\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-376\" y=\"-89\" width=\"74\" height=\"48\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"SubProcess_0o70lka_di\" bpmnElement=\"SubProcess_0o70lka\" isExpanded=\"true\">\n <dc:Bounds x=\"-61\" y=\"3217\" width=\"1534\" height=\"286\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0xp164f_di\" bpmnElement=\"SequenceFlow_0xp164f\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"705\" y=\"3503\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"705\" y=\"3581\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"752\" y=\"3581\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"752\" y=\"3659\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"683.5\" y=\"3560\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"StartEvent_0xihful_di\" bpmnElement=\"StartEvent_0xihful\">\n <dc:Bounds x=\"-37\" y=\"3286\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-64\" y=\"3326\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1ak31ho_di\" bpmnElement=\"SequenceFlow_1ak31ho\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-1\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"26\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-32.5\" y=\"3283\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"EndEvent_076tobo_di\" bpmnElement=\"EndEvent_076tobo\">\n <dc:Bounds x=\"1378\" y=\"3286\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1351\" y=\"3326\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0e4z74k_di\" bpmnElement=\"SequenceFlow_0e4z74k\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1271\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1303\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1242\" y=\"2045\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_02k8sdu_di\" bpmnElement=\"Task_0dzep23\">\n <dc:Bounds x=\"1171\" y=\"2026\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_1mhg82e_di\" bpmnElement=\"ExclusiveGateway_1mhg82e\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"506\" y=\"3082\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"486\" y=\"3136\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0nci0ba_di\" bpmnElement=\"SequenceFlow_0nci0ba\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"533\" y=\"3130\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"533\" y=\"3178\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"709\" y=\"3178\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"709\" y=\"3217\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"576\" y=\"3157\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1fgbnnr_di\" bpmnElement=\"SequenceFlow_1fgbnnr\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"506\" y=\"3107\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"3107\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"2236\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"426.1523123247593\" y=\"3177\" width=\"61\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1ydsqmw_di\" bpmnElement=\"SequenceFlow_1ydsqmw\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"245\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"293\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"224\" y=\"2045\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1ixghrj_di\" bpmnElement=\"SequenceFlow_1ixghrj\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"393\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"425\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"364\" y=\"2045\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0hs99pz_di\" bpmnElement=\"Task_002rfr2\">\n <dc:Bounds x=\"145\" y=\"2026\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_1eeyesu_di\" bpmnElement=\"Task_0uju5j2\">\n <dc:Bounds x=\"293\" y=\"2026\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_1y51s6o_di\" bpmnElement=\"Task_1h3vtfn\">\n <dc:Bounds x=\"-336\" y=\"2156\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0xgad4g_di\" bpmnElement=\"SequenceFlow_0xgad4g\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-95\" y=\"-236\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-14\" y=\"-236\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-99.5\" y=\"-257\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0l0zqx6_di\" bpmnElement=\"Task_0ls88wx\">\n <dc:Bounds x=\"-195\" y=\"-276\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_1h4jo9p_di\" bpmnElement=\"ExclusiveGateway_1h4jo9p\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"1550\" y=\"2392\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1530\" y=\"2446\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1bg99od_di\" bpmnElement=\"SequenceFlow_1bg99od\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1550\" y=\"2417\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1508\" y=\"2417\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1508\" y=\"2447\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1465\" y=\"2447\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1454.5176470588235\" y=\"2395\" width=\"67\" height=\"25\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0mxequv_di\" bpmnElement=\"ExclusiveGateway_0mxequv\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"714\" y=\"2634\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"694\" y=\"2688\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0xl0aox_di\" bpmnElement=\"SequenceFlow_0xl0aox\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"714\" y=\"2659\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"538\" y=\"2659\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"538\" y=\"2749\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"581\" y=\"2638\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"SubProcess_0xn5zrk_di\" bpmnElement=\"SubProcess_0xn5zrk\" isExpanded=\"true\">\n <dc:Bounds x=\"-93\" y=\"2304\" width=\"1558\" height=\"285\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_089yol0_di\" bpmnElement=\"SequenceFlow_089yol0\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"739\" y=\"2589\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"739\" y=\"2634\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"709\" y=\"2605.5\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0plz3ay_di\" bpmnElement=\"SequenceFlow_0plz3ay\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1575\" y=\"2442\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1575\" y=\"2659\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"764\" y=\"2659\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1600\" y=\"2485.1268947152676\" width=\"88\" height=\"25\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"StartEvent_1p6apb4_di\" bpmnElement=\"StartEvent_1p6apb4\">\n <dc:Bounds x=\"-64\" y=\"2385\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-91\" y=\"2425\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_01jkuxl_di\" bpmnElement=\"SequenceFlow_01jkuxl\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-28\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-6\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-62\" y=\"2382\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0nafmgu_di\" bpmnElement=\"SequenceFlow_0nafmgu\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"94\" y=\"2507\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"139\" y=\"2507\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"71.5\" y=\"2486\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0qum3va_di\" bpmnElement=\"SequenceFlow_0qum3va\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"189\" y=\"2467\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"189\" y=\"2443\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"159\" y=\"2449\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1qq72pa_di\" bpmnElement=\"SequenceFlow_1qq72pa\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"239\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"313\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"231\" y=\"2382\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_16dq82p_di\" bpmnElement=\"SequenceFlow_16dq82p\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"468\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"516\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"447\" y=\"2382\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_05cgo16_di\" bpmnElement=\"SequenceFlow_05cgo16\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1098\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1137\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1072.5\" y=\"2382\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"EndEvent_1td218a_di\" bpmnElement=\"EndEvent_1td218a\">\n <dc:Bounds x=\"1366\" y=\"2385\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1339\" y=\"2425\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0cs8qgb_di\" bpmnElement=\"SequenceFlow_0cs8qgb\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1237\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1284\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1215.5\" y=\"2382\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1vt2zjc_di\" bpmnElement=\"Task_16iq7xo\">\n <dc:Bounds x=\"-6\" y=\"2467\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_12cqekg_di\" bpmnElement=\"Task_1c4ms1w\">\n <dc:Bounds x=\"139\" y=\"2467\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_0ubufo5_di\" bpmnElement=\"Task_003ykqx\">\n <dc:Bounds x=\"139\" y=\"2363\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_0xps76m_di\" bpmnElement=\"IntermediateThrowEvent_1v7ketw\">\n <dc:Bounds x=\"432\" y=\"2385\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"418\" y=\"2425\" width=\"68\" height=\"25\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_0taos7g_di\" bpmnElement=\"Task_0gbbuzk\">\n <dc:Bounds x=\"998\" y=\"2363\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_0dl9g84_di\" bpmnElement=\"Task_1nnqja8\">\n <dc:Bounds x=\"1137\" y=\"2363\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_17pv0kr_di\" bpmnElement=\"SequenceFlow_17pv0kr\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-20\" y=\"243\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"119\" y=\"243\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"4.5\" y=\"221.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0pst8ny_di\" bpmnElement=\"Task_00t72im\">\n <dc:Bounds x=\"-120\" y=\"203\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_01bnftj_di\" bpmnElement=\"SequenceFlow_01bnftj\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"105\" y=\"2174\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"145\" y=\"2174\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"80\" y=\"2152.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_09co0zt_di\" bpmnElement=\"Task_1j8fxx4\">\n <dc:Bounds x=\"5\" y=\"2134\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0n6vylp_di\" bpmnElement=\"SequenceFlow_0n6vylp\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"520\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"556\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"493\" y=\"3282.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0lz2p1x_di\" bpmnElement=\"Task_1twtthz\">\n <dc:Bounds x=\"420\" y=\"3264\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1ntd2dt_di\" bpmnElement=\"SequenceFlow_1ntd2dt\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"384\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"420\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"357\" y=\"3282.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_05c8i2h_di\" bpmnElement=\"Task_0qu6wht\">\n <dc:Bounds x=\"284\" y=\"3264\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_09ugn6m_di\" bpmnElement=\"SequenceFlow_09ugn6m\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"656\" y=\"3305\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"709\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"637.5\" y=\"3283\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0ha72ca_di\" bpmnElement=\"Task_1cknfdw\">\n <dc:Bounds x=\"556\" y=\"3264\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0vcvflv_di\" bpmnElement=\"SequenceFlow_0vcvflv\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"846\" y=\"3303\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"910\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"833\" y=\"3282\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_0rpai9o_di\" bpmnElement=\"IntermediateThrowEvent_042c30y\">\n <dc:Bounds x=\"810\" y=\"3285\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"783\" y=\"3324\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1wg7dji_di\" bpmnElement=\"SequenceFlow_1wg7dji\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1298\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1378\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1293\" y=\"3283\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0a73cuj_di\" bpmnElement=\"Task_1c6dp2m\">\n <dc:Bounds x=\"1198\" y=\"3264\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0zukngs_di\" bpmnElement=\"SequenceFlow_0zukngs\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"803\" y=\"3699\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"932\" y=\"3699\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"823\" y=\"3678\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"UserTask_0kzamvw_di\" bpmnElement=\"Task_0wong3v\">\n <dc:Bounds x=\"703\" y=\"3659\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0s8em5c_di\" bpmnElement=\"SequenceFlow_0s8em5c\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1032\" y=\"3699\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1150\" y=\"3699\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1046\" y=\"3678\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_10v3jfh_di\" bpmnElement=\"Task_18qr4ak\">\n <dc:Bounds x=\"932\" y=\"3659\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_0rhx12h_di\" bpmnElement=\"Task_07ov4od\">\n <dc:Bounds x=\"1687\" y=\"2079\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0o1oyxm_di\" bpmnElement=\"ExclusiveGateway_0o1oyxm\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"555\" y=\"2041\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"535\" y=\"2094\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1msphx8_di\" bpmnElement=\"SequenceFlow_1msphx8\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"605\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"707\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"612.7163167767718\" y=\"2026\" width=\"82\" height=\"25\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0db74se_di\" bpmnElement=\"ExclusiveGateway_0db74se\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"707\" y=\"2041\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"687\" y=\"2094\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1a280t1_di\" bpmnElement=\"SequenceFlow_1a280t1\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"580\" y=\"2091\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"580\" y=\"2139\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"622\" y=\"2139\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"607\" y=\"2093\" width=\"65\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1fi6wgy_di\" bpmnElement=\"SequenceFlow_1fi6wgy\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"658\" y=\"2140\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"732\" y=\"2140\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"732\" y=\"2091\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"650\" y=\"2118.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateThrowEvent_065t40x_di\" bpmnElement=\"IntermediateThrowEvent_1d8xtzj\">\n <dc:Bounds x=\"622\" y=\"2122\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"594\" y=\"2160\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"BoundaryEvent_1ppqqnc_di\" bpmnElement=\"BoundaryEvent_1qw54mc\">\n <dc:Bounds x=\"-100\" y=\"2178\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-127\" y=\"1773\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1it29m9_di\" bpmnElement=\"SequenceFlow_1it29m9\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-100\" y=\"2196\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-236\" y=\"2196\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-213\" y=\"2174.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_1hlodzg_di\" bpmnElement=\"ExclusiveGateway_1hlodzg\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"-311\" y=\"218\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-286\" y=\"271\" width=\"0\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_17yzhc3_di\" bpmnElement=\"SequenceFlow_17yzhc3\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-261\" y=\"243\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-120\" y=\"243\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-190.5\" y=\"221.5\" width=\"0\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_04eigq5_di\" bpmnElement=\"SequenceFlow_04eigq5\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"433\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"268\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-316\" y=\"344\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1g20ud8_di\" bpmnElement=\"Task_18z84kk\">\n <dc:Bounds x=\"-336\" y=\"433\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0itgpp8_di\" bpmnElement=\"ExclusiveGateway_0itgpp8\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"516\" y=\"2378\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"496\" y=\"2431\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0apek7u_di\" bpmnElement=\"SequenceFlow_0apek7u\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"566\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"692\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"602\" y=\"2382\" width=\"54\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_16rxumx_di\" bpmnElement=\"ExclusiveGateway_16rxumx\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"692\" y=\"2378\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"672\" y=\"2431\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0co7t8d_di\" bpmnElement=\"SequenceFlow_0co7t8d\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"742\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"780\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"716\" y=\"2381.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0wdlqjo_di\" bpmnElement=\"SequenceFlow_0wdlqjo\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"541\" y=\"2428\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"541\" y=\"2495\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"610\" y=\"2495\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"597\" y=\"2449\" width=\"63\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1l1r2bo_di\" bpmnElement=\"SequenceFlow_1l1r2bo\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"646\" y=\"2495\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"717\" y=\"2495\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"717\" y=\"2428\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"636.5\" y=\"2473.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateThrowEvent_11dcta8_di\" bpmnElement=\"IntermediateThrowEvent_0hl4vtu\">\n <dc:Bounds x=\"610\" y=\"2477\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"582\" y=\"2516\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0gy8u6u_di\" bpmnElement=\"SequenceFlow_0gy8u6u\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-111\" y=\"2527\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"2527\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"2236\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-243.5\" y=\"2505.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"BoundaryEvent_0in52x1_di\" bpmnElement=\"BoundaryEvent_1p04zrq\">\n <dc:Bounds x=\"-111\" y=\"2509\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-138\" y=\"2104\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_1yz9h52_di\" bpmnElement=\"ExclusiveGateway_1yz9h52\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"910\" y=\"3279\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"890\" y=\"3332\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_07v4okd_di\" bpmnElement=\"SequenceFlow_07v4okd\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"960\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1053\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"983\" y=\"3272\" width=\"52\" height=\"24\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0inzn5b_di\" bpmnElement=\"ExclusiveGateway_0inzn5b\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"1053\" y=\"3279\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1033\" y=\"3332\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0sgru9q_di\" bpmnElement=\"SequenceFlow_0sgru9q\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1103\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1198\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1106\" y=\"3283\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1x9vbit_di\" bpmnElement=\"SequenceFlow_1x9vbit\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"935\" y=\"3329\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"935\" y=\"3404\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"986\" y=\"3404\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"960\" y=\"3357\" width=\"63\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1w51bwo_di\" bpmnElement=\"SequenceFlow_1w51bwo\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1022\" y=\"3404\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1078\" y=\"3404\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1078\" y=\"3329\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1005\" y=\"3383\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateThrowEvent_1sbzsix_di\" bpmnElement=\"IntermediateThrowEvent_0005qon\">\n <dc:Bounds x=\"986\" y=\"3387\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"959\" y=\"3425\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"BoundaryEvent_1thyg7c_di\" bpmnElement=\"BoundaryEvent_08jte7n\">\n <dc:Bounds x=\"-79\" y=\"3407\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-106\" y=\"2902\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0zqhg39_di\" bpmnElement=\"SequenceFlow_0zqhg39\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-79\" y=\"3425\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"3425\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"2236\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-227.5\" y=\"3403.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0m35hlv_di\" bpmnElement=\"Task_07971jg\">\n <dc:Bounds x=\"145\" y=\"2134\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0bwunp6_di\" bpmnElement=\"SequenceFlow_0bwunp6\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"195\" y=\"2134\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"195\" y=\"2106\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"165\" y=\"2114\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1it5hq0_di\" bpmnElement=\"SequenceFlow_1it5hq0\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-458\" y=\"243\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-311\" y=\"243\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-429.5\" y=\"222\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0jev4mn_di\" bpmnElement=\"Task_097ya1h\">\n <dc:Bounds x=\"-558\" y=\"203\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_00rsjs6_di\" bpmnElement=\"ExclusiveGateway_00rsjs6\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"639\" y=\"1138\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"619\" y=\"1192\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_19dkoly_di\" bpmnElement=\"SequenceFlow_19dkoly\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"689\" y=\"1163\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"920\" y=\"1163\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"711.5801526717557\" y=\"1102\" width=\"83\" height=\"24\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0bzkfz4_di\" bpmnElement=\"SequenceFlow_0bzkfz4\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"664\" y=\"1138\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"664\" y=\"1067\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1066\" y=\"1067\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1066\" y=\"1138\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"820\" y=\"1046\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0idj77c_di\" bpmnElement=\"SequenceFlow_0idj77c\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"581\" y=\"1163\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"639\" y=\"1163\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"565\" y=\"1142\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ScriptTask_09dre0j_di\" bpmnElement=\"Task_0987mh1\">\n <dc:Bounds x=\"481\" y=\"1123\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_1n6p4wo_di\" bpmnElement=\"ExclusiveGateway_1n6p4wo\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"1550\" y=\"1991\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1530\" y=\"2045\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1fns3ph_di\" bpmnElement=\"SequenceFlow_1fns3ph\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1575\" y=\"2041\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1575\" y=\"2392\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1482\" y=\"2077\" width=\"78\" height=\"36\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_15pti9m_di\" bpmnElement=\"SequenceFlow_15pti9m\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1600\" y=\"2016\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1737\" y=\"2016\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1737\" y=\"2079\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1651\" y=\"1971\" width=\"85\" height=\"24\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0tsnd9v_di\" bpmnElement=\"SequenceFlow_0tsnd9v\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1737\" y=\"2159\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1737\" y=\"2259\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1707\" y=\"2203\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0mccnhj_di\" bpmnElement=\"SequenceFlow_0mccnhj\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1737\" y=\"2339\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1737\" y=\"2417\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1600\" y=\"2417\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1707\" y=\"2372\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1lsnqx5_di\" bpmnElement=\"Task_1bxm2uc\">\n <dc:Bounds x=\"1687\" y=\"2259\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0n75v6t_di\" bpmnElement=\"SequenceFlow_0n75v6t\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"2156\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"2115\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-316\" y=\"2129.5\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_19ijr3t_di\" bpmnElement=\"ExclusiveGateway_19ijr3t\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"-311\" y=\"783\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-331\" y=\"837\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1eea2sk_di\" bpmnElement=\"SequenceFlow_1eea2sk\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"783\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"513\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-316\" y=\"642\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0ot1hqf_di\" bpmnElement=\"SequenceFlow_0ot1hqf\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"490\" y=\"2863\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"591\" y=\"2863\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"495.5\" y=\"2842\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1wqn2yh_di\" bpmnElement=\"SequenceFlow_1wqn2yh\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"273\" y=\"2863\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"390\" y=\"2863\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"286.5\" y=\"2842\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1n6ocee_di\" bpmnElement=\"Task_1xvljyj\">\n <dc:Bounds x=\"390\" y=\"2823\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"ServiceTask_0h4x8i5_di\" bpmnElement=\"Task_16adeor\">\n <dc:Bounds x=\"173\" y=\"2823\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1qdze6b_di\" bpmnElement=\"SequenceFlow_1qdze6b\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"126\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"154\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"95\" y=\"3283\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1ky4lbq_di\" bpmnElement=\"Task_0jpggkg\">\n <dc:Bounds x=\"26\" y=\"3264\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"UserTask_1pflw4s_di\" bpmnElement=\"Task_07m3z3r\">\n <dc:Bounds x=\"455\" y=\"1666\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"SubProcess_18dq0f6_di\" bpmnElement=\"SubProcess_18dq0f6\" isExpanded=\"true\">\n <dc:Bounds x=\"233\" y=\"1606\" width=\"976\" height=\"219\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0q5sayq_di\" bpmnElement=\"SequenceFlow_0q5sayq\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"721\" y=\"1825\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"721\" y=\"1895\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"617\" y=\"1895\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"617\" y=\"1964\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"624\" y=\"1874\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"StartEvent_0o9ps6y_di\" bpmnElement=\"StartEvent_0o9ps6y\">\n <dc:Bounds x=\"277.37125748502996\" y=\"1688\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"295.37125748502996\" y=\"1728\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"EndEvent_1hc41ct_di\" bpmnElement=\"EndEvent_1hc41ct\">\n <dc:Bounds x=\"1073\" y=\"1688\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1046\" y=\"1728\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_06pdm0m_di\" bpmnElement=\"SequenceFlow_06pdm0m\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"555\" y=\"1706\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"591\" y=\"1706\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"528\" y=\"1685\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0efb2bc_di\" bpmnElement=\"SequenceFlow_0efb2bc\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"313\" y=\"1706\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"334\" y=\"1706\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"278.5\" y=\"1685\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0azz6z0_di\" bpmnElement=\"SequenceFlow_0azz6z0\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"691\" y=\"1706\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"726\" y=\"1706\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"663.5\" y=\"1685\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_03o3veq_di\" bpmnElement=\"ExclusiveGateway_03o3veq\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"726.0374251497007\" y=\"1681\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"751.0374251497007\" y=\"1735\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1vo4p4o_di\" bpmnElement=\"SequenceFlow_1vo4p4o\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"776\" y=\"1706\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"995\" y=\"1706\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"840.5\" y=\"1685\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_08zztcj_di\" bpmnElement=\"ExclusiveGateway_08zztcj\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"995\" y=\"1681\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"975\" y=\"1735\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0fdr8l4_di\" bpmnElement=\"SequenceFlow_0fdr8l4\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1045\" y=\"1706\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1073\" y=\"1706\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1014\" y=\"1685\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0iowz24_di\" bpmnElement=\"SequenceFlow_0iowz24\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"751\" y=\"1731\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"751\" y=\"1769\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"824\" y=\"1769\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"766\" y=\"1744\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0r2carx_di\" bpmnElement=\"SequenceFlow_0r2carx\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"860\" y=\"1769\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1020\" y=\"1769\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1020\" y=\"1731\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"895\" y=\"1748\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateThrowEvent_1xjd690_di\" bpmnElement=\"IntermediateThrowEvent_1nbkuvh\">\n <dc:Bounds x=\"824\" y=\"1751\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"811\" y=\"1791\" width=\"61\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"BoundaryEvent_1xvgda1_di\" bpmnElement=\"BoundaryEvent_0x5owxf\">\n <dc:Bounds x=\"215\" y=\"1715\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"188\" y=\"1754\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0r66hju_di\" bpmnElement=\"SequenceFlow_0r66hju\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"215\" y=\"1733\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"1733\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"833\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-80.5\" y=\"1712\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1xp7fcn_di\" bpmnElement=\"Task_1y3y0ka\">\n <dc:Bounds x=\"591\" y=\"1666\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0lk91uy_di\" bpmnElement=\"SequenceFlow_0lk91uy\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"691\" y=\"2863\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"780\" y=\"2863\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"735.5\" y=\"2842\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_03y1fsc_di\" bpmnElement=\"SequenceFlow_03y1fsc\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1066\" y=\"1188\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1066\" y=\"1356\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1036\" y=\"1266\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ExclusiveGateway_0qxjkdg_di\" bpmnElement=\"ExclusiveGateway_0qxjkdg\" isMarkerVisible=\"true\">\n <dc:Bounds x=\"1041\" y=\"1355.631184407796\" width=\"50\" height=\"50\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1066\" y=\"1409.631184407796\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1c0vhqn_di\" bpmnElement=\"SequenceFlow_1c0vhqn\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1042\" y=\"1380\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"721\" y=\"1380\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"721\" y=\"1606\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"836.5\" y=\"1359\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_14ffcfh_di\" bpmnElement=\"SequenceFlow_14ffcfh\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1020\" y=\"1163\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1041\" y=\"1163\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"985.5\" y=\"1142\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1idfxsk_di\" bpmnElement=\"SequenceFlow_1idfxsk\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"811\" y=\"795\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"874\" y=\"795\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"874\" y=\"795\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"937\" y=\"795\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"889\" y=\"789\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ScriptTask_0449r12_di\" bpmnElement=\"Task_01lmvg0\">\n <dc:Bounds x=\"711\" y=\"755\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0tph6jo_di\" bpmnElement=\"SequenceFlow_0tph6jo\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"434\" y=\"1706\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"455\" y=\"1706\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"444.5\" y=\"1684.5\" width=\"0\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_1g3gf18_di\" bpmnElement=\"Task_1r6r00s\">\n <dc:Bounds x=\"334\" y=\"1666\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1y70giq_di\" bpmnElement=\"SequenceFlow_1y70giq\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"55\" y=\"2106\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"55\" y=\"2134\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"25\" y=\"2113.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_0ecldxd_di\" bpmnElement=\"Task_0kz1lri\">\n <dc:Bounds x=\"5\" y=\"2026\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0br91ig_di\" bpmnElement=\"SequenceFlow_0br91ig\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"44\" y=\"2443\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"44\" y=\"2467\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"14\" y=\"2448.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_14lsv5d_di\" bpmnElement=\"Task_07iaun7\">\n <dc:Bounds x=\"-6\" y=\"2363\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_09f9a0i_di\" bpmnElement=\"SequenceFlow_09f9a0i\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"254\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"284\" y=\"3304\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"224\" y=\"3282.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_068ylz9_di\" bpmnElement=\"Task_0mz086w\">\n <dc:Bounds x=\"154\" y=\"3264\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0sdlnb9_di\" bpmnElement=\"SequenceFlow_0sdlnb9\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"736\" y=\"253\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"794\" y=\"253\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"765\" y=\"231.5\" width=\"0\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ScriptTask_034bi4x_di\" bpmnElement=\"Task_18mx04u\">\n <dc:Bounds x=\"636\" y=\"213\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0uqxcub_di\" bpmnElement=\"SequenceFlow_0uqxcub\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1339\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1376\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1357.5\" y=\"2044.5\" width=\"0\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_1bxgcne_di\" bpmnElement=\"IntermediateThrowEvent_0v6ogvs\">\n <dc:Bounds x=\"1303\" y=\"2048\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1320.9503154574134\" y=\"2087\" width=\"0\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_03g996x_di\" bpmnElement=\"SequenceFlow_03g996x\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1320\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1366\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1298\" y=\"2381.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_0uwlam5_di\" bpmnElement=\"IntermediateThrowEvent_1waf2ww\">\n <dc:Bounds x=\"1284\" y=\"2385\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1256\" y=\"2424\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1dwrr8o_di\" bpmnElement=\"SequenceFlow_1dwrr8o\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"757\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"815\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"786\" y=\"2044.5\" width=\"0\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"SequenceFlow_00k3mfw_di\" bpmnElement=\"SequenceFlow_00k3mfw\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"915\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"954\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"889.5\" y=\"2044.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_03fhsz4_di\" bpmnElement=\"Task_138zqm3\">\n <dc:Bounds x=\"815\" y=\"2026\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0fhvx6h_di\" bpmnElement=\"SequenceFlow_0fhvx6h\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"880\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"916\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"853\" y=\"2381.5\" width=\"90\" height=\"13\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ServiceTask_08ngra0_di\" bpmnElement=\"Task_0izt1ex\">\n <dc:Bounds x=\"780\" y=\"2363\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1mq7893_di\" bpmnElement=\"SequenceFlow_1mq7893\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"990\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1040\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1015\" y=\"2045\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_117s8yp_di\" bpmnElement=\"IntermediateThrowEvent_01qs7av\">\n <dc:Bounds x=\"954\" y=\"2048\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"971.9051833122629\" y=\"2088\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_02wkln4_di\" bpmnElement=\"SequenceFlow_02wkln4\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"952\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"998\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"975\" y=\"2382\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_1wefwb3_di\" bpmnElement=\"IntermediateThrowEvent_0vliiv2\">\n <dc:Bounds x=\"916\" y=\"2385\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"933.9051833122629\" y=\"2425\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_09e5fci_di\" bpmnElement=\"SequenceFlow_09e5fci\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"461\" y=\"2066\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"491\" y=\"2066\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"431\" y=\"2045\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_0gegl8l_di\" bpmnElement=\"IntermediateThrowEvent_1apr6ig\">\n <dc:Bounds x=\"425\" y=\"2048\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"397\" y=\"2088\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_112ct26_di\" bpmnElement=\"SequenceFlow_112ct26\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"349\" y=\"2403\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"432\" y=\"2403\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"345.5\" y=\"2382\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_0zpyp7g_di\" bpmnElement=\"IntermediateThrowEvent_1tfs4id\">\n <dc:Bounds x=\"313\" y=\"2385\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"285\" y=\"2425\" width=\"90\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0dntl64_di\" bpmnElement=\"SequenceFlow_0dntl64\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"745\" y=\"3304\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"810\" y=\"3303\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"777.5\" y=\"3282.5\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_0cgwrjv_di\" bpmnElement=\"IntermediateThrowEvent_0a2hwlj\">\n <dc:Bounds x=\"709\" y=\"3286\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"726.814393939394\" y=\"3326\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_0bddk0e_di\" bpmnElement=\"SequenceFlow_0bddk0e\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"2079\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"1495\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"1495\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"-286\" y=\"833\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-271\" y=\"1489\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"IntermediateCatchEvent_0j7o8uk_di\" bpmnElement=\"IntermediateThrowEvent_0c1as8m\">\n <dc:Bounds x=\"-304\" y=\"2079\" width=\"36\" height=\"36\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"-286\" y=\"2118.585342333655\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"SequenceFlow_1vbpyvz_di\" bpmnElement=\"SequenceFlow_1vbpyvz\">\n <di:waypoint xsi:type=\"dc:Point\" x=\"1228\" y=\"1163\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1263\" y=\"1163\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1263\" y=\"731\" />\n <di:waypoint xsi:type=\"dc:Point\" x=\"1214\" y=\"731\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"1278\" y=\"941\" width=\"0\" height=\"12\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNShape id=\"ScriptTask_023rwxw_di\" bpmnElement=\"Task_10qxfzd\">\n <dc:Bounds x=\"1128\" y=\"1123\" width=\"100\" height=\"80\" />\n </bpmndi:BPMNShape>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</bpmn:definitions>\n",
6 "name" : "informativa_giunta",
7 "createdAt" : ISODate("2020-05-07T08:43:05.236+02:00"),
8 "modifiedAt" : ISODate("2021-06-16T14:32:09.588+02:00"),
9 "deleted" : false,
10 "additionalVariables" : {
11 "proponent" : {
12 "userGenerated" : true,
13 "readOnly" : false,
14 "origins" : [
15 {
16 "id" : "Process Additional Variables",
17 "name" : "Process Additional Variables"
18 }
19 ],
20 "description" : "Proponente",
21 "name" : "proponent",
22 "type" : "json"
23 },
24 "notaRitira" : {
25 "userGenerated" : true,
26 "readOnly" : false,
27 "origins" : [
28 {
29 "id" : "Process Additional Variables",
30 "name" : "Process Additional Variables"
31 }
32 ],
33 "description" : "Nota Ritira",
34 "name" : "notaRitira",
35 "type" : "string"
36 },
37 "numero_provvisorio" : {
38 "userGenerated" : true,
39 "readOnly" : false,
40 "origins" : [
41 {
42 "id" : "Process Additional Variables",
43 "name" : "Process Additional Variables"
44 }
45 ],
46 "description" : "Numero Provvisorio",
47 "name" : "numero_provvisorio",
48 "type" : "string"
49 },
50 "tipologia_atto_label" : {
51 "userGenerated" : true,
52 "readOnly" : false,
53 "origins" : [
54 {
55 "id" : "Process Additional Variables",
56 "name" : "Process Additional Variables"
57 }
58 ],
59 "description" : "Tipologia Atto Desc",
60 "name" : "tipologia_atto_label",
61 "type" : "string"
62 },
63 "act_signers" : {
64 "userGenerated" : true,
65 "readOnly" : false,
66 "origins" : [
67 {
68 "id" : "Process Additional Variables",
69 "name" : "Process Additional Variables"
70 }
71 ],
72 "description" : "Signers",
73 "name" : "act_signers",
74 "type" : "json"
75 },
76 "documenti_seduta" : {
77 "userGenerated" : true,
78 "readOnly" : false,
79 "origins" : [
80 {
81 "id" : "Process Additional Variables",
82 "name" : "Process Additional Variables"
83 }
84 ],
85 "description" : "Documenti Seduta",
86 "name" : "documenti_seduta",
87 "type" : "MULTIFILE_SIGNATURE"
88 }
89 },
90 "documentPermissions" : {
91
92 },
93 "permissions" : {
94 "Task_0wong3v" : {
95 "documenti_seduta" : {
96 "highlighted" : false
97 }
98 },
99 "Task_07m3z3r" : {
100 "allegati_atto" : {
101 "highlighted" : false
102 }
103 },
104 "Task_03e7pih" : {
105 "atti_atto" : {
106 "highlighted" : false
107 },
108 "approvati_atto" : {
109 "highlighted" : false
110 },
111 "allegati_atto" : {
112 "highlighted" : false
113 }
114 },
115 "Task_017gu08" : {
116 "atti_atto" : {
117 "highlighted" : false
118 },
119 "approvati_atto" : {
120 "highlighted" : false
121 },
122 "allegati_atto" : {
123 "highlighted" : false
124 }
125 },
126 "user_documents" : {
127 "pdf_file_Task_10x05tm" : {
128 "highlighted" : false
129 }
130 },
131 "Task_0og5it7" : {
132 "allegati_atto" : {
133 "highlighted" : false
134 },
135 "approvati_atto" : {
136 "highlighted" : false
137 },
138 "atti_atto" : {
139 "highlighted" : false
140 }
141 },
142 "Task_1etgvlk" : {
143 "allegati_atto" : {
144 "highlighted" : false
145 }
146 },
147 "Task_0rfpy7n" : {
148 "atti_atto" : {
149 "highlighted" : false
150 },
151 "approvati_atto" : {
152 "highlighted" : false
153 },
154 "allegati_atto" : {
155 "highlighted" : false
156 }
157 },
158 "Task_1r97dsh" : {
159 "allegati_atto" : {
160 "highlighted" : false
161 },
162 "approvati_atto" : {
163 "highlighted" : false
164 },
165 "atti_atto" : {
166 "highlighted" : false
167 }
168 }
169 },
170 "variables" : {
171 "errorMessage" : {
172 "userGenerated" : false,
173 "readOnly" : false,
174 "type" : "string",
175 "origins" : [
176 {
177 "id" : "Task_1jodv6m",
178 "name" : "In attesa di un possibile aggiornamento firmatario"
179 }
180 ],
181 "name" : "errorMessage",
182 "description" : "Messaggio di errore"
183 },
184 "dataProtocollo" : {
185 "userGenerated" : false,
186 "readOnly" : false,
187 "type" : "string",
188 "origins" : [
189 {
190 "id" : "Task_1jodv6m",
191 "name" : "In attesa di un possibile aggiornamento firmatario"
192 }
193 ],
194 "name" : "dataProtocollo",
195 "description" : "Data del protocollo"
196 },
197 "numProtocollo" : {
198 "userGenerated" : false,
199 "readOnly" : false,
200 "type" : "string",
201 "origins" : [
202 {
203 "id" : "Task_1jodv6m",
204 "name" : "In attesa di un possibile aggiornamento firmatario"
205 }
206 ],
207 "name" : "numProtocollo",
208 "description" : "Numero del protocollo"
209 },
210 "statusOk" : {
211 "userGenerated" : false,
212 "readOnly" : false,
213 "type" : "string",
214 "origins" : [
215 {
216 "id" : "Task_1jodv6m",
217 "name" : "In attesa di un possibile aggiornamento firmatario"
218 }
219 ],
220 "name" : "statusOk",
221 "description" : "Stato del protocollo"
222 },
223 "pdf_file_Task_1y3y0ka" : {
224 "userGenerated" : false,
225 "readOnly" : false,
226 "type" : "file",
227 "origins" : [
228 {
229 "id" : "Task_1y3y0ka",
230 "name" : "genera pdf"
231 }
232 ],
233 "name" : "pdf_file_Task_1y3y0ka",
234 "description" : "informativa_giunta"
235 },
236 "numero_definitivo" : {
237 "userGenerated" : false,
238 "readOnly" : false,
239 "type" : "string",
240 "origins" : [
241 {
242 "id" : "Task_07ov4od",
243 "name" : "crea numero definitvo"
244 }
245 ],
246 "name" : "numero_definitivo",
247 "description" : "Numero Registro Definitivo"
248 },
249 "pdf_file_Task_0ls88wx" : {
250 "userGenerated" : false,
251 "readOnly" : false,
252 "type" : "file",
253 "origins" : [
254 {
255 "id" : "Task_0ls88wx",
256 "name" : "genera pdf atto ritirato"
257 }
258 ],
259 "name" : "pdf_file_Task_0ls88wx",
260 "description" : "NotaRitiro"
261 },
262 "pdf_file_Task_0c6cr0e" : {
263 "userGenerated" : false,
264 "readOnly" : false,
265 "type" : "file",
266 "origins" : [
267 {
268 "id" : "Task_0c6cr0e",
269 "name" : "genera pdf"
270 }
271 ],
272 "name" : "pdf_file_Task_0c6cr0e",
273 "description" : "informativa_giunta"
274 },
275 "pdf_file_Task_0dto57y" : {
276 "userGenerated" : false,
277 "readOnly" : false,
278 "type" : "file",
279 "origins" : [
280 {
281 "id" : "Task_0dto57y",
282 "name" : "genera pdf"
283 }
284 ],
285 "name" : "pdf_file_Task_0dto57y",
286 "description" : "informativa_giunta"
287 },
288 "statusKey" : {
289 "userGenerated" : false,
290 "readOnly" : false,
291 "type" : "string",
292 "origins" : [
293 {
294 "id" : "Task_18swngw",
295 "name" : "Atto Ritirato"
296 },
297 {
298 "id" : "Task_1o84u1b",
299 "name" : "stato \"Approvato dai proponenti\""
300 },
301 {
302 "id" : "Task_002rfr2",
303 "name" : "stato \"In attesa di firma\""
304 },
305 {
306 "id" : "Task_1h3vtfn",
307 "name" : "stato: Rimesso in bozza"
308 },
309 {
310 "id" : "Task_1c4ms1w",
311 "name" : "stato \"In attesa del visto degli assessori\""
312 },
313 {
314 "id" : "Task_0gbbuzk",
315 "name" : "stato \"Vistato dagli assessori\""
316 },
317 {
318 "id" : "Task_1twtthz",
319 "name" : "stato: \"Presentabile alla Giunta\""
320 },
321 {
322 "id" : "Task_18qr4ak",
323 "name" : "stato: \"Presentata\""
324 }
325 ],
326 "name" : "statusKey",
327 "description" : "Stato assegnato"
328 },
329 "statusMap" : {
330 "userGenerated" : false,
331 "readOnly" : false,
332 "type" : "string",
333 "origins" : [
334 {
335 "id" : "Task_07971jg",
336 "name" : "firma non più modificabile e atto non ritirabile"
337 },
338 {
339 "id" : "Task_00t72im",
340 "name" : "stato iniziale mappa stati"
341 },
342 {
343 "id" : "Task_16adeor",
344 "name" : "segretario generale modificabile"
345 },
346 {
347 "id" : "Task_0jpggkg",
348 "name" : "segretario generale non modificabile"
349 }
350 ],
351 "name" : "statusMap",
352 "description" : "Mappa degli stati (JSON)"
353 },
354 "pdf_file_Task_097ya1h" : {
355 "userGenerated" : false,
356 "readOnly" : false,
357 "type" : "file",
358 "origins" : [
359 {
360 "id" : "Task_097ya1h",
361 "name" : "genera pdf"
362 }
363 ],
364 "name" : "pdf_file_Task_097ya1h",
365 "description" : "informativa_giunta"
366 },
367 "proponent" : {
368 "userGenerated" : true,
369 "readOnly" : false,
370 "type" : "json",
371 "origins" : [
372 {
373 "id" : "Process Additional Variables",
374 "name" : "Process Additional Variables"
375 }
376 ],
377 "name" : "proponent",
378 "description" : "Proponente"
379 },
380 "notaRitira" : {
381 "userGenerated" : true,
382 "readOnly" : false,
383 "type" : "string",
384 "origins" : [
385 {
386 "id" : "Process Additional Variables",
387 "name" : "Process Additional Variables"
388 }
389 ],
390 "name" : "notaRitira",
391 "description" : "Nota Ritira"
392 },
393 "numero_provvisorio" : {
394 "userGenerated" : true,
395 "readOnly" : false,
396 "type" : "string",
397 "origins" : [
398 {
399 "id" : "Process Additional Variables",
400 "name" : "Process Additional Variables"
401 }
402 ],
403 "name" : "numero_provvisorio",
404 "description" : "Numero Provvisorio"
405 },
406 "tipologia_atto_label" : {
407 "userGenerated" : true,
408 "readOnly" : false,
409 "type" : "string",
410 "origins" : [
411 {
412 "id" : "Process Additional Variables",
413 "name" : "Process Additional Variables"
414 }
415 ],
416 "name" : "tipologia_atto_label",
417 "description" : "Tipologia Atto Desc"
418 },
419 "act_signers" : {
420 "userGenerated" : true,
421 "readOnly" : false,
422 "type" : "json",
423 "origins" : [
424 {
425 "id" : "Process Additional Variables",
426 "name" : "Process Additional Variables"
427 }
428 ],
429 "name" : "act_signers",
430 "description" : "Signers"
431 },
432 "Task_07m3z3r_userLastName" : {
433 "userGenerated" : false,
434 "readOnly" : true,
435 "type" : "TEXT",
436 "origins" : [
437 {
438 "id" : "Task_07m3z3r",
439 "name" : "Ricezione e verifica"
440 }
441 ],
442 "description" : "Cognome Operatore",
443 "name" : "Task_07m3z3r_userLastName"
444 },
445 "Task_07m3z3r_userFirstName" : {
446 "userGenerated" : false,
447 "readOnly" : true,
448 "type" : "TEXT",
449 "origins" : [
450 {
451 "id" : "Task_07m3z3r",
452 "name" : "Ricezione e verifica"
453 }
454 ],
455 "description" : "Nome Operatore",
456 "name" : "Task_07m3z3r_userFirstName"
457 },
458 "Task_07m3z3r_userId" : {
459 "userGenerated" : false,
460 "readOnly" : true,
461 "type" : "TEXT",
462 "origins" : [
463 {
464 "id" : "Task_07m3z3r",
465 "name" : "Ricezione e verifica"
466 }
467 ],
468 "description" : "Id Operatore",
469 "name" : "Task_07m3z3r_userId"
470 },
471 "nota_seduta" : {
472 "userGenerated" : true,
473 "readOnly" : false,
474 "type" : "TEXTAREA",
475 "origins" : [
476 {
477 "id" : "Task_0wong3v",
478 "name" : "Registrazione\ninformativa "
479 }
480 ],
481 "name" : "nota_seduta",
482 "description" : "Nota Seduta"
483 },
484 "documenti_seduta" : {
485 "userGenerated" : true,
486 "readOnly" : false,
487 "type" : "MULTIFILE_SIGNATURE",
488 "origins" : [
489 {
490 "id" : "Process Additional Variables",
491 "name" : "Process Additional Variables"
492 }
493 ],
494 "name" : "documenti_seduta",
495 "description" : "Documenti Seduta"
496 },
497 "data_discussione" : {
498 "userGenerated" : true,
499 "readOnly" : false,
500 "type" : "DATE",
501 "origins" : [
502 {
503 "id" : "Task_0wong3v",
504 "name" : "Registrazione\ninformativa "
505 }
506 ],
507 "name" : "data_discussione",
508 "description" : "Data Discussione"
509 },
510 "Task_0wong3v_userLastName" : {
511 "userGenerated" : false,
512 "readOnly" : true,
513 "type" : "TEXT",
514 "origins" : [
515 {
516 "id" : "Task_0wong3v",
517 "name" : "Registrazione\ninformativa "
518 }
519 ],
520 "description" : "Cognome Operatore",
521 "name" : "Task_0wong3v_userLastName"
522 },
523 "Task_0wong3v_userFirstName" : {
524 "userGenerated" : false,
525 "readOnly" : true,
526 "type" : "TEXT",
527 "origins" : [
528 {
529 "id" : "Task_0wong3v",
530 "name" : "Registrazione\ninformativa "
531 }
532 ],
533 "description" : "Nome Operatore",
534 "name" : "Task_0wong3v_userFirstName"
535 },
536 "Task_0wong3v_userId" : {
537 "userGenerated" : false,
538 "readOnly" : true,
539 "type" : "TEXT",
540 "origins" : [
541 {
542 "id" : "Task_0wong3v",
543 "name" : "Registrazione\ninformativa "
544 }
545 ],
546 "description" : "Id Operatore",
547 "name" : "Task_0wong3v_userId"
548 },
549 "Task_03e7pih_userLastName" : {
550 "userGenerated" : false,
551 "readOnly" : true,
552 "type" : "TEXT",
553 "origins" : [
554 {
555 "id" : "Task_03e7pih",
556 "name" : "Ricezione e verifica"
557 }
558 ],
559 "description" : "Cognome Operatore",
560 "name" : "Task_03e7pih_userLastName"
561 },
562 "Task_03e7pih_userFirstName" : {
563 "userGenerated" : false,
564 "readOnly" : true,
565 "type" : "TEXT",
566 "origins" : [
567 {
568 "id" : "Task_03e7pih",
569 "name" : "Ricezione e verifica"
570 }
571 ],
572 "description" : "Nome Operatore",
573 "name" : "Task_03e7pih_userFirstName"
574 },
575 "Task_03e7pih_userId" : {
576 "userGenerated" : false,
577 "readOnly" : true,
578 "type" : "TEXT",
579 "origins" : [
580 {
581 "id" : "Task_03e7pih",
582 "name" : "Ricezione e verifica"
583 }
584 ],
585 "description" : "Id Operatore",
586 "name" : "Task_03e7pih_userId"
587 },
588 "Task_017gu08_userLastName" : {
589 "userGenerated" : false,
590 "readOnly" : true,
591 "type" : "TEXT",
592 "origins" : [
593 {
594 "id" : "Task_017gu08",
595 "name" : "Ricezione e verifica"
596 }
597 ],
598 "description" : "Cognome Operatore",
599 "name" : "Task_017gu08_userLastName"
600 },
601 "Task_017gu08_userFirstName" : {
602 "userGenerated" : false,
603 "readOnly" : true,
604 "type" : "TEXT",
605 "origins" : [
606 {
607 "id" : "Task_017gu08",
608 "name" : "Ricezione e verifica"
609 }
610 ],
611 "description" : "Nome Operatore",
612 "name" : "Task_017gu08_userFirstName"
613 },
614 "Task_017gu08_userId" : {
615 "userGenerated" : false,
616 "readOnly" : true,
617 "type" : "TEXT",
618 "origins" : [
619 {
620 "id" : "Task_017gu08",
621 "name" : "Ricezione e verifica"
622 }
623 ],
624 "description" : "Id Operatore",
625 "name" : "Task_017gu08_userId"
626 },
627 "Task_0og5it7_userLastName" : {
628 "userGenerated" : false,
629 "readOnly" : true,
630 "type" : "TEXT",
631 "origins" : [
632 {
633 "id" : "Task_0og5it7",
634 "name" : "Modifica Proposta"
635 }
636 ],
637 "description" : "Cognome Operatore",
638 "name" : "Task_0og5it7_userLastName"
639 },
640 "Task_0og5it7_userFirstName" : {
641 "userGenerated" : false,
642 "readOnly" : true,
643 "type" : "TEXT",
644 "origins" : [
645 {
646 "id" : "Task_0og5it7",
647 "name" : "Modifica Proposta"
648 }
649 ],
650 "description" : "Nome Operatore",
651 "name" : "Task_0og5it7_userFirstName"
652 },
653 "Task_0og5it7_userId" : {
654 "userGenerated" : false,
655 "readOnly" : true,
656 "type" : "TEXT",
657 "origins" : [
658 {
659 "id" : "Task_0og5it7",
660 "name" : "Modifica Proposta"
661 }
662 ],
663 "description" : "Id Operatore",
664 "name" : "Task_0og5it7_userId"
665 },
666 "atto_riservato" : {
667 "userGenerated" : true,
668 "readOnly" : false,
669 "type" : "BOOLEAN",
670 "origins" : [
671 {
672 "id" : "Task_1etgvlk",
673 "name" : "Scrittura Proposta"
674 },
675 {
676 "id" : "Task_017gu08",
677 "name" : "Ricezione e verifica"
678 },
679 {
680 "id" : "Task_07m3z3r",
681 "name" : "Ricezione e verifica"
682 }
683 ],
684 "name" : "atto_riservato",
685 "description" : "Atto riservato"
686 },
687 "Task_1etgvlk_userLastName" : {
688 "userGenerated" : false,
689 "readOnly" : true,
690 "type" : "TEXT",
691 "origins" : [
692 {
693 "id" : "Task_1etgvlk",
694 "name" : "Scrittura Proposta"
695 }
696 ],
697 "description" : "Cognome Operatore",
698 "name" : "Task_1etgvlk_userLastName"
699 },
700 "Task_1etgvlk_userFirstName" : {
701 "userGenerated" : false,
702 "readOnly" : true,
703 "type" : "TEXT",
704 "origins" : [
705 {
706 "id" : "Task_1etgvlk",
707 "name" : "Scrittura Proposta"
708 }
709 ],
710 "description" : "Nome Operatore",
711 "name" : "Task_1etgvlk_userFirstName"
712 },
713 "Task_1etgvlk_userId" : {
714 "userGenerated" : false,
715 "readOnly" : true,
716 "type" : "TEXT",
717 "origins" : [
718 {
719 "id" : "Task_1etgvlk",
720 "name" : "Scrittura Proposta"
721 }
722 ],
723 "description" : "Id Operatore",
724 "name" : "Task_1etgvlk_userId"
725 },
726 "allegati_atto" : {
727 "userGenerated" : true,
728 "readOnly" : false,
729 "type" : "MULTIFILE_SIGNATURE",
730 "origins" : [
731 {
732 "id" : "Task_0rfpy7n",
733 "name" : "Modifica Proposta"
734 },
735 {
736 "id" : "Task_1etgvlk",
737 "name" : "Scrittura Proposta"
738 },
739 {
740 "id" : "Task_0og5it7",
741 "name" : "Modifica Proposta"
742 },
743 {
744 "id" : "Task_017gu08",
745 "name" : "Ricezione e verifica"
746 },
747 {
748 "id" : "Task_03e7pih",
749 "name" : "Ricezione e verifica"
750 },
751 {
752 "id" : "Task_07m3z3r",
753 "name" : "Ricezione e verifica"
754 }
755 ],
756 "name" : "allegati_atto",
757 "description" : "Allegati"
758 },
759 "nota_respingi" : {
760 "userGenerated" : true,
761 "readOnly" : false,
762 "type" : "TEXTAREA",
763 "origins" : [
764 {
765 "id" : "Task_0rfpy7n",
766 "name" : "Modifica Proposta"
767 },
768 {
769 "id" : "Task_1etgvlk",
770 "name" : "Scrittura Proposta"
771 },
772 {
773 "id" : "Task_0og5it7",
774 "name" : "Modifica Proposta"
775 },
776 {
777 "id" : "Task_03e7pih",
778 "name" : "Ricezione e verifica"
779 },
780 {
781 "id" : "Task_07m3z3r",
782 "name" : "Ricezione e verifica"
783 }
784 ],
785 "name" : "nota_respingi",
786 "description" : "Nota Respingi"
787 },
788 "respingi_atto" : {
789 "userGenerated" : true,
790 "readOnly" : false,
791 "type" : "RADIOBUTTONLIST",
792 "origins" : [
793 {
794 "id" : "Task_0rfpy7n",
795 "name" : "Modifica Proposta"
796 },
797 {
798 "id" : "Task_0og5it7",
799 "name" : "Modifica Proposta"
800 },
801 {
802 "id" : "Task_017gu08",
803 "name" : "Ricezione e verifica"
804 },
805 {
806 "id" : "Task_03e7pih",
807 "name" : "Ricezione e verifica"
808 },
809 {
810 "id" : "Task_07m3z3r",
811 "name" : "Ricezione e verifica"
812 }
813 ],
814 "name" : "respingi_atto",
815 "description" : "Respingi atto"
816 },
817 "testo_atto" : {
818 "userGenerated" : true,
819 "readOnly" : false,
820 "type" : "HTMLEDITOR",
821 "origins" : [
822 {
823 "id" : "Task_0rfpy7n",
824 "name" : "Modifica Proposta"
825 },
826 {
827 "id" : "Task_1etgvlk",
828 "name" : "Scrittura Proposta"
829 },
830 {
831 "id" : "Task_0og5it7",
832 "name" : "Modifica Proposta"
833 },
834 {
835 "id" : "Task_017gu08",
836 "name" : "Ricezione e verifica"
837 },
838 {
839 "id" : "Task_03e7pih",
840 "name" : "Ricezione e verifica"
841 },
842 {
843 "id" : "Task_07m3z3r",
844 "name" : "Ricezione e verifica"
845 }
846 ],
847 "name" : "testo_atto",
848 "description" : "Testo Atto"
849 },
850 "oggetto_atto" : {
851 "userGenerated" : true,
852 "readOnly" : false,
853 "type" : "TEXTAREA",
854 "origins" : [
855 {
856 "id" : "Task_0rfpy7n",
857 "name" : "Modifica Proposta"
858 },
859 {
860 "id" : "Task_1etgvlk",
861 "name" : "Scrittura Proposta"
862 },
863 {
864 "id" : "Task_0og5it7",
865 "name" : "Modifica Proposta"
866 },
867 {
868 "id" : "Task_017gu08",
869 "name" : "Ricezione e verifica"
870 },
871 {
872 "id" : "Task_03e7pih",
873 "name" : "Ricezione e verifica"
874 },
875 {
876 "id" : "Task_07m3z3r",
877 "name" : "Ricezione e verifica"
878 }
879 ],
880 "name" : "oggetto_atto",
881 "description" : "Oggetto"
882 },
883 "nota_respingi_coprop" : {
884 "userGenerated" : true,
885 "readOnly" : false,
886 "type" : "TEXTAREA",
887 "origins" : [
888 {
889 "id" : "Task_0rfpy7n",
890 "name" : "Modifica Proposta"
891 },
892 {
893 "id" : "Task_0og5it7",
894 "name" : "Modifica Proposta"
895 },
896 {
897 "id" : "Task_017gu08",
898 "name" : "Ricezione e verifica"
899 }
900 ],
901 "name" : "nota_respingi_coprop",
902 "description" : "Nota Respinta Proponente"
903 },
904 "Task_0rfpy7n_userLastName" : {
905 "userGenerated" : false,
906 "readOnly" : true,
907 "type" : "TEXT",
908 "origins" : [
909 {
910 "id" : "Task_0rfpy7n",
911 "name" : "Modifica Proposta"
912 }
913 ],
914 "description" : "Cognome Operatore",
915 "name" : "Task_0rfpy7n_userLastName"
916 },
917 "Task_0rfpy7n_userFirstName" : {
918 "userGenerated" : false,
919 "readOnly" : true,
920 "type" : "TEXT",
921 "origins" : [
922 {
923 "id" : "Task_0rfpy7n",
924 "name" : "Modifica Proposta"
925 }
926 ],
927 "description" : "Nome Operatore",
928 "name" : "Task_0rfpy7n_userFirstName"
929 },
930 "Task_0rfpy7n_userId" : {
931 "userGenerated" : false,
932 "readOnly" : true,
933 "type" : "TEXT",
934 "origins" : [
935 {
936 "id" : "Task_0rfpy7n",
937 "name" : "Modifica Proposta"
938 }
939 ],
940 "description" : "Id Operatore",
941 "name" : "Task_0rfpy7n_userId"
942 },
943 "procedureExpiresAt" : {
944 "userGenerated" : false,
945 "readOnly" : true,
946 "type" : "DATETIME",
947 "origins" : [
948 {
949 "id" : "Process",
950 "name" : "Process"
951 }
952 ],
953 "description" : "Data scadenza pratica",
954 "name" : "procedureExpiresAt"
955 },
956 "procedureNumber" : {
957 "userGenerated" : false,
958 "readOnly" : true,
959 "type" : "TEXT",
960 "origins" : [
961 {
962 "id" : "Process",
963 "name" : "Process"
964 }
965 ],
966 "description" : "Numero Pratica",
967 "name" : "procedureNumber"
968 },
969 "userRegistryId" : {
970 "userGenerated" : false,
971 "readOnly" : true,
972 "type" : "TEXT",
973 "origins" : [
974 {
975 "id" : "Process",
976 "name" : "Process"
977 }
978 ],
979 "description" : "Id MyRegistry",
980 "name" : "userRegistryId"
981 },
982 "processInstanceId" : {
983 "userGenerated" : false,
984 "readOnly" : true,
985 "type" : "TEXT",
986 "origins" : [
987 {
988 "id" : "Process",
989 "name" : "Process"
990 }
991 ],
992 "description" : "Id Processo",
993 "name" : "processInstanceId"
994 },
995 "ipa" : {
996 "userGenerated" : false,
997 "readOnly" : true,
998 "type" : "TEXT",
999 "origins" : [
1000 {
1001 "id" : "Process",
1002 "name" : "Process"
1003 }
1004 ],
1005 "description" : "Ente",
1006 "name" : "ipa"
1007 },
1008 "duration" : {
1009 "userGenerated" : false,
1010 "readOnly" : false,
1011 "type" : "INTEGER",
1012 "origins" : [
1013 {
1014 "id" : "Process",
1015 "name" : "Process"
1016 }
1017 ],
1018 "description" : "Durata Processo",
1019 "name" : "duration"
1020 },
1021 "statusDescription" : {
1022 "userGenerated" : false,
1023 "readOnly" : true,
1024 "type" : "TEXT",
1025 "origins" : [
1026 {
1027 "id" : "Process",
1028 "name" : "Process"
1029 }
1030 ],
1031 "description" : "Descrizione Stato del Workflow",
1032 "name" : "statusDescription"
1033 },
1034 "status" : {
1035 "userGenerated" : false,
1036 "readOnly" : true,
1037 "type" : "TEXT",
1038 "origins" : [
1039 {
1040 "id" : "Process",
1041 "name" : "Process"
1042 },
1043 {
1044 "id" : "Task_18swngw",
1045 "name" : "Atto Ritirato"
1046 },
1047 {
1048 "id" : "Task_1o84u1b",
1049 "name" : "stato \"Approvato dai proponenti\""
1050 },
1051 {
1052 "id" : "Task_002rfr2",
1053 "name" : "stato \"In attesa di firma\""
1054 },
1055 {
1056 "id" : "Task_1h3vtfn",
1057 "name" : "stato: Rimesso in bozza"
1058 },
1059 {
1060 "id" : "Task_1c4ms1w",
1061 "name" : "stato \"In attesa del visto degli assessori\""
1062 },
1063 {
1064 "id" : "Task_0gbbuzk",
1065 "name" : "stato \"Vistato dagli assessori\""
1066 },
1067 {
1068 "id" : "Task_1twtthz",
1069 "name" : "stato: \"Presentabile alla Giunta\""
1070 },
1071 {
1072 "id" : "Task_18qr4ak",
1073 "name" : "stato: \"Presentata\""
1074 },
1075 {
1076 "id" : "Task_18swngw",
1077 "name" : "Atto Ritirato"
1078 },
1079 {
1080 "id" : "Task_1o84u1b",
1081 "name" : "stato \"Approvato dai proponenti\""
1082 },
1083 {
1084 "id" : "Task_002rfr2",
1085 "name" : "stato \"In attesa di firma\""
1086 },
1087 {
1088 "id" : "Task_1h3vtfn",
1089 "name" : "stato: Rimesso in bozza"
1090 },
1091 {
1092 "id" : "Task_1c4ms1w",
1093 "name" : "stato \"In attesa del visto degli assessori\""
1094 },
1095 {
1096 "id" : "Task_0gbbuzk",
1097 "name" : "stato \"Vistato dagli assessori\""
1098 },
1099 {
1100 "id" : "Task_1twtthz",
1101 "name" : "stato: \"Presentabile alla Giunta\""
1102 },
1103 {
1104 "id" : "Task_18qr4ak",
1105 "name" : "stato: \"Presentata\""
1106 }
1107 ],
1108 "description" : "Stato del Workflow",
1109 "name" : "status"
1110 }
1111 },
1112 "events" : {
1113 "IntermediateThrowEvent_0c1as8m" : {
1114 "value" : {
1115 "info" : {
1116 "description" : "Impostazione timer",
1117 "name" : "Impostazione timer"
1118 },
1119 "api" : {
1120 "output" : [ ],
1121 "payload" : [
1122 {
1123 "type" : "variable",
1124 "isRequired" : true,
1125 "isUserInput" : true,
1126 "value" : "PT1S",
1127 "description" : "Timer",
1128 "name" : "duration"
1129 }
1130 ]
1131 }
1132 },
1133 "id" : "IntermediateThrowEvent_0c1as8m"
1134 },
1135 "IntermediateThrowEvent_0a2hwlj" : {
1136 "value" : {
1137 "info" : {
1138 "description" : "Impostazione timer",
1139 "name" : "Impostazione timer"
1140 },
1141 "api" : {
1142 "output" : [ ],
1143 "payload" : [
1144 {
1145 "type" : "variable",
1146 "isRequired" : true,
1147 "isUserInput" : true,
1148 "value" : "PT1S",
1149 "description" : "Timer",
1150 "name" : "duration"
1151 }
1152 ]
1153 }
1154 },
1155 "id" : "IntermediateThrowEvent_0a2hwlj"
1156 },
1157 "IntermediateThrowEvent_1tfs4id" : {
1158 "value" : {
1159 "info" : {
1160 "description" : "Impostazione timer",
1161 "name" : "Impostazione timer"
1162 },
1163 "api" : {
1164 "output" : [ ],
1165 "payload" : [
1166 {
1167 "type" : "variable",
1168 "isRequired" : true,
1169 "isUserInput" : true,
1170 "value" : "PT1S",
1171 "description" : "Timer",
1172 "name" : "duration"
1173 }
1174 ]
1175 }
1176 },
1177 "id" : "IntermediateThrowEvent_1tfs4id"
1178 },
1179 "IntermediateThrowEvent_1apr6ig" : {
1180 "value" : {
1181 "info" : {
1182 "description" : "Impostazione timer",
1183 "name" : "Impostazione timer"
1184 },
1185 "api" : {
1186 "output" : [ ],
1187 "payload" : [
1188 {
1189 "type" : "variable",
1190 "isRequired" : true,
1191 "isUserInput" : true,
1192 "value" : "PT1S",
1193 "description" : "Timer",
1194 "name" : "duration"
1195 }
1196 ]
1197 }
1198 },
1199 "id" : "IntermediateThrowEvent_1apr6ig"
1200 },
1201 "IntermediateThrowEvent_0vliiv2" : {
1202 "value" : {
1203 "info" : {
1204 "description" : "Impostazione timer",
1205 "name" : "Impostazione timer"
1206 },
1207 "api" : {
1208 "output" : [ ],
1209 "payload" : [
1210 {
1211 "type" : "variable",
1212 "isRequired" : true,
1213 "isUserInput" : true,
1214 "value" : "PT1S",
1215 "description" : "Timer",
1216 "name" : "duration"
1217 }
1218 ]
1219 }
1220 },
1221 "id" : "IntermediateThrowEvent_0vliiv2"
1222 },
1223 "IntermediateThrowEvent_01qs7av" : {
1224 "value" : {
1225 "info" : {
1226 "description" : "Impostazione timer",
1227 "name" : "Impostazione timer"
1228 },
1229 "api" : {
1230 "output" : [ ],
1231 "payload" : [
1232 {
1233 "type" : "variable",
1234 "isRequired" : true,
1235 "isUserInput" : true,
1236 "value" : "PT1S",
1237 "description" : "Timer",
1238 "name" : "duration"
1239 }
1240 ]
1241 }
1242 },
1243 "id" : "IntermediateThrowEvent_01qs7av"
1244 },
1245 "IntermediateThrowEvent_1waf2ww" : {
1246 "value" : {
1247 "info" : {
1248 "description" : "Impostazione timer",
1249 "name" : "Impostazione timer"
1250 },
1251 "api" : {
1252 "output" : [ ],
1253 "payload" : [
1254 {
1255 "type" : "variable",
1256 "isRequired" : true,
1257 "isUserInput" : true,
1258 "value" : "PT1S",
1259 "description" : "Timer",
1260 "name" : "duration"
1261 }
1262 ]
1263 }
1264 },
1265 "id" : "IntermediateThrowEvent_1waf2ww"
1266 },
1267 "IntermediateThrowEvent_0v6ogvs" : {
1268 "value" : {
1269 "info" : {
1270 "description" : "Impostazione timer",
1271 "name" : "Impostazione timer"
1272 },
1273 "api" : {
1274 "output" : [ ],
1275 "payload" : [
1276 {
1277 "type" : "variable",
1278 "isRequired" : true,
1279 "isUserInput" : true,
1280 "value" : "PT1S",
1281 "description" : "Timer",
1282 "name" : "duration"
1283 }
1284 ]
1285 }
1286 },
1287 "id" : "IntermediateThrowEvent_0v6ogvs"
1288 },
1289 "BoundaryEvent_0x5owxf" : {
1290 "value" : {
1291 "info" : {
1292 "description" : "Impostazione signal",
1293 "name" : "Impostazione signal"
1294 },
1295 "api" : {
1296 "output" : [ ],
1297 "payload" : [
1298 {
1299 "type" : "variable",
1300 "isRequired" : true,
1301 "isUserInput" : true,
1302 "value" : "atto-respinto",
1303 "description" : "Signal",
1304 "name" : "signal"
1305 },
1306 {
1307 "type" : "variable",
1308 "isRequired" : true,
1309 "isUserInput" : true,
1310 "value" : false,
1311 "description" : "Signal",
1312 "name" : "processOnlyPropagation"
1313 }
1314 ]
1315 }
1316 },
1317 "id" : "BoundaryEvent_0x5owxf"
1318 },
1319 "IntermediateThrowEvent_1nbkuvh" : {
1320 "value" : {
1321 "info" : {
1322 "description" : "Impostazione signal",
1323 "name" : "Impostazione signal"
1324 },
1325 "api" : {
1326 "output" : [ ],
1327 "payload" : [
1328 {
1329 "type" : "variable",
1330 "isRequired" : true,
1331 "isUserInput" : true,
1332 "value" : "atto-respinto",
1333 "description" : "Signal",
1334 "name" : "signal"
1335 },
1336 {
1337 "type" : "variable",
1338 "isRequired" : true,
1339 "isUserInput" : true,
1340 "value" : true,
1341 "description" : "Signal",
1342 "name" : "processOnlyPropagation"
1343 }
1344 ]
1345 }
1346 },
1347 "id" : "IntermediateThrowEvent_1nbkuvh",
1348 "name" : "atto respinto"
1349 },
1350 "BoundaryEvent_08jte7n" : {
1351 "value" : {
1352 "info" : {
1353 "description" : "Impostazione signal",
1354 "name" : "Impostazione signal"
1355 },
1356 "api" : {
1357 "output" : [ ],
1358 "payload" : [
1359 {
1360 "type" : "variable",
1361 "isRequired" : true,
1362 "isUserInput" : true,
1363 "value" : "visto-rifiutato",
1364 "description" : "Signal",
1365 "name" : "signal"
1366 },
1367 {
1368 "type" : "variable",
1369 "isRequired" : true,
1370 "isUserInput" : true,
1371 "value" : false,
1372 "description" : "Signal",
1373 "name" : "processOnlyPropagation"
1374 }
1375 ]
1376 }
1377 },
1378 "id" : "BoundaryEvent_08jte7n"
1379 },
1380 "IntermediateThrowEvent_0005qon" : {
1381 "value" : {
1382 "info" : {
1383 "description" : "Impostazione signal",
1384 "name" : "Impostazione signal"
1385 },
1386 "api" : {
1387 "output" : [ ],
1388 "payload" : [
1389 {
1390 "type" : "variable",
1391 "isRequired" : true,
1392 "isUserInput" : true,
1393 "value" : "visto-rifiutato",
1394 "description" : "Signal",
1395 "name" : "signal"
1396 },
1397 {
1398 "type" : "variable",
1399 "isRequired" : true,
1400 "isUserInput" : true,
1401 "value" : true,
1402 "description" : "Signal",
1403 "name" : "processOnlyPropagation"
1404 }
1405 ]
1406 }
1407 },
1408 "id" : "IntermediateThrowEvent_0005qon"
1409 },
1410 "BoundaryEvent_1p04zrq" : {
1411 "value" : {
1412 "info" : {
1413 "description" : "Impostazione signal",
1414 "name" : "Impostazione signal"
1415 },
1416 "api" : {
1417 "output" : [ ],
1418 "payload" : [
1419 {
1420 "type" : "variable",
1421 "isRequired" : true,
1422 "isUserInput" : true,
1423 "value" : "visto-respinto",
1424 "description" : "Signal",
1425 "name" : "signal"
1426 },
1427 {
1428 "type" : "variable",
1429 "isRequired" : true,
1430 "isUserInput" : true,
1431 "value" : false,
1432 "description" : "Signal",
1433 "name" : "processOnlyPropagation"
1434 }
1435 ]
1436 }
1437 },
1438 "id" : "BoundaryEvent_1p04zrq"
1439 },
1440 "IntermediateThrowEvent_0hl4vtu" : {
1441 "value" : {
1442 "info" : {
1443 "description" : "Impostazione signal",
1444 "name" : "Impostazione signal"
1445 },
1446 "api" : {
1447 "output" : [ ],
1448 "payload" : [
1449 {
1450 "type" : "variable",
1451 "isRequired" : true,
1452 "isUserInput" : true,
1453 "value" : "visto-respinto",
1454 "description" : "Signal",
1455 "name" : "signal"
1456 },
1457 {
1458 "type" : "variable",
1459 "isRequired" : true,
1460 "isUserInput" : true,
1461 "value" : true,
1462 "description" : "Signal",
1463 "name" : "processOnlyPropagation"
1464 }
1465 ]
1466 }
1467 },
1468 "id" : "IntermediateThrowEvent_0hl4vtu"
1469 },
1470 "BoundaryEvent_1qw54mc" : {
1471 "value" : {
1472 "info" : {
1473 "description" : "Impostazione signal",
1474 "name" : "Impostazione signal"
1475 },
1476 "api" : {
1477 "output" : [ ],
1478 "payload" : [
1479 {
1480 "type" : "variable",
1481 "isRequired" : true,
1482 "isUserInput" : true,
1483 "value" : "firma-respinta",
1484 "description" : "Signal",
1485 "name" : "signal"
1486 },
1487 {
1488 "type" : "variable",
1489 "isRequired" : true,
1490 "isUserInput" : true,
1491 "value" : false,
1492 "description" : "Signal",
1493 "name" : "processOnlyPropagation"
1494 }
1495 ]
1496 }
1497 },
1498 "id" : "BoundaryEvent_1qw54mc"
1499 },
1500 "IntermediateThrowEvent_1d8xtzj" : {
1501 "value" : {
1502 "info" : {
1503 "description" : "Impostazione signal",
1504 "name" : "Impostazione signal"
1505 },
1506 "api" : {
1507 "output" : [ ],
1508 "payload" : [
1509 {
1510 "type" : "variable",
1511 "isRequired" : true,
1512 "isUserInput" : true,
1513 "value" : "firma-respinta",
1514 "description" : "Signal",
1515 "name" : "signal"
1516 },
1517 {
1518 "type" : "variable",
1519 "isRequired" : true,
1520 "isUserInput" : true,
1521 "value" : true,
1522 "description" : "Signal",
1523 "name" : "processOnlyPropagation"
1524 }
1525 ]
1526 }
1527 },
1528 "id" : "IntermediateThrowEvent_1d8xtzj"
1529 },
1530 "IntermediateThrowEvent_042c30y" : {
1531 "value" : {
1532 "info" : {
1533 "description" : "Impostazione message",
1534 "name" : "Impostazione message"
1535 },
1536 "api" : {
1537 "output" : [ ],
1538 "payload" : [
1539 {
1540 "type" : "variable",
1541 "isRequired" : true,
1542 "isUserInput" : true,
1543 "value" : "sign-request-done",
1544 "description" : "Message",
1545 "name" : "message"
1546 },
1547 {
1548 "type" : "variable",
1549 "isRequired" : true,
1550 "isUserInput" : true,
1551 "value" : false,
1552 "description" : "Message",
1553 "name" : "processOnlyPropagation"
1554 }
1555 ]
1556 }
1557 },
1558 "id" : "IntermediateThrowEvent_042c30y"
1559 },
1560 "IntermediateThrowEvent_1v7ketw" : {
1561 "value" : {
1562 "info" : {
1563 "description" : "Impostazione message",
1564 "name" : "Impostazione message"
1565 },
1566 "api" : {
1567 "output" : [ ],
1568 "payload" : [
1569 {
1570 "type" : "variable",
1571 "isRequired" : true,
1572 "isUserInput" : true,
1573 "value" : "sign-request-done",
1574 "description" : "Message",
1575 "name" : "message"
1576 },
1577 {
1578 "type" : "variable",
1579 "isRequired" : true,
1580 "isUserInput" : true,
1581 "value" : false,
1582 "description" : "Message",
1583 "name" : "processOnlyPropagation"
1584 }
1585 ]
1586 }
1587 },
1588 "id" : "IntermediateThrowEvent_1v7ketw",
1589 "name" : "richiesta visto eseguito"
1590 },
1591 "IntermediateThrowEvent_00z4ekg" : {
1592 "value" : {
1593 "info" : {
1594 "description" : "Impostazione message",
1595 "name" : "Impostazione message"
1596 },
1597 "api" : {
1598 "output" : [ ],
1599 "payload" : [
1600 {
1601 "type" : "variable",
1602 "isRequired" : true,
1603 "isUserInput" : true,
1604 "value" : "update-signature",
1605 "description" : "Message",
1606 "name" : "message"
1607 },
1608 {
1609 "type" : "variable",
1610 "isRequired" : true,
1611 "isUserInput" : true,
1612 "value" : false,
1613 "description" : "Message",
1614 "name" : "processOnlyPropagation"
1615 }
1616 ]
1617 }
1618 },
1619 "id" : "IntermediateThrowEvent_00z4ekg"
1620 },
1621 "IntermediateThrowEvent_0uqa6ap" : {
1622 "value" : {
1623 "info" : {
1624 "description" : "Impostazione message",
1625 "name" : "Impostazione message"
1626 },
1627 "api" : {
1628 "output" : [ ],
1629 "payload" : [
1630 {
1631 "type" : "variable",
1632 "isRequired" : true,
1633 "isUserInput" : true,
1634 "value" : "sign-request-done",
1635 "description" : "Message",
1636 "name" : "message"
1637 },
1638 {
1639 "type" : "variable",
1640 "isRequired" : true,
1641 "isUserInput" : true,
1642 "value" : false,
1643 "description" : "Message",
1644 "name" : "processOnlyPropagation"
1645 }
1646 ]
1647 }
1648 },
1649 "id" : "IntermediateThrowEvent_0uqa6ap",
1650 "name" : "Richiesta firma eseguita"
1651 },
1652 "IntermediateCatchEvent_1a6hsm0" : {
1653 "name" : "In attesa di un possibile ritiro dell'Atto",
1654 "value" : {
1655 "info" : {
1656 "description" : "Impostazione message",
1657 "name" : "Impostazione message"
1658 },
1659 "api" : {
1660 "output" : [ ],
1661 "payload" : [
1662 {
1663 "type" : "variable",
1664 "isRequired" : true,
1665 "isUserInput" : true,
1666 "value" : "kill-instance",
1667 "description" : "Message",
1668 "name" : "message"
1669 }
1670 ]
1671 }
1672 },
1673 "id" : "IntermediateCatchEvent_1a6hsm0"
1674 },
1675 "BoundaryEvent_0f2fnt0" : {
1676 "id" : "BoundaryEvent_0f2fnt0",
1677 "value" : {
1678 "api" : {
1679 "payload" : [
1680 {
1681 "name" : "signal",
1682 "description" : "Signal",
1683 "value" : "atto-respinto",
1684 "isUserInput" : true,
1685 "isRequired" : true,
1686 "type" : "variable"
1687 },
1688 {
1689 "name" : "processOnlyPropagation",
1690 "description" : "Signal",
1691 "value" : false,
1692 "isUserInput" : true,
1693 "isRequired" : true,
1694 "type" : "variable"
1695 }
1696 ],
1697 "output" : [ ]
1698 },
1699 "info" : {
1700 "name" : "Impostazione signal",
1701 "description" : "Impostazione signal"
1702 }
1703 }
1704 },
1705 "IntermediateThrowEvent_07oepfr" : {
1706 "id" : "IntermediateThrowEvent_07oepfr",
1707 "value" : {
1708 "api" : {
1709 "payload" : [
1710 {
1711 "name" : "signal",
1712 "description" : "Signal",
1713 "value" : "atto-respinto",
1714 "isUserInput" : true,
1715 "isRequired" : true,
1716 "type" : "variable"
1717 },
1718 {
1719 "name" : "processOnlyPropagation",
1720 "description" : "Signal",
1721 "value" : true,
1722 "isUserInput" : true,
1723 "isRequired" : true,
1724 "type" : "variable"
1725 }
1726 ],
1727 "output" : [ ]
1728 },
1729 "info" : {
1730 "name" : "Impostazione signal",
1731 "description" : "Impostazione signal"
1732 }
1733 }
1734 }
1735 },
1736 "receives" : {
1737 "Task_1jodv6m" : {
1738 "value" : {
1739 "info" : {
1740 "description" : "Messaggio custom da ricevere",
1741 "name" : "Ricezione messaggio Custom"
1742 },
1743 "api" : {
1744 "output" : [
1745 {
1746 "type" : "string",
1747 "processVariableName" : "statusOk",
1748 "description" : "Stato del protocollo",
1749 "key" : "statusOk",
1750 "name" : "statusOk"
1751 },
1752 {
1753 "type" : "string",
1754 "processVariableName" : "numProtocollo",
1755 "description" : "Numero del protocollo",
1756 "key" : "numProtocollo",
1757 "name" : "numProtocollo"
1758 },
1759 {
1760 "type" : "string",
1761 "processVariableName" : "dataProtocollo",
1762 "description" : "Data del protocollo",
1763 "key" : "dataProtocollo",
1764 "name" : "dataProtocollo"
1765 },
1766 {
1767 "type" : "string",
1768 "processVariableName" : "errorMessage",
1769 "description" : "Messaggio di errore",
1770 "key" : "errorMessage",
1771 "name" : "errorMessage"
1772 }
1773 ],
1774 "payload" : [
1775 {
1776 "type" : "variable",
1777 "isRequired" : true,
1778 "isUserInput" : true,
1779 "value" : "update-signature",
1780 "description" : "Messaggio",
1781 "name" : "messageName"
1782 }
1783 ]
1784 }
1785 },
1786 "id" : "Task_1jodv6m",
1787 "name" : "In attesa di un possibile aggiornamento firmatario"
1788 }
1789 },
1790 "services" : {
1791 "Task_0izt1ex" : {
1792 "value" : {
1793 "info" : {
1794 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
1795 "name" : "Aggiorna Metadati Atto"
1796 },
1797 "api" : {
1798 "output" : [ ],
1799 "payload" : [
1800 {
1801 "type" : "variable",
1802 "isUserInput" : false,
1803 "value" : "userRegistryId",
1804 "name" : "userRegistryId"
1805 },
1806 {
1807 "type" : "variable",
1808 "isUserInput" : false,
1809 "value" : "processInstanceId",
1810 "name" : "processInstanceId"
1811 },
1812 {
1813 "type" : "paramsMapper",
1814 "isUserInput" : false,
1815 "value" : "mappedVals",
1816 "name" : "mappedVals"
1817 }
1818 ],
1819 "headers" : {
1820 "Accept" : "application/json"
1821 },
1822 "method" : "PUT",
1823 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
1824 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
1825 }
1826 },
1827 "id" : "Task_0izt1ex",
1828 "name" : "aggiorna metadati atto"
1829 },
1830 "Task_138zqm3" : {
1831 "value" : {
1832 "info" : {
1833 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
1834 "name" : "Aggiorna Metadati Atto"
1835 },
1836 "api" : {
1837 "output" : [ ],
1838 "payload" : [
1839 {
1840 "type" : "variable",
1841 "isUserInput" : false,
1842 "value" : "userRegistryId",
1843 "name" : "userRegistryId"
1844 },
1845 {
1846 "type" : "variable",
1847 "isUserInput" : false,
1848 "value" : "processInstanceId",
1849 "name" : "processInstanceId"
1850 },
1851 {
1852 "type" : "paramsMapper",
1853 "isUserInput" : false,
1854 "value" : "mappedVals",
1855 "name" : "mappedVals"
1856 }
1857 ],
1858 "headers" : {
1859 "Accept" : "application/json"
1860 },
1861 "method" : "PUT",
1862 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
1863 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
1864 }
1865 },
1866 "id" : "Task_138zqm3",
1867 "name" : "aggiorna metadati atto"
1868 },
1869 "Task_0mz086w" : {
1870 "value" : {
1871 "info" : {
1872 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
1873 "name" : "Aggiorna Metadati Atto"
1874 },
1875 "api" : {
1876 "output" : [ ],
1877 "payload" : [
1878 {
1879 "type" : "variable",
1880 "isUserInput" : false,
1881 "value" : "userRegistryId",
1882 "name" : "userRegistryId"
1883 },
1884 {
1885 "type" : "variable",
1886 "isUserInput" : false,
1887 "value" : "processInstanceId",
1888 "name" : "processInstanceId"
1889 },
1890 {
1891 "type" : "paramsMapper",
1892 "isUserInput" : false,
1893 "value" : "mappedVals",
1894 "name" : "mappedVals"
1895 }
1896 ],
1897 "headers" : {
1898 "Accept" : "application/json"
1899 },
1900 "method" : "PUT",
1901 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
1902 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
1903 }
1904 },
1905 "id" : "Task_0mz086w",
1906 "name" : "aggiornamento metadati"
1907 },
1908 "Task_0kz1lri" : {
1909 "value" : {
1910 "info" : {
1911 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
1912 "name" : "Aggiorna Metadati Atto"
1913 },
1914 "api" : {
1915 "output" : [ ],
1916 "payload" : [
1917 {
1918 "type" : "variable",
1919 "isUserInput" : false,
1920 "value" : "userRegistryId",
1921 "name" : "userRegistryId"
1922 },
1923 {
1924 "type" : "variable",
1925 "isUserInput" : false,
1926 "value" : "processInstanceId",
1927 "name" : "processInstanceId"
1928 },
1929 {
1930 "type" : "paramsMapper",
1931 "isUserInput" : false,
1932 "value" : "mappedVals",
1933 "name" : "mappedVals"
1934 }
1935 ],
1936 "headers" : {
1937 "Accept" : "application/json"
1938 },
1939 "method" : "PUT",
1940 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
1941 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
1942 }
1943 },
1944 "id" : "Task_0kz1lri",
1945 "name" : "aggiornamento metadati"
1946 },
1947 "Task_07iaun7" : {
1948 "value" : {
1949 "info" : {
1950 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
1951 "name" : "Aggiorna Metadati Atto"
1952 },
1953 "api" : {
1954 "output" : [ ],
1955 "payload" : [
1956 {
1957 "type" : "variable",
1958 "isUserInput" : false,
1959 "value" : "userRegistryId",
1960 "name" : "userRegistryId"
1961 },
1962 {
1963 "type" : "variable",
1964 "isUserInput" : false,
1965 "value" : "processInstanceId",
1966 "name" : "processInstanceId"
1967 },
1968 {
1969 "type" : "paramsMapper",
1970 "isUserInput" : false,
1971 "value" : "mappedVals",
1972 "name" : "mappedVals"
1973 }
1974 ],
1975 "headers" : {
1976 "Accept" : "application/json"
1977 },
1978 "method" : "PUT",
1979 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
1980 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
1981 }
1982 },
1983 "id" : "Task_07iaun7",
1984 "name" : "aggiornamento metadati"
1985 },
1986 "Task_1r6r00s" : {
1987 "value" : {
1988 "info" : {
1989 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
1990 "name" : "Aggiorna Metadati Atto"
1991 },
1992 "api" : {
1993 "output" : [ ],
1994 "payload" : [
1995 {
1996 "type" : "variable",
1997 "isUserInput" : false,
1998 "value" : "userRegistryId",
1999 "name" : "userRegistryId"
2000 },
2001 {
2002 "type" : "variable",
2003 "isUserInput" : false,
2004 "value" : "processInstanceId",
2005 "name" : "processInstanceId"
2006 },
2007 {
2008 "type" : "paramsMapper",
2009 "isUserInput" : false,
2010 "value" : "mappedVals",
2011 "name" : "mappedVals"
2012 }
2013 ],
2014 "headers" : {
2015 "Accept" : "application/json"
2016 },
2017 "method" : "PUT",
2018 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
2019 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2020 }
2021 },
2022 "id" : "Task_1r6r00s",
2023 "name" : "aggiorna metadati atto"
2024 },
2025 "Task_1y3y0ka" : {
2026 "value" : {
2027 "info" : {
2028 "description" : "Generate PDF file from template",
2029 "name" : "Generate PDF"
2030 },
2031 "api" : {
2032 "output" : [
2033 {
2034 "type" : "file",
2035 "processVariableName" : "pdf_file_Task_1y3y0ka",
2036 "description" : "informativa_giunta",
2037 "key" : "reportPdfFile",
2038 "name" : "reportPdfFile"
2039 }
2040 ],
2041 "payload" : [
2042 {
2043 "type" : "variable",
2044 "isUserInput" : false,
2045 "value" : "userRegistryId",
2046 "name" : "userRegistryId"
2047 },
2048 {
2049 "type" : "variable",
2050 "isUserInput" : false,
2051 "value" : "processInstanceId",
2052 "name" : "processInstanceId"
2053 },
2054 {
2055 "type" : "variable",
2056 "isUserInput" : false,
2057 "value" : "istanzaOperatore",
2058 "name" : "istanzaOperatore"
2059 },
2060 {
2061 "type" : "variable",
2062 "isUserInput" : false,
2063 "value" : "processVersionId",
2064 "name" : "processVersionId"
2065 },
2066 {
2067 "type" : "string",
2068 "isUserInput" : false,
2069 "value" : "Task_1y3y0ka",
2070 "name" : "taskId"
2071 },
2072 {
2073 "type" : "variable",
2074 "isUserInput" : false,
2075 "value" : "istanzaOperatore",
2076 "name" : "istanzaOperatore"
2077 },
2078 {
2079 "value" : "5f3d2c327f04ba07de98a807",
2080 "isRequired" : true,
2081 "type" : "templateRef",
2082 "isUserInput" : true,
2083 "description" : "Report template to use",
2084 "name" : "reportTemplateRef"
2085 },
2086 {
2087 "value" : [
2088 "testo_atto",
2089 "oggetto_atto",
2090 "proponent",
2091 "numero_provvisorio",
2092 "tipologia_atto_label"
2093 ],
2094 "isRequired" : true,
2095 "type" : "templateVariables",
2096 "isUserInput" : true,
2097 "description" : "Workflow variables that will be injected in the template",
2098 "name" : "reportTemplateVariables"
2099 },
2100 {
2101 "value" : "informativa_giunta",
2102 "isRequired" : true,
2103 "type" : "string",
2104 "isUserInput" : true,
2105 "description" : "Name of the output file that will be generated",
2106 "name" : "generatedFileName"
2107 }
2108 ],
2109 "headers" : {
2110 "Accept" : "application/json"
2111 },
2112 "method" : "POST",
2113 "endpoint" : "/instances/service-task/generate-pdf",
2114 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2115 }
2116 },
2117 "id" : "Task_1y3y0ka",
2118 "name" : "genera pdf"
2119 },
2120 "Task_0jpggkg" : {
2121 "value" : {
2122 "info" : {
2123 "description" : "Updates the status variables of an instance",
2124 "name" : "Update Workflow Status Variables"
2125 },
2126 "api" : {
2127 "output" : [
2128 {
2129 "type" : "string",
2130 "processVariableName" : "statusMap",
2131 "description" : "Mappa degli stati (JSON)",
2132 "key" : "statusMap",
2133 "name" : "statusMap"
2134 }
2135 ],
2136 "payload" : [
2137 {
2138 "type" : "variable",
2139 "isUserInput" : false,
2140 "value" : "userRegistryId",
2141 "name" : "userRegistryId"
2142 },
2143 {
2144 "type" : "variable",
2145 "isUserInput" : false,
2146 "value" : "processInstanceId",
2147 "name" : "processInstanceId"
2148 },
2149 {
2150 "type" : "keyValueGenerator",
2151 "isUserInput" : true,
2152 "value" : "{\"changeRagioniereCapoEnabled\":{\"value\":null,\"disabled\":true},\"changeSegretarioGeneraleEnabled\":{\"value\":\"false\",\"disabled\":false},\"changeSignatureOwnerEnabled\":{\"value\":null,\"disabled\":true},\"retireActEnabled\":{\"value\":null,\"disabled\":true}}",
2153 "name" : "workflowStatus"
2154 },
2155 {
2156 "type" : "variable",
2157 "isUserInput" : false,
2158 "value" : "statusMap",
2159 "name" : "statusMap"
2160 }
2161 ],
2162 "headers" : {
2163 "Accept" : "application/json"
2164 },
2165 "method" : "POST",
2166 "endpoint" : "/instances/service-task/workflow-status",
2167 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2168 }
2169 },
2170 "id" : "Task_0jpggkg",
2171 "name" : "segretario generale non modificabile"
2172 },
2173 "Task_16adeor" : {
2174 "value" : {
2175 "info" : {
2176 "description" : "Updates the status variables of an instance",
2177 "name" : "Update Workflow Status Variables"
2178 },
2179 "api" : {
2180 "output" : [
2181 {
2182 "type" : "string",
2183 "processVariableName" : "statusMap",
2184 "description" : "Mappa degli stati (JSON)",
2185 "key" : "statusMap",
2186 "name" : "statusMap"
2187 }
2188 ],
2189 "payload" : [
2190 {
2191 "type" : "variable",
2192 "isUserInput" : false,
2193 "value" : "userRegistryId",
2194 "name" : "userRegistryId"
2195 },
2196 {
2197 "type" : "variable",
2198 "isUserInput" : false,
2199 "value" : "processInstanceId",
2200 "name" : "processInstanceId"
2201 },
2202 {
2203 "type" : "keyValueGenerator",
2204 "isUserInput" : true,
2205 "value" : "{\"changeRagioniereCapoEnabled\":{\"value\":null,\"disabled\":true},\"changeSegretarioGeneraleEnabled\":{\"value\":\"true\",\"disabled\":false},\"changeSignatureOwnerEnabled\":{\"value\":null,\"disabled\":true},\"retireActEnabled\":{\"value\":null,\"disabled\":true}}",
2206 "name" : "workflowStatus"
2207 },
2208 {
2209 "type" : "variable",
2210 "isUserInput" : false,
2211 "value" : "statusMap",
2212 "name" : "statusMap"
2213 }
2214 ],
2215 "headers" : {
2216 "Accept" : "application/json"
2217 },
2218 "method" : "POST",
2219 "endpoint" : "/instances/service-task/workflow-status",
2220 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2221 }
2222 },
2223 "id" : "Task_16adeor",
2224 "name" : "segretario generale modificabile"
2225 },
2226 "Task_1xvljyj" : {
2227 "value" : {
2228 "info" : {
2229 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
2230 "name" : "Aggiorna Metadati Atto"
2231 },
2232 "api" : {
2233 "output" : [ ],
2234 "payload" : [
2235 {
2236 "type" : "variable",
2237 "isUserInput" : false,
2238 "value" : "userRegistryId",
2239 "name" : "userRegistryId"
2240 },
2241 {
2242 "type" : "variable",
2243 "isUserInput" : false,
2244 "value" : "processInstanceId",
2245 "name" : "processInstanceId"
2246 },
2247 {
2248 "type" : "paramsMapper",
2249 "isUserInput" : false,
2250 "value" : "mappedVals",
2251 "name" : "mappedVals"
2252 }
2253 ],
2254 "headers" : {
2255 "Accept" : "application/json"
2256 },
2257 "method" : "PUT",
2258 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
2259 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2260 }
2261 },
2262 "id" : "Task_1xvljyj",
2263 "name" : "aggiorna metadati"
2264 },
2265 "Task_1bxm2uc" : {
2266 "value" : {
2267 "info" : {
2268 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
2269 "name" : "Aggiorna Metadati Atto"
2270 },
2271 "api" : {
2272 "output" : [ ],
2273 "payload" : [
2274 {
2275 "type" : "variable",
2276 "isUserInput" : false,
2277 "value" : "userRegistryId",
2278 "name" : "userRegistryId"
2279 },
2280 {
2281 "type" : "variable",
2282 "isUserInput" : false,
2283 "value" : "processInstanceId",
2284 "name" : "processInstanceId"
2285 },
2286 {
2287 "type" : "paramsMapper",
2288 "isUserInput" : false,
2289 "value" : "mappedVals",
2290 "name" : "mappedVals"
2291 }
2292 ],
2293 "headers" : {
2294 "Accept" : "application/json"
2295 },
2296 "method" : "PUT",
2297 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
2298 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2299 }
2300 },
2301 "id" : "Task_1bxm2uc",
2302 "name" : "aggiorna metadati"
2303 },
2304 "Task_18z84kk" : {
2305 "value" : {
2306 "info" : {
2307 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
2308 "name" : "Aggiorna Metadati Atto"
2309 },
2310 "api" : {
2311 "output" : [ ],
2312 "payload" : [
2313 {
2314 "type" : "variable",
2315 "isUserInput" : false,
2316 "value" : "userRegistryId",
2317 "name" : "userRegistryId"
2318 },
2319 {
2320 "type" : "variable",
2321 "isUserInput" : false,
2322 "value" : "processInstanceId",
2323 "name" : "processInstanceId"
2324 },
2325 {
2326 "type" : "paramsMapper",
2327 "isUserInput" : false,
2328 "value" : "mappedVals",
2329 "name" : "mappedVals"
2330 }
2331 ],
2332 "headers" : {
2333 "Accept" : "application/json"
2334 },
2335 "method" : "PUT",
2336 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
2337 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2338 }
2339 },
2340 "id" : "Task_18z84kk",
2341 "name" : "aggiorna metadati"
2342 },
2343 "Task_07ov4od" : {
2344 "value" : {
2345 "info" : {
2346 "description" : "Servizio per richiedere un nuovo numero di registro definitivo di un atto",
2347 "name" : "Nuovo Numero di Registro Definitivo"
2348 },
2349 "api" : {
2350 "output" : [
2351 {
2352 "type" : "string",
2353 "processVariableName" : "numero_definitivo",
2354 "description" : "Numero Registro Definitivo",
2355 "key" : "nextRegNum",
2356 "name" : "nextRegNum"
2357 }
2358 ],
2359 "payload" : [
2360 {
2361 "type" : "variable",
2362 "isUserInput" : false,
2363 "value" : "userRegistryId",
2364 "name" : "userRegistryId"
2365 },
2366 {
2367 "type" : "variable",
2368 "isUserInput" : false,
2369 "value" : "processInstanceId",
2370 "name" : "processInstanceId"
2371 },
2372 {
2373 "value" : "num_def",
2374 "type" : "string",
2375 "isUserInput" : false,
2376 "description" : "Tipo Numeratore",
2377 "name" : "numeratorType"
2378 }
2379 ],
2380 "headers" : {
2381 "Accept" : "application/json"
2382 },
2383 "method" : "POST",
2384 "endpoint" : "/instances/service-task/custom/myact/acts/nextregnum",
2385 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2386 }
2387 },
2388 "id" : "Task_07ov4od",
2389 "name" : "crea numero definitvo"
2390 },
2391 "Task_18qr4ak" : {
2392 "value" : {
2393 "info" : {
2394 "description" : "Aggiorna lo stato di un atto",
2395 "name" : "Aggiorna stato atto"
2396 },
2397 "api" : {
2398 "output" : [
2399 {
2400 "type" : "string",
2401 "processVariableName" : "statusKey",
2402 "description" : "Stato assegnato",
2403 "key" : "statusKey",
2404 "name" : "statusKey"
2405 },
2406 {
2407 "type" : "string",
2408 "processVariableName" : "status",
2409 "description" : "Nuovo stato",
2410 "key" : "status",
2411 "name" : "status"
2412 }
2413 ],
2414 "payload" : [
2415 {
2416 "type" : "variable",
2417 "isUserInput" : false,
2418 "value" : "userRegistryId",
2419 "name" : "userRegistryId"
2420 },
2421 {
2422 "type" : "variable",
2423 "isUserInput" : false,
2424 "value" : "processInstanceId",
2425 "name" : "processInstanceId"
2426 },
2427 {
2428 "value" : "debated",
2429 "options" : [
2430 {
2431 "label" : "Atto Ritirato",
2432 "key" : "retired"
2433 },
2434 {
2435 "label" : "In Attesa di Firma",
2436 "key" : "signing"
2437 },
2438 {
2439 "label" : "Presentato",
2440 "key" : "debated"
2441 },
2442 {
2443 "label" : "Da Presentare",
2444 "key" : "to_debate"
2445 },
2446 {
2447 "label" : "Bozza",
2448 "key" : "draft"
2449 },
2450 {
2451 "label" : "Rimesso in Bozza",
2452 "key" : "draft"
2453 },
2454 {
2455 "label" : "Approvato Proponenti",
2456 "key" : "proponents_approved"
2457 },
2458 {
2459 "label" : "In attesa di visto elettronico",
2460 "key" : "checking"
2461 },
2462 {
2463 "label" : "Vistato Assessore",
2464 "key" : "checked"
2465 }
2466 ],
2467 "isRequired" : true,
2468 "type" : "select",
2469 "isUserInput" : true,
2470 "description" : "Codice",
2471 "name" : "statusKey"
2472 },
2473 {
2474 "value" : "Presentata alla giunta",
2475 "isRequired" : true,
2476 "type" : "string",
2477 "isUserInput" : true,
2478 "description" : "Descrizione",
2479 "name" : "statusLabel"
2480 }
2481 ],
2482 "headers" : {
2483 "Accept" : "application/json"
2484 },
2485 "method" : "POST",
2486 "endpoint" : "/instances/service-task/status",
2487 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2488 }
2489 },
2490 "id" : "Task_18qr4ak",
2491 "name" : "stato: \"Presentata\""
2492 },
2493 "Task_1c6dp2m" : {
2494 "value" : {
2495 "info" : {
2496 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
2497 "name" : "Aggiorna Metadati Atto"
2498 },
2499 "api" : {
2500 "output" : [ ],
2501 "payload" : [
2502 {
2503 "type" : "variable",
2504 "isUserInput" : false,
2505 "value" : "userRegistryId",
2506 "name" : "userRegistryId"
2507 },
2508 {
2509 "type" : "variable",
2510 "isUserInput" : false,
2511 "value" : "processInstanceId",
2512 "name" : "processInstanceId"
2513 },
2514 {
2515 "type" : "paramsMapper",
2516 "isUserInput" : false,
2517 "value" : "mappedVals",
2518 "name" : "mappedVals"
2519 }
2520 ],
2521 "headers" : {
2522 "Accept" : "application/json"
2523 },
2524 "method" : "PUT",
2525 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
2526 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2527 }
2528 },
2529 "id" : "Task_1c6dp2m",
2530 "name" : "aggioranemtno metadati"
2531 },
2532 "Task_1cknfdw" : {
2533 "value" : {
2534 "info" : {
2535 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
2536 "name" : "Aggiorna Metadati Atto"
2537 },
2538 "api" : {
2539 "output" : [ ],
2540 "payload" : [
2541 {
2542 "type" : "variable",
2543 "isUserInput" : false,
2544 "value" : "userRegistryId",
2545 "name" : "userRegistryId"
2546 },
2547 {
2548 "type" : "variable",
2549 "isUserInput" : false,
2550 "value" : "processInstanceId",
2551 "name" : "processInstanceId"
2552 },
2553 {
2554 "type" : "paramsMapper",
2555 "isUserInput" : false,
2556 "value" : "mappedVals",
2557 "name" : "mappedVals"
2558 }
2559 ],
2560 "headers" : {
2561 "Accept" : "application/json"
2562 },
2563 "method" : "PUT",
2564 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
2565 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2566 }
2567 },
2568 "id" : "Task_1cknfdw"
2569 },
2570 "Task_0qu6wht" : {
2571 "value" : {
2572 "info" : {
2573 "description" : "Servizio per richiedere un azione a MyApprove su un atto",
2574 "name" : "Richiedi azione MyApprove"
2575 },
2576 "api" : {
2577 "output" : [ ],
2578 "payload" : [
2579 {
2580 "type" : "variable",
2581 "isUserInput" : false,
2582 "value" : "userRegistryId",
2583 "name" : "userRegistryId"
2584 },
2585 {
2586 "type" : "variable",
2587 "isUserInput" : false,
2588 "value" : "processInstanceId",
2589 "name" : "processInstanceId"
2590 },
2591 {
2592 "value" : "5f3d2c687f04ba07de98a80a",
2593 "isRequired" : false,
2594 "type" : "templateRef",
2595 "isUserInput" : true,
2596 "description" : "Template Frontespizio",
2597 "name" : "templateFrontespizio"
2598 },
2599 {
2600 "value" : [
2601 "oggetto_atto",
2602 "numero_provvisorio",
2603 "proponent"
2604 ],
2605 "isRequired" : true,
2606 "type" : "templateVariables",
2607 "isUserInput" : true,
2608 "description" : "Workflow variables that will be injected in the template",
2609 "name" : "reportTemplateVariables"
2610 },
2611 {
2612 "isRequired" : true,
2613 "type" : "variable",
2614 "value" : "reportPdfFile",
2615 "isUserInput" : true,
2616 "description" : "Testo Atto",
2617 "name" : "testoAtto"
2618 },
2619 {
2620 "isRequired" : true,
2621 "type" : "variable",
2622 "isUserInput" : true,
2623 "description" : "Allegati",
2624 "value" : "allegati_atto",
2625 "name" : "allegatiAtto"
2626 },
2627 {
2628 "isRequired" : false,
2629 "type" : "variable",
2630 "isUserInput" : true,
2631 "value" : "",
2632 "description" : "Atti",
2633 "name" : "attiAtto"
2634 },
2635 {
2636 "isRequired" : false,
2637 "type" : "variable",
2638 "isUserInput" : true,
2639 "value" : "",
2640 "description" : "Approvati",
2641 "name" : "approvatiAtto"
2642 },
2643 {
2644 "value" : "vistoSegreteria",
2645 "options" : [
2646 {
2647 "label" : "Firma Prop e Coprop",
2648 "key" : "firmaPropCoProp"
2649 },
2650 {
2651 "label" : "Visto Assessore",
2652 "key" : "vistoAssessore"
2653 },
2654 {
2655 "label" : "Visto Segreteria",
2656 "key" : "vistoSegreteria"
2657 },
2658 {
2659 "label" : "Firma Rag. Capo",
2660 "key" : "firmaRagCapo"
2661 },
2662 {
2663 "label" : "Firma Seg. Generale",
2664 "key" : "firmaSegGen"
2665 }
2666 ],
2667 "isRequired" : true,
2668 "type" : "select",
2669 "isUserInput" : true,
2670 "description" : "Azione Richiesta",
2671 "name" : "requestedAction"
2672 },
2673 {
2674 "isRequired" : true,
2675 "type" : "string",
2676 "isUserInput" : true,
2677 "description" : "filename",
2678 "value" : "frontespizio.pdf",
2679 "name" : "filename"
2680 },
2681 {
2682 "isRequired" : true,
2683 "type" : "variable",
2684 "isUserInput" : true,
2685 "value" : "proponent",
2686 "description" : "Proponente",
2687 "name" : "proponent"
2688 },
2689 {
2690 "isRequired" : true,
2691 "type" : "variable",
2692 "isUserInput" : true,
2693 "value" : "coProponents",
2694 "description" : "Coproponenti",
2695 "name" : "coProponents"
2696 },
2697 {
2698 "value" : "act_signers",
2699 "type" : "singleVariable",
2700 "isUserInput" : true,
2701 "description" : "Signers",
2702 "name" : "signers"
2703 },
2704 {
2705 "value" : null,
2706 "type" : "singleVariable",
2707 "isUserInput" : true,
2708 "description" : "Variabile Parere Tecnico",
2709 "name" : "parereTecnico"
2710 },
2711 {
2712 "value" : null,
2713 "type" : "singleVariable",
2714 "isUserInput" : true,
2715 "description" : "Variabile Parere legittimita",
2716 "name" : "parereLegittimita"
2717 },
2718 {
2719 "value" : null,
2720 "type" : "singleVariable",
2721 "isUserInput" : true,
2722 "description" : "Variabile Parere contabile",
2723 "name" : "parereContabile"
2724 },
2725 {
2726 "value" : false,
2727 "isRequired" : false,
2728 "type" : "boolean",
2729 "isUserInput" : true,
2730 "description" : "Firma del frontespizio",
2731 "name" : "firmaSoloFrontespizio"
2732 },
2733 {
2734 "type" : "variable",
2735 "isUserInput" : false,
2736 "value" : "sys_last_user_who_claim_task",
2737 "name" : "lastUserWhoClaimTask"
2738 },
2739 {
2740 "type" : "variable",
2741 "isUserInput" : false,
2742 "value" : "sys_last_userorgan_who_claim_task",
2743 "name" : "lastUserOrganWhoClaimTask"
2744 }
2745 ],
2746 "headers" : {
2747 "Accept" : "application/json"
2748 },
2749 "method" : "POST",
2750 "endpoint" : "/instances/service-task/custom/myact/acts/actionrequest",
2751 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2752 }
2753 },
2754 "id" : "Task_0qu6wht",
2755 "name" : "richiesto visto"
2756 },
2757 "Task_1twtthz" : {
2758 "value" : {
2759 "info" : {
2760 "description" : "Aggiorna lo stato di un atto",
2761 "name" : "Aggiorna stato atto"
2762 },
2763 "api" : {
2764 "output" : [
2765 {
2766 "type" : "string",
2767 "processVariableName" : "statusKey",
2768 "description" : "Stato assegnato",
2769 "key" : "statusKey",
2770 "name" : "statusKey"
2771 },
2772 {
2773 "type" : "string",
2774 "processVariableName" : "status",
2775 "description" : "Nuovo stato",
2776 "key" : "status",
2777 "name" : "status"
2778 }
2779 ],
2780 "payload" : [
2781 {
2782 "type" : "variable",
2783 "isUserInput" : false,
2784 "value" : "userRegistryId",
2785 "name" : "userRegistryId"
2786 },
2787 {
2788 "type" : "variable",
2789 "isUserInput" : false,
2790 "value" : "processInstanceId",
2791 "name" : "processInstanceId"
2792 },
2793 {
2794 "value" : "to_debate",
2795 "options" : [
2796 {
2797 "label" : "Atto Ritirato",
2798 "key" : "retired"
2799 },
2800 {
2801 "label" : "In attesa di Firma",
2802 "key" : "signing"
2803 },
2804 {
2805 "label" : "Presentato",
2806 "key" : "debated"
2807 },
2808 {
2809 "label" : "Presentabile alla Giunta",
2810 "key" : "to_debate"
2811 },
2812 {
2813 "label" : "Bozza",
2814 "key" : "draft"
2815 },
2816 {
2817 "label" : "Rimesso in Bozza",
2818 "key" : "drafted"
2819 },
2820 {
2821 "label" : "Approvato Proponenti",
2822 "key" : "proponents_approved"
2823 },
2824 {
2825 "label" : "In attesa di visto elettronico",
2826 "key" : "checking"
2827 },
2828 {
2829 "label" : "Vistato Assessore",
2830 "key" : "checked"
2831 }
2832 ],
2833 "isRequired" : true,
2834 "type" : "select",
2835 "isUserInput" : true,
2836 "description" : "Codice",
2837 "name" : "statusKey"
2838 },
2839 {
2840 "value" : "Presentabile alla Giunta",
2841 "isRequired" : true,
2842 "type" : "string",
2843 "isUserInput" : true,
2844 "description" : "Descrizione",
2845 "name" : "statusLabel"
2846 }
2847 ],
2848 "headers" : {
2849 "Accept" : "application/json"
2850 },
2851 "method" : "POST",
2852 "endpoint" : "/instances/service-task/status",
2853 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
2854 }
2855 },
2856 "id" : "Task_1twtthz",
2857 "name" : "stato: \"Presentabile alla Giunta\""
2858 },
2859 "Task_1j8fxx4" : {
2860 "value" : {
2861 "info" : {
2862 "description" : "Servizio per richiedere un azione a MyApprove su un atto",
2863 "name" : "Richiedi azione MyApprove"
2864 },
2865 "api" : {
2866 "output" : [ ],
2867 "payload" : [
2868 {
2869 "type" : "variable",
2870 "isUserInput" : false,
2871 "value" : "userRegistryId",
2872 "name" : "userRegistryId"
2873 },
2874 {
2875 "type" : "variable",
2876 "isUserInput" : false,
2877 "value" : "processInstanceId",
2878 "name" : "processInstanceId"
2879 },
2880 {
2881 "value" : "5f3d2c687f04ba07de98a80a",
2882 "isRequired" : false,
2883 "type" : "templateRef",
2884 "isUserInput" : true,
2885 "description" : "Template Frontespizio",
2886 "name" : "templateFrontespizio"
2887 },
2888 {
2889 "value" : [
2890 "oggetto_atto"
2891 ],
2892 "isRequired" : true,
2893 "type" : "templateVariables",
2894 "isUserInput" : true,
2895 "description" : "Workflow variables that will be injected in the template",
2896 "name" : "reportTemplateVariables"
2897 },
2898 {
2899 "isRequired" : true,
2900 "type" : "variable",
2901 "value" : "reportPdfFile",
2902 "isUserInput" : true,
2903 "description" : "Testo Atto",
2904 "name" : "testoAtto"
2905 },
2906 {
2907 "isRequired" : true,
2908 "type" : "variable",
2909 "isUserInput" : true,
2910 "description" : "Allegati",
2911 "value" : "allegati_atto",
2912 "name" : "allegatiAtto"
2913 },
2914 {
2915 "isRequired" : false,
2916 "type" : "variable",
2917 "isUserInput" : true,
2918 "value" : "",
2919 "description" : "Atti",
2920 "name" : "attiAtto"
2921 },
2922 {
2923 "isRequired" : false,
2924 "type" : "variable",
2925 "isUserInput" : true,
2926 "value" : "",
2927 "description" : "Approvati",
2928 "name" : "approvatiAtto"
2929 },
2930 {
2931 "value" : "firmaPropCoProp",
2932 "options" : [
2933 {
2934 "label" : "Firma Prop e Coprop",
2935 "key" : "firmaPropCoProp"
2936 },
2937 {
2938 "label" : "Visto Assessore",
2939 "key" : "vistoAssessore"
2940 },
2941 {
2942 "label" : "Visto Segreteria",
2943 "key" : "vistoSegreteria"
2944 },
2945 {
2946 "label" : "Firma Rag. Capo",
2947 "key" : "firmaRagCapo"
2948 },
2949 {
2950 "label" : "Firma Seg. Generale",
2951 "key" : "firmaSegGen"
2952 }
2953 ],
2954 "isRequired" : true,
2955 "type" : "select",
2956 "isUserInput" : true,
2957 "description" : "Azione Richiesta",
2958 "name" : "requestedAction"
2959 },
2960 {
2961 "isRequired" : true,
2962 "type" : "string",
2963 "isUserInput" : true,
2964 "description" : "filename",
2965 "value" : "frontespizio.pdf",
2966 "name" : "filename"
2967 },
2968 {
2969 "isRequired" : true,
2970 "type" : "variable",
2971 "isUserInput" : true,
2972 "value" : "proponent",
2973 "description" : "Proponente",
2974 "name" : "proponent"
2975 },
2976 {
2977 "isRequired" : true,
2978 "type" : "variable",
2979 "isUserInput" : true,
2980 "value" : "coProponents",
2981 "description" : "Coproponenti",
2982 "name" : "coProponents"
2983 },
2984 {
2985 "value" : null,
2986 "type" : "singleVariable",
2987 "isUserInput" : true,
2988 "description" : "Signers",
2989 "name" : "signers"
2990 },
2991 {
2992 "value" : null,
2993 "type" : "singleVariable",
2994 "isUserInput" : true,
2995 "description" : "Variabile Parere Tecnico",
2996 "name" : "parereTecnico"
2997 },
2998 {
2999 "value" : null,
3000 "type" : "singleVariable",
3001 "isUserInput" : true,
3002 "description" : "Variabile Parere legittimita",
3003 "name" : "parereLegittimita"
3004 },
3005 {
3006 "value" : null,
3007 "type" : "singleVariable",
3008 "isUserInput" : true,
3009 "description" : "Variabile Parere contabile",
3010 "name" : "parereContabile"
3011 },
3012 {
3013 "value" : true,
3014 "isRequired" : false,
3015 "type" : "boolean",
3016 "isUserInput" : true,
3017 "description" : "Firma del frontespizio",
3018 "name" : "firmaSoloFrontespizio"
3019 },
3020 {
3021 "type" : "variable",
3022 "isUserInput" : false,
3023 "value" : "sys_last_user_who_claim_task",
3024 "name" : "lastUserWhoClaimTask"
3025 },
3026 {
3027 "type" : "variable",
3028 "isUserInput" : false,
3029 "value" : "sys_last_userorgan_who_claim_task",
3030 "name" : "lastUserOrganWhoClaimTask"
3031 }
3032 ],
3033 "headers" : {
3034 "Accept" : "application/json"
3035 },
3036 "method" : "POST",
3037 "endpoint" : "/instances/service-task/custom/myact/acts/actionrequest",
3038 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3039 }
3040 },
3041 "id" : "Task_1j8fxx4",
3042 "name" : "richiesta firma"
3043 },
3044 "Task_00t72im" : {
3045 "value" : {
3046 "info" : {
3047 "description" : "Updates the status variables of an instance",
3048 "name" : "Update Workflow Status Variables"
3049 },
3050 "api" : {
3051 "output" : [
3052 {
3053 "type" : "string",
3054 "processVariableName" : "statusMap",
3055 "description" : "Mappa degli stati (JSON)",
3056 "key" : "statusMap",
3057 "name" : "statusMap"
3058 }
3059 ],
3060 "payload" : [
3061 {
3062 "type" : "variable",
3063 "isUserInput" : false,
3064 "value" : "userRegistryId",
3065 "name" : "userRegistryId"
3066 },
3067 {
3068 "type" : "variable",
3069 "isUserInput" : false,
3070 "value" : "processInstanceId",
3071 "name" : "processInstanceId"
3072 },
3073 {
3074 "type" : "keyValueGenerator",
3075 "isUserInput" : true,
3076 "value" : "{\"changeRagioniereCapoEnabled\":{\"value\":null,\"disabled\":true},\"changeSegretarioGeneraleEnabled\":{\"value\":\"false\",\"disabled\":false},\"changeSignatureOwnerEnabled\":{\"value\":\"true\",\"disabled\":false},\"retireActEnabled\":{\"value\":\"true\",\"disabled\":false}}",
3077 "name" : "workflowStatus"
3078 },
3079 {
3080 "type" : "variable",
3081 "isUserInput" : false,
3082 "value" : "statusMap",
3083 "name" : "statusMap"
3084 }
3085 ],
3086 "headers" : {
3087 "Accept" : "application/json"
3088 },
3089 "method" : "POST",
3090 "endpoint" : "/instances/service-task/workflow-status",
3091 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3092 }
3093 },
3094 "id" : "Task_00t72im",
3095 "name" : "stato iniziale mappa stati"
3096 },
3097 "Task_1nnqja8" : {
3098 "value" : {
3099 "info" : {
3100 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
3101 "name" : "Aggiorna Metadati Atto"
3102 },
3103 "api" : {
3104 "output" : [ ],
3105 "payload" : [
3106 {
3107 "type" : "variable",
3108 "isUserInput" : false,
3109 "value" : "userRegistryId",
3110 "name" : "userRegistryId"
3111 },
3112 {
3113 "type" : "variable",
3114 "isUserInput" : false,
3115 "value" : "processInstanceId",
3116 "name" : "processInstanceId"
3117 },
3118 {
3119 "type" : "paramsMapper",
3120 "isUserInput" : false,
3121 "value" : "mappedVals",
3122 "name" : "mappedVals"
3123 }
3124 ],
3125 "headers" : {
3126 "Accept" : "application/json"
3127 },
3128 "method" : "PUT",
3129 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
3130 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3131 }
3132 },
3133 "id" : "Task_1nnqja8",
3134 "name" : "aggiorna metadati atto"
3135 },
3136 "Task_0gbbuzk" : {
3137 "value" : {
3138 "info" : {
3139 "description" : "Aggiorna lo stato di un atto",
3140 "name" : "Aggiorna stato atto"
3141 },
3142 "api" : {
3143 "output" : [
3144 {
3145 "type" : "string",
3146 "processVariableName" : "statusKey",
3147 "description" : "Stato assegnato",
3148 "key" : "statusKey",
3149 "name" : "statusKey"
3150 },
3151 {
3152 "type" : "string",
3153 "processVariableName" : "status",
3154 "description" : "Nuovo stato",
3155 "key" : "status",
3156 "name" : "status"
3157 }
3158 ],
3159 "payload" : [
3160 {
3161 "type" : "variable",
3162 "isUserInput" : false,
3163 "value" : "userRegistryId",
3164 "name" : "userRegistryId"
3165 },
3166 {
3167 "type" : "variable",
3168 "isUserInput" : false,
3169 "value" : "processInstanceId",
3170 "name" : "processInstanceId"
3171 },
3172 {
3173 "value" : "checked",
3174 "options" : [
3175 {
3176 "label" : "Atto Ritirato",
3177 "key" : "retired"
3178 },
3179 {
3180 "label" : "In Attesa di Firma",
3181 "key" : "signing"
3182 },
3183 {
3184 "label" : "Presentato",
3185 "key" : "debated"
3186 },
3187 {
3188 "label" : "Da Presentare",
3189 "key" : "to_debate"
3190 },
3191 {
3192 "label" : "Bozza",
3193 "key" : "draft"
3194 },
3195 {
3196 "label" : "Rimesso in Bozza",
3197 "key" : "draft"
3198 },
3199 {
3200 "label" : "Approvato Proponenti",
3201 "key" : "proponents_approved"
3202 },
3203 {
3204 "label" : "In attesa di visto elettronico",
3205 "key" : "checking"
3206 },
3207 {
3208 "label" : "Vistato Assessore",
3209 "key" : "checked"
3210 }
3211 ],
3212 "isRequired" : true,
3213 "type" : "select",
3214 "isUserInput" : true,
3215 "description" : "Codice",
3216 "name" : "statusKey"
3217 },
3218 {
3219 "value" : "Vistato Assessore",
3220 "isRequired" : true,
3221 "type" : "string",
3222 "isUserInput" : true,
3223 "description" : "Descrizione",
3224 "name" : "statusLabel"
3225 }
3226 ],
3227 "headers" : {
3228 "Accept" : "application/json"
3229 },
3230 "method" : "POST",
3231 "endpoint" : "/instances/service-task/status",
3232 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3233 }
3234 },
3235 "id" : "Task_0gbbuzk",
3236 "name" : "stato \"Vistato dagli assessori\""
3237 },
3238 "Task_003ykqx" : {
3239 "value" : {
3240 "info" : {
3241 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
3242 "name" : "Aggiorna Metadati Atto"
3243 },
3244 "api" : {
3245 "output" : [ ],
3246 "payload" : [
3247 {
3248 "type" : "variable",
3249 "isUserInput" : false,
3250 "value" : "userRegistryId",
3251 "name" : "userRegistryId"
3252 },
3253 {
3254 "type" : "variable",
3255 "isUserInput" : false,
3256 "value" : "processInstanceId",
3257 "name" : "processInstanceId"
3258 },
3259 {
3260 "type" : "paramsMapper",
3261 "isUserInput" : false,
3262 "value" : "mappedVals",
3263 "name" : "mappedVals"
3264 }
3265 ],
3266 "headers" : {
3267 "Accept" : "application/json"
3268 },
3269 "method" : "PUT",
3270 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
3271 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3272 }
3273 },
3274 "id" : "Task_003ykqx",
3275 "name" : "aggiornamento metadati"
3276 },
3277 "Task_1c4ms1w" : {
3278 "value" : {
3279 "info" : {
3280 "description" : "Aggiorna lo stato di un atto",
3281 "name" : "Aggiorna stato atto"
3282 },
3283 "api" : {
3284 "output" : [
3285 {
3286 "type" : "string",
3287 "processVariableName" : "statusKey",
3288 "description" : "Stato assegnato",
3289 "key" : "statusKey",
3290 "name" : "statusKey"
3291 },
3292 {
3293 "type" : "string",
3294 "processVariableName" : "status",
3295 "description" : "Nuovo stato",
3296 "key" : "status",
3297 "name" : "status"
3298 }
3299 ],
3300 "payload" : [
3301 {
3302 "type" : "variable",
3303 "isUserInput" : false,
3304 "value" : "userRegistryId",
3305 "name" : "userRegistryId"
3306 },
3307 {
3308 "type" : "variable",
3309 "isUserInput" : false,
3310 "value" : "processInstanceId",
3311 "name" : "processInstanceId"
3312 },
3313 {
3314 "value" : "checking",
3315 "options" : [
3316 {
3317 "label" : "Atto Ritirato",
3318 "key" : "retired"
3319 },
3320 {
3321 "label" : "In Attesa di Firma",
3322 "key" : "signing"
3323 },
3324 {
3325 "label" : "Presentato",
3326 "key" : "debated"
3327 },
3328 {
3329 "label" : "Da Presentare",
3330 "key" : "to_debate"
3331 },
3332 {
3333 "label" : "Bozza",
3334 "key" : "draft"
3335 },
3336 {
3337 "label" : "Rimesso in Bozza",
3338 "key" : "draft"
3339 },
3340 {
3341 "label" : "Approvato Proponenti",
3342 "key" : "proponents_approved"
3343 },
3344 {
3345 "label" : "In attesa di visto elettronico",
3346 "key" : "checking"
3347 },
3348 {
3349 "label" : "Vistato Assessore",
3350 "key" : "checked"
3351 }
3352 ],
3353 "isRequired" : true,
3354 "type" : "select",
3355 "isUserInput" : true,
3356 "description" : "Codice",
3357 "name" : "statusKey"
3358 },
3359 {
3360 "value" : "In attesa di visto elettronico",
3361 "isRequired" : true,
3362 "type" : "string",
3363 "isUserInput" : true,
3364 "description" : "Descrizione",
3365 "name" : "statusLabel"
3366 }
3367 ],
3368 "headers" : {
3369 "Accept" : "application/json"
3370 },
3371 "method" : "POST",
3372 "endpoint" : "/instances/service-task/status",
3373 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3374 }
3375 },
3376 "id" : "Task_1c4ms1w",
3377 "name" : "stato \"In attesa del visto degli assessori\""
3378 },
3379 "Task_16iq7xo" : {
3380 "value" : {
3381 "info" : {
3382 "description" : "Servizio per richiedere un azione a MyApprove su un atto",
3383 "name" : "Richiedi azione MyApprove"
3384 },
3385 "api" : {
3386 "output" : [ ],
3387 "payload" : [
3388 {
3389 "type" : "variable",
3390 "isUserInput" : false,
3391 "value" : "userRegistryId",
3392 "name" : "userRegistryId"
3393 },
3394 {
3395 "type" : "variable",
3396 "isUserInput" : false,
3397 "value" : "processInstanceId",
3398 "name" : "processInstanceId"
3399 },
3400 {
3401 "value" : "5f3d2c687f04ba07de98a80a",
3402 "isRequired" : false,
3403 "type" : "templateRef",
3404 "isUserInput" : true,
3405 "description" : "Template Frontespizio",
3406 "name" : "templateFrontespizio"
3407 },
3408 {
3409 "value" : [
3410 "oggetto_atto"
3411 ],
3412 "isRequired" : true,
3413 "type" : "templateVariables",
3414 "isUserInput" : true,
3415 "description" : "Workflow variables that will be injected in the template",
3416 "name" : "reportTemplateVariables"
3417 },
3418 {
3419 "isRequired" : true,
3420 "type" : "variable",
3421 "value" : "reportPdfFile",
3422 "isUserInput" : true,
3423 "description" : "Testo Atto",
3424 "name" : "testoAtto"
3425 },
3426 {
3427 "isRequired" : true,
3428 "type" : "variable",
3429 "isUserInput" : true,
3430 "description" : "Allegati",
3431 "value" : "allegati_atto",
3432 "name" : "allegatiAtto"
3433 },
3434 {
3435 "isRequired" : false,
3436 "type" : "variable",
3437 "isUserInput" : true,
3438 "value" : "",
3439 "description" : "Atti",
3440 "name" : "attiAtto"
3441 },
3442 {
3443 "isRequired" : false,
3444 "type" : "variable",
3445 "isUserInput" : true,
3446 "value" : "",
3447 "description" : "Approvati",
3448 "name" : "approvatiAtto"
3449 },
3450 {
3451 "value" : "vistoAssessore",
3452 "options" : [
3453 {
3454 "label" : "Firma Prop e Coprop",
3455 "key" : "firmaPropCoProp"
3456 },
3457 {
3458 "label" : "Visto Assessore",
3459 "key" : "vistoAssessore"
3460 },
3461 {
3462 "label" : "Visto Segreteria",
3463 "key" : "vistoSegreteria"
3464 },
3465 {
3466 "label" : "Firma Rag. Capo",
3467 "key" : "firmaRagCapo"
3468 },
3469 {
3470 "label" : "Firma Seg. Generale",
3471 "key" : "firmaSegGen"
3472 }
3473 ],
3474 "isRequired" : true,
3475 "type" : "select",
3476 "isUserInput" : true,
3477 "description" : "Azione Richiesta",
3478 "name" : "requestedAction"
3479 },
3480 {
3481 "isRequired" : true,
3482 "type" : "string",
3483 "isUserInput" : true,
3484 "description" : "filename",
3485 "value" : "frontespizio.pdf",
3486 "name" : "filename"
3487 },
3488 {
3489 "isRequired" : true,
3490 "type" : "variable",
3491 "isUserInput" : true,
3492 "value" : "proponent",
3493 "description" : "Proponente",
3494 "name" : "proponent"
3495 },
3496 {
3497 "isRequired" : true,
3498 "type" : "variable",
3499 "isUserInput" : true,
3500 "value" : "coProponents",
3501 "description" : "Coproponenti",
3502 "name" : "coProponents"
3503 },
3504 {
3505 "value" : null,
3506 "type" : "singleVariable",
3507 "isUserInput" : true,
3508 "description" : "Signers",
3509 "name" : "signers"
3510 },
3511 {
3512 "value" : null,
3513 "type" : "singleVariable",
3514 "isUserInput" : true,
3515 "description" : "Variabile Parere Tecnico",
3516 "name" : "parereTecnico"
3517 },
3518 {
3519 "value" : null,
3520 "type" : "singleVariable",
3521 "isUserInput" : true,
3522 "description" : "Variabile Parere legittimita",
3523 "name" : "parereLegittimita"
3524 },
3525 {
3526 "value" : null,
3527 "type" : "singleVariable",
3528 "isUserInput" : true,
3529 "description" : "Variabile Parere contabile",
3530 "name" : "parereContabile"
3531 },
3532 {
3533 "value" : true,
3534 "isRequired" : false,
3535 "type" : "boolean",
3536 "isUserInput" : true,
3537 "description" : "Firma del frontespizio",
3538 "name" : "firmaSoloFrontespizio"
3539 },
3540 {
3541 "type" : "variable",
3542 "isUserInput" : false,
3543 "value" : "sys_last_user_who_claim_task",
3544 "name" : "lastUserWhoClaimTask"
3545 },
3546 {
3547 "type" : "variable",
3548 "isUserInput" : false,
3549 "value" : "sys_last_userorgan_who_claim_task",
3550 "name" : "lastUserOrganWhoClaimTask"
3551 }
3552 ],
3553 "headers" : {
3554 "Accept" : "application/json"
3555 },
3556 "method" : "POST",
3557 "endpoint" : "/instances/service-task/custom/myact/acts/actionrequest",
3558 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3559 }
3560 },
3561 "id" : "Task_16iq7xo",
3562 "name" : "richiedi visto assessori"
3563 },
3564 "Task_0ls88wx" : {
3565 "value" : {
3566 "info" : {
3567 "description" : "Generate PDF file from template",
3568 "name" : "Generate PDF"
3569 },
3570 "api" : {
3571 "output" : [
3572 {
3573 "type" : "file",
3574 "processVariableName" : "pdf_file_Task_0ls88wx",
3575 "description" : "NotaRitiro",
3576 "key" : "reportPdfFile",
3577 "name" : "reportPdfFile"
3578 }
3579 ],
3580 "payload" : [
3581 {
3582 "type" : "variable",
3583 "isUserInput" : false,
3584 "value" : "userRegistryId",
3585 "name" : "userRegistryId"
3586 },
3587 {
3588 "type" : "variable",
3589 "isUserInput" : false,
3590 "value" : "processInstanceId",
3591 "name" : "processInstanceId"
3592 },
3593 {
3594 "type" : "variable",
3595 "isUserInput" : false,
3596 "value" : "istanzaOperatore",
3597 "name" : "istanzaOperatore"
3598 },
3599 {
3600 "type" : "variable",
3601 "isUserInput" : false,
3602 "value" : "processVersionId",
3603 "name" : "processVersionId"
3604 },
3605 {
3606 "type" : "string",
3607 "isUserInput" : false,
3608 "value" : "Task_0ls88wx",
3609 "name" : "taskId"
3610 },
3611 {
3612 "type" : "variable",
3613 "isUserInput" : false,
3614 "value" : "istanzaOperatore",
3615 "name" : "istanzaOperatore"
3616 },
3617 {
3618 "value" : "5f3d2c467f04ba07de98a808",
3619 "isRequired" : true,
3620 "type" : "templateRef",
3621 "isUserInput" : true,
3622 "description" : "Report template to use",
3623 "name" : "reportTemplateRef"
3624 },
3625 {
3626 "value" : [
3627 "oggetto_atto",
3628 "notaRitira",
3629 "numero_provvisorio",
3630 "proponent",
3631 "tipologia_atto_label"
3632 ],
3633 "isRequired" : true,
3634 "type" : "templateVariables",
3635 "isUserInput" : true,
3636 "description" : "Workflow variables that will be injected in the template",
3637 "name" : "reportTemplateVariables"
3638 },
3639 {
3640 "value" : "NotaRitiro",
3641 "isRequired" : true,
3642 "type" : "string",
3643 "isUserInput" : true,
3644 "description" : "Name of the output file that will be generated",
3645 "name" : "generatedFileName"
3646 }
3647 ],
3648 "headers" : {
3649 "Accept" : "application/json"
3650 },
3651 "method" : "POST",
3652 "endpoint" : "/instances/service-task/generate-pdf",
3653 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3654 }
3655 },
3656 "id" : "Task_0ls88wx",
3657 "name" : "genera pdf atto ritirato"
3658 },
3659 "Task_1h3vtfn" : {
3660 "value" : {
3661 "info" : {
3662 "description" : "Aggiorna lo stato di un atto",
3663 "name" : "Aggiorna stato atto"
3664 },
3665 "api" : {
3666 "output" : [
3667 {
3668 "type" : "string",
3669 "processVariableName" : "statusKey",
3670 "description" : "Stato assegnato",
3671 "key" : "statusKey",
3672 "name" : "statusKey"
3673 },
3674 {
3675 "type" : "string",
3676 "processVariableName" : "status",
3677 "description" : "Nuovo stato",
3678 "key" : "status",
3679 "name" : "status"
3680 }
3681 ],
3682 "payload" : [
3683 {
3684 "type" : "variable",
3685 "isUserInput" : false,
3686 "value" : "userRegistryId",
3687 "name" : "userRegistryId"
3688 },
3689 {
3690 "type" : "variable",
3691 "isUserInput" : false,
3692 "value" : "processInstanceId",
3693 "name" : "processInstanceId"
3694 },
3695 {
3696 "value" : "drafted",
3697 "options" : [
3698 {
3699 "label" : "Atto Ritirato",
3700 "key" : "retired"
3701 },
3702 {
3703 "label" : "In attesa di Firma",
3704 "key" : "signing"
3705 },
3706 {
3707 "label" : "Presentato",
3708 "key" : "debated"
3709 },
3710 {
3711 "label" : "Da Presentare",
3712 "key" : "to_debate"
3713 },
3714 {
3715 "label" : "Bozza",
3716 "key" : "draft"
3717 },
3718 {
3719 "label" : "Rimesso in Bozza",
3720 "key" : "drafted"
3721 },
3722 {
3723 "label" : "Approvato Proponenti",
3724 "key" : "proponents_approved"
3725 },
3726 {
3727 "label" : "In attesa di visto elettronico",
3728 "key" : "checking"
3729 },
3730 {
3731 "label" : "Vistato Assessore",
3732 "key" : "checked"
3733 }
3734 ],
3735 "isRequired" : true,
3736 "type" : "select",
3737 "isUserInput" : true,
3738 "description" : "Codice",
3739 "name" : "statusKey"
3740 },
3741 {
3742 "value" : "Rimesso in Bozza",
3743 "isRequired" : true,
3744 "type" : "string",
3745 "isUserInput" : true,
3746 "description" : "Descrizione",
3747 "name" : "statusLabel"
3748 }
3749 ],
3750 "headers" : {
3751 "Accept" : "application/json"
3752 },
3753 "method" : "POST",
3754 "endpoint" : "/instances/service-task/status",
3755 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3756 }
3757 },
3758 "id" : "Task_1h3vtfn",
3759 "name" : "stato: Rimesso in bozza"
3760 },
3761 "Task_0uju5j2" : {
3762 "value" : {
3763 "info" : {
3764 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
3765 "name" : "Aggiorna Metadati Atto"
3766 },
3767 "api" : {
3768 "output" : [ ],
3769 "payload" : [
3770 {
3771 "type" : "variable",
3772 "isUserInput" : false,
3773 "value" : "userRegistryId",
3774 "name" : "userRegistryId"
3775 },
3776 {
3777 "type" : "variable",
3778 "isUserInput" : false,
3779 "value" : "processInstanceId",
3780 "name" : "processInstanceId"
3781 },
3782 {
3783 "type" : "paramsMapper",
3784 "isUserInput" : false,
3785 "value" : "mappedVals",
3786 "name" : "mappedVals"
3787 }
3788 ],
3789 "headers" : {
3790 "Accept" : "application/json"
3791 },
3792 "method" : "PUT",
3793 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
3794 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3795 }
3796 },
3797 "id" : "Task_0uju5j2",
3798 "name" : "aggiornamento metadati"
3799 },
3800 "Task_002rfr2" : {
3801 "value" : {
3802 "info" : {
3803 "description" : "Aggiorna lo stato di un atto",
3804 "name" : "Aggiorna stato atto"
3805 },
3806 "api" : {
3807 "output" : [
3808 {
3809 "type" : "string",
3810 "processVariableName" : "statusKey",
3811 "description" : "Stato assegnato",
3812 "key" : "statusKey",
3813 "name" : "statusKey"
3814 },
3815 {
3816 "type" : "string",
3817 "processVariableName" : "status",
3818 "description" : "Nuovo stato",
3819 "key" : "status",
3820 "name" : "status"
3821 }
3822 ],
3823 "payload" : [
3824 {
3825 "type" : "variable",
3826 "isUserInput" : false,
3827 "value" : "userRegistryId",
3828 "name" : "userRegistryId"
3829 },
3830 {
3831 "type" : "variable",
3832 "isUserInput" : false,
3833 "value" : "processInstanceId",
3834 "name" : "processInstanceId"
3835 },
3836 {
3837 "value" : "signing",
3838 "options" : [
3839 {
3840 "label" : "Atto Ritirato",
3841 "key" : "retired"
3842 },
3843 {
3844 "label" : "In Attesa di Firma",
3845 "key" : "signing"
3846 },
3847 {
3848 "label" : "Presentato",
3849 "key" : "debated"
3850 },
3851 {
3852 "label" : "Da Presentare",
3853 "key" : "to_debate"
3854 },
3855 {
3856 "label" : "Bozza",
3857 "key" : "draft"
3858 },
3859 {
3860 "label" : "Rimesso in Bozza",
3861 "key" : "draft"
3862 },
3863 {
3864 "label" : "Approvato Proponenti",
3865 "key" : "proponents_approved"
3866 },
3867 {
3868 "label" : "In attesa di visto elettronico",
3869 "key" : "checking"
3870 },
3871 {
3872 "label" : "Vistato Assessore",
3873 "key" : "checked"
3874 }
3875 ],
3876 "isRequired" : true,
3877 "type" : "select",
3878 "isUserInput" : true,
3879 "description" : "Codice",
3880 "name" : "statusKey"
3881 },
3882 {
3883 "value" : "In attesa di Firma",
3884 "isRequired" : true,
3885 "type" : "string",
3886 "isUserInput" : true,
3887 "description" : "Descrizione",
3888 "name" : "statusLabel"
3889 }
3890 ],
3891 "headers" : {
3892 "Accept" : "application/json"
3893 },
3894 "method" : "POST",
3895 "endpoint" : "/instances/service-task/status",
3896 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3897 }
3898 },
3899 "id" : "Task_002rfr2",
3900 "name" : "stato \"In attesa di firma\""
3901 },
3902 "Task_0dzep23" : {
3903 "value" : {
3904 "info" : {
3905 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
3906 "name" : "Aggiorna Metadati Atto"
3907 },
3908 "api" : {
3909 "output" : [ ],
3910 "payload" : [
3911 {
3912 "type" : "variable",
3913 "isUserInput" : false,
3914 "value" : "userRegistryId",
3915 "name" : "userRegistryId"
3916 },
3917 {
3918 "type" : "variable",
3919 "isUserInput" : false,
3920 "value" : "processInstanceId",
3921 "name" : "processInstanceId"
3922 },
3923 {
3924 "type" : "paramsMapper",
3925 "isUserInput" : false,
3926 "value" : "mappedVals",
3927 "name" : "mappedVals"
3928 }
3929 ],
3930 "headers" : {
3931 "Accept" : "application/json"
3932 },
3933 "method" : "PUT",
3934 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
3935 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
3936 }
3937 },
3938 "id" : "Task_0dzep23",
3939 "name" : "aggiorna metadati atto"
3940 },
3941 "Task_0c6cr0e" : {
3942 "value" : {
3943 "info" : {
3944 "description" : "Generate PDF file from template",
3945 "name" : "Generate PDF"
3946 },
3947 "api" : {
3948 "output" : [
3949 {
3950 "type" : "file",
3951 "processVariableName" : "pdf_file_Task_0c6cr0e",
3952 "description" : "informativa_giunta",
3953 "key" : "reportPdfFile",
3954 "name" : "reportPdfFile"
3955 }
3956 ],
3957 "payload" : [
3958 {
3959 "type" : "variable",
3960 "isUserInput" : false,
3961 "value" : "userRegistryId",
3962 "name" : "userRegistryId"
3963 },
3964 {
3965 "type" : "variable",
3966 "isUserInput" : false,
3967 "value" : "processInstanceId",
3968 "name" : "processInstanceId"
3969 },
3970 {
3971 "type" : "variable",
3972 "isUserInput" : false,
3973 "value" : "istanzaOperatore",
3974 "name" : "istanzaOperatore"
3975 },
3976 {
3977 "type" : "variable",
3978 "isUserInput" : false,
3979 "value" : "processVersionId",
3980 "name" : "processVersionId"
3981 },
3982 {
3983 "type" : "string",
3984 "isUserInput" : false,
3985 "value" : "Task_0c6cr0e",
3986 "name" : "taskId"
3987 },
3988 {
3989 "type" : "variable",
3990 "isUserInput" : false,
3991 "value" : "istanzaOperatore",
3992 "name" : "istanzaOperatore"
3993 },
3994 {
3995 "value" : "5f3d2c327f04ba07de98a807",
3996 "isRequired" : true,
3997 "type" : "templateRef",
3998 "isUserInput" : true,
3999 "description" : "Report template to use",
4000 "name" : "reportTemplateRef"
4001 },
4002 {
4003 "value" : [
4004 "testo_atto",
4005 "oggetto_atto",
4006 "proponent",
4007 "numero_provvisorio",
4008 "tipologia_atto_label"
4009 ],
4010 "isRequired" : true,
4011 "type" : "templateVariables",
4012 "isUserInput" : true,
4013 "description" : "Workflow variables that will be injected in the template",
4014 "name" : "reportTemplateVariables"
4015 },
4016 {
4017 "value" : "informativa_giunta",
4018 "isRequired" : true,
4019 "type" : "string",
4020 "isUserInput" : true,
4021 "description" : "Name of the output file that will be generated",
4022 "name" : "generatedFileName"
4023 }
4024 ],
4025 "headers" : {
4026 "Accept" : "application/json"
4027 },
4028 "method" : "POST",
4029 "endpoint" : "/instances/service-task/generate-pdf",
4030 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4031 }
4032 },
4033 "id" : "Task_0c6cr0e",
4034 "name" : "genera pdf"
4035 },
4036 "Task_0dto57y" : {
4037 "value" : {
4038 "info" : {
4039 "description" : "Generate PDF file from template",
4040 "name" : "Generate PDF"
4041 },
4042 "api" : {
4043 "output" : [
4044 {
4045 "type" : "file",
4046 "processVariableName" : "pdf_file_Task_0dto57y",
4047 "description" : "informativa_giunta",
4048 "key" : "reportPdfFile",
4049 "name" : "reportPdfFile"
4050 }
4051 ],
4052 "payload" : [
4053 {
4054 "type" : "variable",
4055 "isUserInput" : false,
4056 "value" : "userRegistryId",
4057 "name" : "userRegistryId"
4058 },
4059 {
4060 "type" : "variable",
4061 "isUserInput" : false,
4062 "value" : "processInstanceId",
4063 "name" : "processInstanceId"
4064 },
4065 {
4066 "type" : "variable",
4067 "isUserInput" : false,
4068 "value" : "istanzaOperatore",
4069 "name" : "istanzaOperatore"
4070 },
4071 {
4072 "type" : "variable",
4073 "isUserInput" : false,
4074 "value" : "processVersionId",
4075 "name" : "processVersionId"
4076 },
4077 {
4078 "type" : "string",
4079 "isUserInput" : false,
4080 "value" : "Task_0dto57y",
4081 "name" : "taskId"
4082 },
4083 {
4084 "type" : "variable",
4085 "isUserInput" : false,
4086 "value" : "istanzaOperatore",
4087 "name" : "istanzaOperatore"
4088 },
4089 {
4090 "value" : "5f3d2c327f04ba07de98a807",
4091 "isRequired" : true,
4092 "type" : "templateRef",
4093 "isUserInput" : true,
4094 "description" : "Report template to use",
4095 "name" : "reportTemplateRef"
4096 },
4097 {
4098 "value" : [
4099 "oggetto_atto",
4100 "testo_atto",
4101 "numero_provvisorio",
4102 "tipologia_atto_label",
4103 "proponent"
4104 ],
4105 "isRequired" : true,
4106 "type" : "templateVariables",
4107 "isUserInput" : true,
4108 "description" : "Workflow variables that will be injected in the template",
4109 "name" : "reportTemplateVariables"
4110 },
4111 {
4112 "value" : "informativa_giunta",
4113 "isRequired" : true,
4114 "type" : "string",
4115 "isUserInput" : true,
4116 "description" : "Name of the output file that will be generated",
4117 "name" : "generatedFileName"
4118 }
4119 ],
4120 "headers" : {
4121 "Accept" : "application/json"
4122 },
4123 "method" : "POST",
4124 "endpoint" : "/instances/service-task/generate-pdf",
4125 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4126 }
4127 },
4128 "id" : "Task_0dto57y",
4129 "name" : "genera pdf"
4130 },
4131 "Task_054uch1" : {
4132 "value" : {
4133 "info" : {
4134 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
4135 "name" : "Aggiorna Metadati Atto"
4136 },
4137 "api" : {
4138 "output" : [ ],
4139 "payload" : [
4140 {
4141 "type" : "variable",
4142 "isUserInput" : false,
4143 "value" : "userRegistryId",
4144 "name" : "userRegistryId"
4145 },
4146 {
4147 "type" : "variable",
4148 "isUserInput" : false,
4149 "value" : "processInstanceId",
4150 "name" : "processInstanceId"
4151 },
4152 {
4153 "type" : "paramsMapper",
4154 "isUserInput" : false,
4155 "value" : "mappedVals",
4156 "name" : "mappedVals"
4157 }
4158 ],
4159 "headers" : {
4160 "Accept" : "application/json"
4161 },
4162 "method" : "PUT",
4163 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
4164 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4165 }
4166 },
4167 "id" : "Task_054uch1",
4168 "name" : "aggiorna metadata"
4169 },
4170 "Task_1c1ubpi" : {
4171 "value" : {
4172 "info" : {
4173 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
4174 "name" : "Aggiorna Metadati Atto"
4175 },
4176 "api" : {
4177 "output" : [ ],
4178 "payload" : [
4179 {
4180 "type" : "variable",
4181 "isUserInput" : false,
4182 "value" : "userRegistryId",
4183 "name" : "userRegistryId"
4184 },
4185 {
4186 "type" : "variable",
4187 "isUserInput" : false,
4188 "value" : "processInstanceId",
4189 "name" : "processInstanceId"
4190 },
4191 {
4192 "type" : "paramsMapper",
4193 "isUserInput" : false,
4194 "value" : "mappedVals",
4195 "name" : "mappedVals"
4196 }
4197 ],
4198 "headers" : {
4199 "Accept" : "application/json"
4200 },
4201 "method" : "PUT",
4202 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
4203 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4204 }
4205 },
4206 "id" : "Task_1c1ubpi",
4207 "name" : "aggiorna metadati atto"
4208 },
4209 "Task_105gtw9" : {
4210 "value" : {
4211 "info" : {
4212 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
4213 "name" : "Aggiorna Metadati Atto"
4214 },
4215 "api" : {
4216 "output" : [ ],
4217 "payload" : [
4218 {
4219 "type" : "variable",
4220 "isUserInput" : false,
4221 "value" : "userRegistryId",
4222 "name" : "userRegistryId"
4223 },
4224 {
4225 "type" : "variable",
4226 "isUserInput" : false,
4227 "value" : "processInstanceId",
4228 "name" : "processInstanceId"
4229 },
4230 {
4231 "type" : "paramsMapper",
4232 "isUserInput" : false,
4233 "value" : "mappedVals",
4234 "name" : "mappedVals"
4235 }
4236 ],
4237 "headers" : {
4238 "Accept" : "application/json"
4239 },
4240 "method" : "PUT",
4241 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
4242 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4243 }
4244 },
4245 "id" : "Task_105gtw9",
4246 "name" : "aggiorna metadati"
4247 },
4248 "Task_1o84u1b" : {
4249 "value" : {
4250 "info" : {
4251 "description" : "Aggiorna lo stato di un atto",
4252 "name" : "Aggiorna stato atto"
4253 },
4254 "api" : {
4255 "output" : [
4256 {
4257 "type" : "string",
4258 "processVariableName" : "statusKey",
4259 "description" : "Stato assegnato",
4260 "key" : "statusKey",
4261 "name" : "statusKey"
4262 },
4263 {
4264 "type" : "string",
4265 "processVariableName" : "status",
4266 "description" : "Nuovo stato",
4267 "key" : "status",
4268 "name" : "status"
4269 }
4270 ],
4271 "payload" : [
4272 {
4273 "type" : "variable",
4274 "isUserInput" : false,
4275 "value" : "userRegistryId",
4276 "name" : "userRegistryId"
4277 },
4278 {
4279 "type" : "variable",
4280 "isUserInput" : false,
4281 "value" : "processInstanceId",
4282 "name" : "processInstanceId"
4283 },
4284 {
4285 "value" : "proponents_approved",
4286 "options" : [
4287 {
4288 "label" : "Atto Ritirato",
4289 "key" : "retired"
4290 },
4291 {
4292 "label" : "In Attesa di Firma",
4293 "key" : "signing"
4294 },
4295 {
4296 "label" : "Presentato",
4297 "key" : "debated"
4298 },
4299 {
4300 "label" : "Da Presentare",
4301 "key" : "to_debate"
4302 },
4303 {
4304 "label" : "Bozza",
4305 "key" : "draft"
4306 },
4307 {
4308 "label" : "Rimesso in Bozza",
4309 "key" : "draft"
4310 },
4311 {
4312 "label" : "Approvato Proponenti",
4313 "key" : "proponents_approved"
4314 },
4315 {
4316 "label" : "In attesa di visto elettronico",
4317 "key" : "checking"
4318 },
4319 {
4320 "label" : "Vistato Assessore",
4321 "key" : "checked"
4322 }
4323 ],
4324 "isRequired" : true,
4325 "type" : "select",
4326 "isUserInput" : true,
4327 "description" : "Codice",
4328 "name" : "statusKey"
4329 },
4330 {
4331 "value" : "Approvato Proponenti",
4332 "isRequired" : true,
4333 "type" : "string",
4334 "isUserInput" : true,
4335 "description" : "Descrizione",
4336 "name" : "statusLabel"
4337 }
4338 ],
4339 "headers" : {
4340 "Accept" : "application/json"
4341 },
4342 "method" : "POST",
4343 "endpoint" : "/instances/service-task/status",
4344 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4345 }
4346 },
4347 "id" : "Task_1o84u1b",
4348 "name" : "stato \"Approvato dai proponenti\""
4349 },
4350 "Task_0c8kyxg" : {
4351 "value" : {
4352 "info" : {
4353 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
4354 "name" : "Aggiorna Metadati Atto"
4355 },
4356 "api" : {
4357 "output" : [ ],
4358 "payload" : [
4359 {
4360 "type" : "variable",
4361 "isUserInput" : false,
4362 "value" : "userRegistryId",
4363 "name" : "userRegistryId"
4364 },
4365 {
4366 "type" : "variable",
4367 "isUserInput" : false,
4368 "value" : "processInstanceId",
4369 "name" : "processInstanceId"
4370 },
4371 {
4372 "type" : "paramsMapper",
4373 "isUserInput" : false,
4374 "value" : "mappedVals",
4375 "name" : "mappedVals"
4376 }
4377 ],
4378 "headers" : {
4379 "Accept" : "application/json"
4380 },
4381 "method" : "PUT",
4382 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
4383 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4384 }
4385 },
4386 "id" : "Task_0c8kyxg",
4387 "name" : "aggiorna metadata"
4388 },
4389 "Task_0o71mi2" : {
4390 "value" : {
4391 "info" : {
4392 "description" : "Servizio per forzare l'aggiornamento dei metadati di un atto",
4393 "name" : "Aggiorna Metadati Atto"
4394 },
4395 "api" : {
4396 "output" : [ ],
4397 "payload" : [
4398 {
4399 "type" : "variable",
4400 "isUserInput" : false,
4401 "value" : "userRegistryId",
4402 "name" : "userRegistryId"
4403 },
4404 {
4405 "type" : "variable",
4406 "isUserInput" : false,
4407 "value" : "processInstanceId",
4408 "name" : "processInstanceId"
4409 },
4410 {
4411 "type" : "paramsMapper",
4412 "isUserInput" : false,
4413 "value" : "mappedVals",
4414 "name" : "mappedVals"
4415 }
4416 ],
4417 "headers" : {
4418 "Accept" : "application/json"
4419 },
4420 "method" : "PUT",
4421 "endpoint" : "/instances/service-task/custom/myact/acts/updatedata",
4422 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4423 }
4424 },
4425 "id" : "Task_0o71mi2",
4426 "name" : "Aggiorna Atto"
4427 },
4428 "Task_18swngw" : {
4429 "value" : {
4430 "info" : {
4431 "description" : "Aggiorna lo stato di un atto",
4432 "name" : "Aggiorna stato atto"
4433 },
4434 "api" : {
4435 "output" : [
4436 {
4437 "type" : "string",
4438 "processVariableName" : "statusKey",
4439 "description" : "Stato assegnato",
4440 "key" : "statusKey",
4441 "name" : "statusKey"
4442 },
4443 {
4444 "type" : "string",
4445 "processVariableName" : "status",
4446 "description" : "Nuovo stato",
4447 "key" : "status",
4448 "name" : "status"
4449 }
4450 ],
4451 "payload" : [
4452 {
4453 "type" : "variable",
4454 "isUserInput" : false,
4455 "value" : "userRegistryId",
4456 "name" : "userRegistryId"
4457 },
4458 {
4459 "type" : "variable",
4460 "isUserInput" : false,
4461 "value" : "processInstanceId",
4462 "name" : "processInstanceId"
4463 },
4464 {
4465 "value" : "retired",
4466 "options" : [
4467 {
4468 "label" : "Atto Ritirato",
4469 "key" : "retired"
4470 },
4471 {
4472 "label" : "In Attesa di Firma",
4473 "key" : "signing"
4474 },
4475 {
4476 "label" : "Atto Discusso",
4477 "key" : "debated"
4478 }
4479 ],
4480 "isRequired" : true,
4481 "type" : "select",
4482 "isUserInput" : true,
4483 "description" : "Codice",
4484 "name" : "statusKey"
4485 },
4486 {
4487 "value" : "Ritirato",
4488 "isRequired" : true,
4489 "type" : "string",
4490 "isUserInput" : true,
4491 "description" : "Descrizione",
4492 "name" : "statusLabel"
4493 }
4494 ],
4495 "headers" : {
4496 "Accept" : "application/json"
4497 },
4498 "method" : "POST",
4499 "endpoint" : "/instances/service-task/status",
4500 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4501 }
4502 },
4503 "id" : "Task_18swngw",
4504 "name" : "Atto Ritirato"
4505 },
4506 "Task_07971jg" : {
4507 "value" : {
4508 "info" : {
4509 "description" : "Updates the status variables of an instance",
4510 "name" : "Update Workflow Status Variables"
4511 },
4512 "api" : {
4513 "output" : [
4514 {
4515 "type" : "string",
4516 "processVariableName" : "statusMap",
4517 "description" : "Mappa degli stati (JSON)",
4518 "key" : "statusMap",
4519 "name" : "statusMap"
4520 }
4521 ],
4522 "payload" : [
4523 {
4524 "type" : "variable",
4525 "isUserInput" : false,
4526 "value" : "userRegistryId",
4527 "name" : "userRegistryId"
4528 },
4529 {
4530 "type" : "variable",
4531 "isUserInput" : false,
4532 "value" : "processInstanceId",
4533 "name" : "processInstanceId"
4534 },
4535 {
4536 "type" : "keyValueGenerator",
4537 "isUserInput" : true,
4538 "value" : "{\"changeRagioniereCapoEnabled\":{\"value\":null,\"disabled\":true},\"changeSegretarioGeneraleEnabled\":{\"value\":null,\"disabled\":true},\"changeSignatureOwnerEnabled\":{\"value\":\"false\",\"disabled\":false},\"retireActEnabled\":{\"value\":\"false\",\"disabled\":false}}",
4539 "name" : "workflowStatus"
4540 },
4541 {
4542 "type" : "variable",
4543 "isUserInput" : false,
4544 "value" : "statusMap",
4545 "name" : "statusMap"
4546 }
4547 ],
4548 "headers" : {
4549 "Accept" : "application/json"
4550 },
4551 "method" : "POST",
4552 "endpoint" : "/instances/service-task/workflow-status",
4553 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4554 }
4555 },
4556 "id" : "Task_07971jg",
4557 "name" : "firma non più modificabile e atto non ritirabile"
4558 },
4559 "Task_097ya1h" : {
4560 "value" : {
4561 "info" : {
4562 "description" : "Generate PDF file from template",
4563 "name" : "Generate PDF"
4564 },
4565 "api" : {
4566 "output" : [
4567 {
4568 "type" : "file",
4569 "processVariableName" : "pdf_file_Task_097ya1h",
4570 "description" : "informativa_giunta",
4571 "key" : "reportPdfFile",
4572 "name" : "reportPdfFile"
4573 }
4574 ],
4575 "payload" : [
4576 {
4577 "type" : "variable",
4578 "isUserInput" : false,
4579 "value" : "userRegistryId",
4580 "name" : "userRegistryId"
4581 },
4582 {
4583 "type" : "variable",
4584 "isUserInput" : false,
4585 "value" : "processInstanceId",
4586 "name" : "processInstanceId"
4587 },
4588 {
4589 "type" : "variable",
4590 "isUserInput" : false,
4591 "value" : "istanzaOperatore",
4592 "name" : "istanzaOperatore"
4593 },
4594 {
4595 "type" : "variable",
4596 "isUserInput" : false,
4597 "value" : "processVersionId",
4598 "name" : "processVersionId"
4599 },
4600 {
4601 "type" : "string",
4602 "isUserInput" : false,
4603 "value" : "Task_097ya1h",
4604 "name" : "taskId"
4605 },
4606 {
4607 "type" : "variable",
4608 "isUserInput" : false,
4609 "value" : "istanzaOperatore",
4610 "name" : "istanzaOperatore"
4611 },
4612 {
4613 "value" : "5f3d2c327f04ba07de98a807",
4614 "isRequired" : true,
4615 "type" : "templateRef",
4616 "isUserInput" : true,
4617 "description" : "Report template to use",
4618 "name" : "reportTemplateRef"
4619 },
4620 {
4621 "value" : [
4622 "oggetto_atto",
4623 "testo_atto",
4624 "tipologia_atto_label",
4625 "numero_provvisorio",
4626 "proponent"
4627 ],
4628 "isRequired" : true,
4629 "type" : "templateVariables",
4630 "isUserInput" : true,
4631 "description" : "Workflow variables that will be injected in the template",
4632 "name" : "reportTemplateVariables"
4633 },
4634 {
4635 "value" : "informativa_giunta",
4636 "isRequired" : true,
4637 "type" : "string",
4638 "isUserInput" : true,
4639 "description" : "Name of the output file that will be generated",
4640 "name" : "generatedFileName"
4641 }
4642 ],
4643 "headers" : {
4644 "Accept" : "application/json"
4645 },
4646 "method" : "POST",
4647 "endpoint" : "/instances/service-task/generate-pdf",
4648 "baseUrl" : "http://myintranet-cdemo.local:8000/myintranet/C_DEMO"
4649 }
4650 },
4651 "id" : "Task_097ya1h",
4652 "name" : "genera pdf"
4653 }
4654 },
4655 "forms" : {
4656 "ebebe4dd-2ca5-4914-b7d1-cb60f00bd9aa" : {
4657 "value" : [
4658 {
4659 "atInit" : null,
4660 "atClick" : null,
4661 "atValueChanged" : null,
4662 "helpMessage" : null,
4663 "errorMessage" : null,
4664 "insOrder" : 0,
4665 "subFields" : [
4666 {
4667 "atInit" : null,
4668 "atClick" : null,
4669 "atValueChanged" : null,
4670 "helpMessage" : null,
4671 "errorMessage" : null,
4672 "insOrder" : 0,
4673 "subFields" : [
4674 {
4675 "insOrder" : 0,
4676 "atInit" : null,
4677 "atClick" : null,
4678 "atValueChanged" : null,
4679 "visibleSectionsMandatory" : [ ],
4680 "visibleSections" : [ ],
4681 "helpMessage" : null,
4682 "errorMessage" : null,
4683 "subFields" : [ ],
4684 "visibleDependsOnUidAttributes" : null,
4685 "visibleDependsOnUids" : null,
4686 "visibleDependsOn" : null,
4687 "enumerationList" : [ ],
4688 "enableDependsOnUidAttributes" : null,
4689 "enabledDependsOnUids" : null,
4690 "enabledDependsOn" : null,
4691 "validDependsOnUidAttributes" : null,
4692 "validDependsOnUids" : null,
4693 "validDependsOn" : null,
4694 "valueDependsOnUidAttributes" : null,
4695 "valueDependsOnUids" : null,
4696 "valueDependsOn" : null,
4697 "isInsertable" : true,
4698 "isRequired" : false,
4699 "allowedMimeTypes" : [ ],
4700 "maxDimension" : null,
4701 "defaultValue" : "${{atto_riservato}}",
4702 "regex" : null,
4703 "name" : "atto_riservato",
4704 "htmlPlaceholder" : null,
4705 "htmlClass" : null,
4706 "htmlLabel" : "Atto riservato",
4707 "htmlRender" : "BOOLEAN"
4708 },
4709 {
4710 "insOrder" : 1,
4711 "extraData" : {
4712 "textMaxLength" : 4000
4713 },
4714 "atInit" : null,
4715 "atClick" : null,
4716 "atValueChanged" : null,
4717 "visibleSectionsMandatory" : [ ],
4718 "visibleSections" : [ ],
4719 "helpMessage" : null,
4720 "errorMessage" : null,
4721 "subFields" : [ ],
4722 "visibleDependsOnUidAttributes" : null,
4723 "visibleDependsOnUids" : null,
4724 "visibleDependsOn" : null,
4725 "enumerationList" : [ ],
4726 "enableDependsOnUidAttributes" : null,
4727 "enabledDependsOnUids" : null,
4728 "enabledDependsOn" : null,
4729 "validDependsOnUidAttributes" : null,
4730 "validDependsOnUids" : null,
4731 "validDependsOn" : null,
4732 "valueDependsOnUidAttributes" : null,
4733 "valueDependsOnUids" : null,
4734 "valueDependsOn" : null,
4735 "isInsertable" : true,
4736 "isRequired" : true,
4737 "allowedMimeTypes" : [ ],
4738 "maxDimension" : null,
4739 "defaultValue" : "${{oggetto_atto}}",
4740 "regex" : null,
4741 "name" : "oggetto_atto",
4742 "htmlPlaceholder" : null,
4743 "htmlClass" : null,
4744 "htmlLabel" : "Oggetto",
4745 "htmlRender" : "TEXTAREA"
4746 },
4747 {
4748 "insOrder" : 2,
4749 "extraData" : {
4750 "opinionsCategory" : "parere-tecnico",
4751 "plugins" : [
4752 {
4753 "toolbarItems" : "bullist numlist",
4754 "name" : "lists",
4755 "url" : "/myintranet/client/application/assets/tinymce/plugins/lists/plugin.min.js"
4756 },
4757 {
4758 "configurationItems" : {
4759 "paste_as_text" : true
4760 },
4761 "toolbarItems" : null,
4762 "name" : "paste",
4763 "url" : "/myintranet/client/application/assets/tinymce/plugins/paste/plugin.min.js"
4764 },
4765 {
4766 "toolbarItems" : "forecolor backcolor",
4767 "name" : "textcolor",
4768 "url" : "/myintranet/client/application/assets/tinymce/plugins/textcolor/plugin.min.js"
4769 }
4770 ],
4771 "additional_features" : null,
4772 "skin_url" : "/myintranet/client/application/assets/tinymce/skins/lightgray",
4773 "language_url" : "/myintranet/client/application/assets/tinymce/langs/it.js"
4774 },
4775 "atInit" : null,
4776 "atClick" : null,
4777 "atValueChanged" : null,
4778 "visibleSectionsMandatory" : [ ],
4779 "visibleSections" : [ ],
4780 "helpMessage" : null,
4781 "errorMessage" : null,
4782 "subFields" : [ ],
4783 "visibleDependsOnUidAttributes" : null,
4784 "visibleDependsOnUids" : null,
4785 "visibleDependsOn" : null,
4786 "enumerationList" : [ ],
4787 "enableDependsOnUidAttributes" : null,
4788 "enabledDependsOnUids" : null,
4789 "enabledDependsOn" : null,
4790 "validDependsOnUidAttributes" : null,
4791 "validDependsOnUids" : null,
4792 "validDependsOn" : null,
4793 "valueDependsOnUidAttributes" : null,
4794 "valueDependsOnUids" : null,
4795 "valueDependsOn" : null,
4796 "isInsertable" : true,
4797 "isRequired" : true,
4798 "allowedMimeTypes" : [ ],
4799 "maxDimension" : null,
4800 "defaultValue" : "${{testo_atto}}",
4801 "regex" : null,
4802 "name" : "testo_atto",
4803 "htmlPlaceholder" : null,
4804 "htmlClass" : null,
4805 "htmlLabel" : "Testo Atto",
4806 "htmlRender" : "HTMLEDITOR"
4807 },
4808 {
4809 "insOrder" : 3,
4810 "atInit" : null,
4811 "atClick" : null,
4812 "atValueChanged" : null,
4813 "visibleSectionsMandatory" : [ ],
4814 "visibleSections" : [ ],
4815 "helpMessage" : null,
4816 "errorMessage" : null,
4817 "subFields" : [ ],
4818 "visibleDependsOnUidAttributes" : null,
4819 "visibleDependsOnUids" : null,
4820 "visibleDependsOn" : null,
4821 "enumerationList" : [
4822 {
4823 "value" : "Accetta proposta",
4824 "key" : "false"
4825 },
4826 {
4827 "value" : "Rifiuta proposta",
4828 "key" : "true"
4829 }
4830 ],
4831 "enableDependsOnUidAttributes" : null,
4832 "enabledDependsOnUids" : null,
4833 "enabledDependsOn" : null,
4834 "validDependsOnUidAttributes" : null,
4835 "validDependsOnUids" : null,
4836 "validDependsOn" : null,
4837 "valueDependsOnUidAttributes" : null,
4838 "valueDependsOnUids" : null,
4839 "valueDependsOn" : null,
4840 "isInsertable" : true,
4841 "isRequired" : false,
4842 "allowedMimeTypes" : [ ],
4843 "maxDimension" : null,
4844 "defaultValue" : "${{respingi_atto}}",
4845 "regex" : null,
4846 "name" : "respingi_atto",
4847 "htmlPlaceholder" : null,
4848 "htmlClass" : null,
4849 "htmlLabel" : "Respingi atto",
4850 "htmlRender" : "RADIOBUTTONLIST"
4851 },
4852 {
4853 "insOrder" : 4,
4854 "extraData" : {
4855 "textMaxLength" : 4000
4856 },
4857 "atInit" : null,
4858 "atClick" : null,
4859 "atValueChanged" : null,
4860 "visibleSectionsMandatory" : [ ],
4861 "visibleSections" : [ ],
4862 "helpMessage" : null,
4863 "errorMessage" : null,
4864 "subFields" : [ ],
4865 "visibleDependsOnUidAttributes" : null,
4866 "visibleDependsOnUids" : null,
4867 "visibleDependsOn" : null,
4868 "enumerationList" : [ ],
4869 "enableDependsOnUidAttributes" : null,
4870 "enabledDependsOnUids" : null,
4871 "enabledDependsOn" : null,
4872 "validDependsOnUidAttributes" : null,
4873 "validDependsOnUids" : null,
4874 "validDependsOn" : null,
4875 "valueDependsOnUidAttributes" : null,
4876 "valueDependsOnUids" : null,
4877 "valueDependsOn" : null,
4878 "isInsertable" : true,
4879 "isRequired" : true,
4880 "allowedMimeTypes" : [ ],
4881 "maxDimension" : null,
4882 "defaultValue" : "${{nota_respingi}}",
4883 "regex" : null,
4884 "name" : "nota_respingi",
4885 "htmlPlaceholder" : null,
4886 "htmlClass" : null,
4887 "htmlLabel" : "Nota Respingi",
4888 "htmlRender" : "TEXTAREA"
4889 }
4890 ],
4891 "enumerationList" : [ ],
4892 "visibleDependsOnUidAttributes" : null,
4893 "visibleDependsOnUids" : null,
4894 "visibleDependsOn" : null,
4895 "enableDependsOnUidAttributes" : null,
4896 "enabledDependsOnUids" : null,
4897 "enabledDependsOn" : null,
4898 "validDependsOnUidAttributes" : null,
4899 "validDependsOnUids" : null,
4900 "validDependsOn" : null,
4901 "valueDependsOnUidAttributes" : null,
4902 "valueDependsOnUids" : null,
4903 "valueDependsOn" : null,
4904 "isInsertable" : true,
4905 "isRequired" : true,
4906 "defaultValue" : "Atto",
4907 "regex" : null,
4908 "name" : "tab_0",
4909 "htmlPlaceholder" : null,
4910 "htmlClass" : "box",
4911 "htmlLabel" : "1",
4912 "htmlRender" : "MULTIFIELD"
4913 },
4914 {
4915 "atInit" : null,
4916 "atClick" : null,
4917 "atValueChanged" : null,
4918 "helpMessage" : null,
4919 "errorMessage" : null,
4920 "insOrder" : 1,
4921 "subFields" : [
4922 {
4923 "insOrder" : 0,
4924 "extraData" : {
4925 "documentsCategory" : "allegato",
4926 "generalSecretaryCode" : "C_DEMO::segreteria_segretario_generale"
4927 },
4928 "atInit" : null,
4929 "atClick" : null,
4930 "atValueChanged" : null,
4931 "visibleSectionsMandatory" : [
4932 "documentTitle"
4933 ],
4934 "visibleSections" : [
4935 "reservedDocument",
4936 "documentDescription",
4937 "documentTitle"
4938 ],
4939 "helpMessage" : null,
4940 "errorMessage" : null,
4941 "subFields" : [ ],
4942 "visibleDependsOnUidAttributes" : null,
4943 "visibleDependsOnUids" : null,
4944 "visibleDependsOn" : null,
4945 "enumerationList" : [ ],
4946 "enableDependsOnUidAttributes" : null,
4947 "enabledDependsOnUids" : null,
4948 "enabledDependsOn" : null,
4949 "validDependsOnUidAttributes" : null,
4950 "validDependsOnUids" : null,
4951 "validDependsOn" : null,
4952 "valueDependsOnUidAttributes" : null,
4953 "valueDependsOnUids" : null,
4954 "valueDependsOn" : null,
4955 "isInsertable" : true,
4956 "isRequired" : false,
4957 "allowedMimeTypes" : [
4958 "application/pdf",
4959 "application/pkcs7-mime"
4960 ],
4961 "maxDimension" : 1,
4962 "defaultValue" : "${{allegati_atto}}",
4963 "regex" : null,
4964 "name" : "allegati_atto",
4965 "htmlPlaceholder" : null,
4966 "htmlClass" : null,
4967 "htmlLabel" : "Allegati",
4968 "htmlRender" : "MULTIFILE_SIGNATURE"
4969 }
4970 ],
4971 "enumerationList" : [ ],
4972 "visibleDependsOnUidAttributes" : null,
4973 "visibleDependsOnUids" : null,
4974 "visibleDependsOn" : null,
4975 "enableDependsOnUidAttributes" : "valid",
4976 "enabledDependsOnUids" : "parent.tabs_group.tab_0",
4977 "enabledDependsOn" : "return (tab_0 === 'VALID' || tab_0 === 'DISABLED')",
4978 "validDependsOnUidAttributes" : null,
4979 "validDependsOnUids" : null,
4980 "validDependsOn" : null,
4981 "valueDependsOnUidAttributes" : null,
4982 "valueDependsOnUids" : null,
4983 "valueDependsOn" : null,
4984 "isInsertable" : true,
4985 "isRequired" : true,
4986 "defaultValue" : "Documenti",
4987 "regex" : null,
4988 "name" : "tab_1",
4989 "htmlPlaceholder" : null,
4990 "htmlClass" : "box",
4991 "htmlLabel" : "2",
4992 "htmlRender" : "MULTIFIELD"
4993 }
4994 ],
4995 "enumerationList" : [ ],
4996 "visibleDependsOnUidAttributes" : null,
4997 "visibleDependsOnUids" : null,
4998 "visibleDependsOn" : null,
4999 "enableDependsOnUidAttributes" : null,
5000 "enabledDependsOnUids" : null,
5001 "enabledDependsOn" : null,
5002 "validDependsOnUidAttributes" : null,
5003 "validDependsOnUids" : null,
5004 "validDependsOn" : null,
5005 "valueDependsOnUidAttributes" : null,
5006 "valueDependsOnUids" : null,
5007 "valueDependsOn" : null,
5008 "isInsertable" : true,
5009 "isRequired" : false,
5010 "defaultValue" : null,
5011 "regex" : null,
5012 "name" : "tabs_group",
5013 "htmlPlaceholder" : null,
5014 "htmlClass" : "center box",
5015 "htmlLabel" : null,
5016 "htmlRender" : "TAB"
5017 }
5018 ],
5019 "summaryFunctions" : {
5020 "validDependsOnUids" : null,
5021 "validDependsOnUidAttributes" : null,
5022 "validDependsOn" : null
5023 },
5024 "btnLabel" : "Invia",
5025 "name" : "Ricezione e verifica",
5026 "id" : "Task_07m3z3r"
5027 },
5028 "dccc1011-8256-4e29-b956-19f93c366763" : {
5029 "value" : [
5030 {
5031 "insOrder" : 0,
5032 "atInit" : null,
5033 "atClick" : null,
5034 "atValueChanged" : null,
5035 "visibleSectionsMandatory" : [ ],
5036 "visibleSections" : [ ],
5037 "helpMessage" : null,
5038 "errorMessage" : null,
5039 "subFields" : [ ],
5040 "visibleDependsOnUidAttributes" : null,
5041 "visibleDependsOnUids" : null,
5042 "visibleDependsOn" : null,
5043 "enumerationList" : [ ],
5044 "enableDependsOnUidAttributes" : null,
5045 "enabledDependsOnUids" : null,
5046 "enabledDependsOn" : null,
5047 "validDependsOnUidAttributes" : null,
5048 "validDependsOnUids" : "data_discussione ",
5049 "validDependsOn" : "const _date = new Date(data_discussione);\n_date.setHours(0,0,0,0);\nconst _date_ms = _date.getTime();\nconst _today = new Date();\n_today.setHours(0,0,0,0);\nconst _today_ms = _today.getTime();\nreturn _date_ms <= _today_ms;\n",
5050 "valueDependsOnUidAttributes" : null,
5051 "valueDependsOnUids" : null,
5052 "valueDependsOn" : null,
5053 "isInsertable" : true,
5054 "isRequired" : true,
5055 "allowedMimeTypes" : [ ],
5056 "maxDimension" : null,
5057 "defaultValue" : "${{data_discussione}}",
5058 "regex" : null,
5059 "name" : "data_discussione",
5060 "htmlPlaceholder" : null,
5061 "htmlClass" : null,
5062 "htmlLabel" : "Data Discussione",
5063 "htmlRender" : "DATE"
5064 },
5065 {
5066 "insOrder" : 1,
5067 "extraData" : {
5068 "documentsCategory" : "documentoseduta",
5069 "generalSecretaryCode" : "C_DEMO::segreteria_segretario_generale"
5070 },
5071 "atInit" : null,
5072 "atClick" : null,
5073 "atValueChanged" : null,
5074 "visibleSectionsMandatory" : [
5075 "documentTitle"
5076 ],
5077 "visibleSections" : [
5078 "reservedDocument",
5079 "documentTitle",
5080 "documentDescription"
5081 ],
5082 "helpMessage" : null,
5083 "errorMessage" : null,
5084 "subFields" : [ ],
5085 "visibleDependsOnUidAttributes" : null,
5086 "visibleDependsOnUids" : null,
5087 "visibleDependsOn" : null,
5088 "enumerationList" : [ ],
5089 "enableDependsOnUidAttributes" : null,
5090 "enabledDependsOnUids" : null,
5091 "enabledDependsOn" : null,
5092 "validDependsOnUidAttributes" : null,
5093 "validDependsOnUids" : null,
5094 "validDependsOn" : null,
5095 "valueDependsOnUidAttributes" : null,
5096 "valueDependsOnUids" : null,
5097 "valueDependsOn" : null,
5098 "isInsertable" : true,
5099 "isRequired" : false,
5100 "allowedMimeTypes" : [
5101 "application/pdf",
5102 "application/pkcs7-mime"
5103 ],
5104 "maxDimension" : 1,
5105 "defaultValue" : "${{documenti_seduta}}",
5106 "regex" : null,
5107 "name" : "documenti_seduta",
5108 "htmlPlaceholder" : null,
5109 "htmlClass" : null,
5110 "htmlLabel" : "Documenti Seduta",
5111 "htmlRender" : "MULTIFILE_SIGNATURE"
5112 },
5113 {
5114 "insOrder" : 2,
5115 "extraData" : {
5116 "textMaxLength" : 4000
5117 },
5118 "atInit" : null,
5119 "atClick" : null,
5120 "atValueChanged" : null,
5121 "visibleSectionsMandatory" : [ ],
5122 "visibleSections" : [ ],
5123 "helpMessage" : null,
5124 "errorMessage" : null,
5125 "subFields" : [ ],
5126 "visibleDependsOnUidAttributes" : null,
5127 "visibleDependsOnUids" : null,
5128 "visibleDependsOn" : null,
5129 "enumerationList" : [ ],
5130 "enableDependsOnUidAttributes" : null,
5131 "enabledDependsOnUids" : null,
5132 "enabledDependsOn" : null,
5133 "validDependsOnUidAttributes" : null,
5134 "validDependsOnUids" : null,
5135 "validDependsOn" : null,
5136 "valueDependsOnUidAttributes" : null,
5137 "valueDependsOnUids" : null,
5138 "valueDependsOn" : null,
5139 "isInsertable" : true,
5140 "isRequired" : false,
5141 "allowedMimeTypes" : [ ],
5142 "maxDimension" : null,
5143 "defaultValue" : "${{nota_seduta}}",
5144 "regex" : null,
5145 "name" : "nota_seduta",
5146 "htmlPlaceholder" : null,
5147 "htmlClass" : null,
5148 "htmlLabel" : "Nota Seduta",
5149 "htmlRender" : "TEXTAREA"
5150 }
5151 ],
5152 "summaryFunctions" : {
5153 "validDependsOnUids" : null,
5154 "validDependsOnUidAttributes" : null,
5155 "validDependsOn" : null
5156 },
5157 "btnLabel" : "Invia",
5158 "name" : "Registrazione\ninformativa ",
5159 "id" : "Task_0wong3v"
5160 },
5161 "0f937c2c-48ee-4b83-9055-2309dbf6369a" : {
5162 "value" : [
5163 {
5164 "atInit" : null,
5165 "atClick" : null,
5166 "atValueChanged" : null,
5167 "helpMessage" : null,
5168 "errorMessage" : null,
5169 "insOrder" : 0,
5170 "subFields" : [
5171 {
5172 "atInit" : null,
5173 "atClick" : null,
5174 "atValueChanged" : null,
5175 "helpMessage" : null,
5176 "errorMessage" : null,
5177 "insOrder" : 0,
5178 "subFields" : [
5179 {
5180 "insOrder" : 0,
5181 "extraData" : {
5182 "textMaxLength" : 4000
5183 },
5184 "atInit" : null,
5185 "atClick" : null,
5186 "atValueChanged" : null,
5187 "visibleSectionsMandatory" : [ ],
5188 "visibleSections" : [ ],
5189 "helpMessage" : null,
5190 "errorMessage" : null,
5191 "subFields" : [ ],
5192 "visibleDependsOnUidAttributes" : null,
5193 "visibleDependsOnUids" : null,
5194 "visibleDependsOn" : null,
5195 "enumerationList" : [ ],
5196 "enableDependsOnUidAttributes" : "value",
5197 "enabledDependsOnUids" : "oggetto_atto",
5198 "enabledDependsOn" : "return false;",
5199 "validDependsOnUidAttributes" : null,
5200 "validDependsOnUids" : null,
5201 "validDependsOn" : null,
5202 "valueDependsOnUidAttributes" : null,
5203 "valueDependsOnUids" : null,
5204 "valueDependsOn" : null,
5205 "isInsertable" : true,
5206 "isRequired" : false,
5207 "allowedMimeTypes" : [ ],
5208 "maxDimension" : null,
5209 "defaultValue" : "${{oggetto_atto}}",
5210 "regex" : null,
5211 "name" : "oggetto_atto",
5212 "htmlPlaceholder" : null,
5213 "htmlClass" : null,
5214 "htmlLabel" : "Oggetto",
5215 "htmlRender" : "TEXTAREA"
5216 },
5217 {
5218 "insOrder" : 1,
5219 "extraData" : {
5220 "plugins" : [
5221 {
5222 "toolbarItems" : "forecolor backcolor",
5223 "name" : "textcolor",
5224 "url" : "/myintranet/client/application/assets/tinymce/plugins/textcolor/plugin.min.js"
5225 },
5226 {
5227 "toolbarItems" : "bullist numlist",
5228 "name" : "lists",
5229 "url" : "/myintranet/client/application/assets/tinymce/plugins/lists/plugin.min.js"
5230 }
5231 ],
5232 "additional_features" : null,
5233 "skin_url" : "/myintranet/client/application/assets/tinymce/skins/lightgray",
5234 "language_url" : "/myintranet/client/application/assets/tinymce/langs/it.js"
5235 },
5236 "atInit" : null,
5237 "atClick" : null,
5238 "atValueChanged" : null,
5239 "visibleSectionsMandatory" : [ ],
5240 "visibleSections" : [ ],
5241 "helpMessage" : null,
5242 "errorMessage" : null,
5243 "subFields" : [ ],
5244 "visibleDependsOnUidAttributes" : null,
5245 "visibleDependsOnUids" : null,
5246 "visibleDependsOn" : null,
5247 "enumerationList" : [ ],
5248 "enableDependsOnUidAttributes" : "value",
5249 "enabledDependsOnUids" : "testo_atto",
5250 "enabledDependsOn" : "return false;",
5251 "validDependsOnUidAttributes" : null,
5252 "validDependsOnUids" : null,
5253 "validDependsOn" : null,
5254 "valueDependsOnUidAttributes" : null,
5255 "valueDependsOnUids" : null,
5256 "valueDependsOn" : null,
5257 "isInsertable" : true,
5258 "isRequired" : false,
5259 "allowedMimeTypes" : [ ],
5260 "maxDimension" : null,
5261 "defaultValue" : "${{testo_atto}}",
5262 "regex" : null,
5263 "name" : "testo_atto",
5264 "htmlPlaceholder" : null,
5265 "htmlClass" : null,
5266 "htmlLabel" : "Testo",
5267 "htmlRender" : "HTMLEDITOR"
5268 },
5269 {
5270 "insOrder" : 2,
5271 "atInit" : null,
5272 "atClick" : null,
5273 "atValueChanged" : null,
5274 "visibleSectionsMandatory" : [ ],
5275 "visibleSections" : [ ],
5276 "helpMessage" : null,
5277 "errorMessage" : null,
5278 "subFields" : [ ],
5279 "visibleDependsOnUidAttributes" : null,
5280 "visibleDependsOnUids" : null,
5281 "visibleDependsOn" : null,
5282 "enumerationList" : [
5283 {
5284 "value" : "Accetta proposta",
5285 "key" : "false"
5286 },
5287 {
5288 "value" : "Rifiuta proposta",
5289 "key" : "true"
5290 }
5291 ],
5292 "enableDependsOnUidAttributes" : null,
5293 "enabledDependsOnUids" : null,
5294 "enabledDependsOn" : null,
5295 "validDependsOnUidAttributes" : null,
5296 "validDependsOnUids" : null,
5297 "validDependsOn" : null,
5298 "valueDependsOnUidAttributes" : null,
5299 "valueDependsOnUids" : null,
5300 "valueDependsOn" : null,
5301 "isInsertable" : true,
5302 "isRequired" : false,
5303 "allowedMimeTypes" : [ ],
5304 "maxDimension" : null,
5305 "defaultValue" : "${{respingi_atto}}",
5306 "regex" : null,
5307 "name" : "respingi_atto",
5308 "htmlPlaceholder" : null,
5309 "htmlClass" : null,
5310 "htmlLabel" : "Respingi",
5311 "htmlRender" : "RADIOBUTTONLIST"
5312 },
5313 {
5314 "insOrder" : 3,
5315 "extraData" : {
5316 "textMaxLength" : 4000
5317 },
5318 "atInit" : null,
5319 "atClick" : null,
5320 "atValueChanged" : null,
5321 "visibleSectionsMandatory" : [ ],
5322 "visibleSections" : [ ],
5323 "helpMessage" : null,
5324 "errorMessage" : null,
5325 "subFields" : [ ],
5326 "visibleDependsOnUidAttributes" : null,
5327 "visibleDependsOnUids" : null,
5328 "visibleDependsOn" : null,
5329 "enumerationList" : [ ],
5330 "enableDependsOnUidAttributes" : null,
5331 "enabledDependsOnUids" : null,
5332 "enabledDependsOn" : null,
5333 "validDependsOnUidAttributes" : null,
5334 "validDependsOnUids" : null,
5335 "validDependsOn" : null,
5336 "valueDependsOnUidAttributes" : null,
5337 "valueDependsOnUids" : null,
5338 "valueDependsOn" : null,
5339 "isInsertable" : true,
5340 "isRequired" : true,
5341 "allowedMimeTypes" : [ ],
5342 "maxDimension" : null,
5343 "defaultValue" : "${{nota_respingi}}",
5344 "regex" : null,
5345 "name" : "nota_respingi",
5346 "htmlPlaceholder" : null,
5347 "htmlClass" : null,
5348 "htmlLabel" : "Nota Respingi",
5349 "htmlRender" : "TEXTAREA"
5350 }
5351 ],
5352 "enumerationList" : [ ],
5353 "visibleDependsOnUidAttributes" : null,
5354 "visibleDependsOnUids" : null,
5355 "visibleDependsOn" : null,
5356 "enableDependsOnUidAttributes" : null,
5357 "enabledDependsOnUids" : null,
5358 "enabledDependsOn" : null,
5359 "validDependsOnUidAttributes" : null,
5360 "validDependsOnUids" : null,
5361 "validDependsOn" : null,
5362 "valueDependsOnUidAttributes" : null,
5363 "valueDependsOnUids" : null,
5364 "valueDependsOn" : null,
5365 "isInsertable" : true,
5366 "isRequired" : true,
5367 "defaultValue" : "Atto",
5368 "regex" : null,
5369 "name" : "tab_0",
5370 "htmlPlaceholder" : null,
5371 "htmlClass" : "box",
5372 "htmlLabel" : "1",
5373 "htmlRender" : "MULTIFIELD"
5374 },
5375 {
5376 "atInit" : null,
5377 "atClick" : null,
5378 "atValueChanged" : null,
5379 "helpMessage" : null,
5380 "errorMessage" : null,
5381 "insOrder" : 1,
5382 "subFields" : [
5383 {
5384 "insOrder" : 0,
5385 "extraData" : {
5386 "documentsCategory" : "allegato",
5387 "generalSecretaryCode" : "C_DEMO::segreteria_segretario_generale"
5388 },
5389 "atInit" : null,
5390 "atClick" : null,
5391 "atValueChanged" : null,
5392 "visibleSectionsMandatory" : [
5393 "documentTitle"
5394 ],
5395 "visibleSections" : [
5396 "reservedDocument",
5397 "documentDescription",
5398 "documentTitle"
5399 ],
5400 "helpMessage" : null,
5401 "errorMessage" : null,
5402 "subFields" : [ ],
5403 "visibleDependsOnUidAttributes" : null,
5404 "visibleDependsOnUids" : null,
5405 "visibleDependsOn" : null,
5406 "enumerationList" : [ ],
5407 "enableDependsOnUidAttributes" : "value",
5408 "enabledDependsOnUids" : "allegati_atto",
5409 "enabledDependsOn" : "return false;",
5410 "validDependsOnUidAttributes" : null,
5411 "validDependsOnUids" : null,
5412 "validDependsOn" : null,
5413 "valueDependsOnUidAttributes" : null,
5414 "valueDependsOnUids" : null,
5415 "valueDependsOn" : null,
5416 "isInsertable" : true,
5417 "isRequired" : false,
5418 "allowedMimeTypes" : [
5419 "application/pdf",
5420 "application/pkcs7-mime"
5421 ],
5422 "maxDimension" : null,
5423 "defaultValue" : "${{allegati_atto}}",
5424 "regex" : null,
5425 "name" : "allegati_atto",
5426 "htmlPlaceholder" : null,
5427 "htmlClass" : null,
5428 "htmlLabel" : "Allegati",
5429 "htmlRender" : "MULTIFILE_SIGNATURE"
5430 }
5431 ],
5432 "enumerationList" : [ ],
5433 "visibleDependsOnUidAttributes" : null,
5434 "visibleDependsOnUids" : null,
5435 "visibleDependsOn" : null,
5436 "enableDependsOnUidAttributes" : "valid",
5437 "enabledDependsOnUids" : "parent.tabs_group.tab_0",
5438 "enabledDependsOn" : "return (tab_0 === 'VALID' || tab_0 === 'DISABLED')",
5439 "validDependsOnUidAttributes" : null,
5440 "validDependsOnUids" : null,
5441 "validDependsOn" : null,
5442 "valueDependsOnUidAttributes" : null,
5443 "valueDependsOnUids" : null,
5444 "valueDependsOn" : null,
5445 "isInsertable" : true,
5446 "isRequired" : true,
5447 "defaultValue" : "Documenti",
5448 "regex" : null,
5449 "name" : "tab_1",
5450 "htmlPlaceholder" : null,
5451 "htmlClass" : "box",
5452 "htmlLabel" : "2",
5453 "htmlRender" : "MULTIFIELD"
5454 }
5455 ],
5456 "enumerationList" : [ ],
5457 "visibleDependsOnUidAttributes" : null,
5458 "visibleDependsOnUids" : null,
5459 "visibleDependsOn" : null,
5460 "enableDependsOnUidAttributes" : null,
5461 "enabledDependsOnUids" : null,
5462 "enabledDependsOn" : null,
5463 "validDependsOnUidAttributes" : null,
5464 "validDependsOnUids" : null,
5465 "validDependsOn" : null,
5466 "valueDependsOnUidAttributes" : null,
5467 "valueDependsOnUids" : null,
5468 "valueDependsOn" : null,
5469 "isInsertable" : true,
5470 "isRequired" : false,
5471 "defaultValue" : null,
5472 "regex" : null,
5473 "name" : "tabs_group",
5474 "htmlPlaceholder" : null,
5475 "htmlClass" : "center box",
5476 "htmlLabel" : null,
5477 "htmlRender" : "TAB"
5478 }
5479 ],
5480 "summaryFunctions" : {
5481 "validDependsOnUids" : null,
5482 "validDependsOnUidAttributes" : null,
5483 "validDependsOn" : null
5484 },
5485 "btnLabel" : "Invia",
5486 "name" : "Ricezione e verifica",
5487 "id" : "Task_03e7pih"
5488 },
5489 "994563ac-78e7-40eb-9828-eb1502e33062" : {
5490 "value" : [
5491 {
5492 "atInit" : null,
5493 "atClick" : null,
5494 "atValueChanged" : null,
5495 "helpMessage" : null,
5496 "errorMessage" : null,
5497 "insOrder" : 0,
5498 "subFields" : [
5499 {
5500 "atInit" : null,
5501 "atClick" : null,
5502 "atValueChanged" : null,
5503 "helpMessage" : null,
5504 "errorMessage" : null,
5505 "insOrder" : 0,
5506 "subFields" : [
5507 {
5508 "insOrder" : 0,
5509 "atInit" : null,
5510 "atClick" : null,
5511 "atValueChanged" : null,
5512 "visibleSectionsMandatory" : [ ],
5513 "visibleSections" : [ ],
5514 "helpMessage" : null,
5515 "errorMessage" : null,
5516 "subFields" : [ ],
5517 "visibleDependsOnUidAttributes" : null,
5518 "visibleDependsOnUids" : null,
5519 "visibleDependsOn" : null,
5520 "enumerationList" : [ ],
5521 "enableDependsOnUidAttributes" : null,
5522 "enabledDependsOnUids" : null,
5523 "enabledDependsOn" : null,
5524 "validDependsOnUidAttributes" : null,
5525 "validDependsOnUids" : null,
5526 "validDependsOn" : null,
5527 "valueDependsOnUidAttributes" : null,
5528 "valueDependsOnUids" : null,
5529 "valueDependsOn" : null,
5530 "isInsertable" : true,
5531 "isRequired" : false,
5532 "allowedMimeTypes" : [ ],
5533 "maxDimension" : null,
5534 "defaultValue" : "${{atto_riservato}}",
5535 "regex" : null,
5536 "name" : "atto_riservato",
5537 "htmlPlaceholder" : null,
5538 "htmlClass" : null,
5539 "htmlLabel" : "Atto riservato",
5540 "htmlRender" : "BOOLEAN"
5541 },
5542 {
5543 "insOrder" : 1,
5544 "extraData" : {
5545 "textMaxLength" : 4000
5546 },
5547 "atInit" : null,
5548 "atClick" : null,
5549 "atValueChanged" : null,
5550 "visibleSectionsMandatory" : [ ],
5551 "visibleSections" : [ ],
5552 "helpMessage" : null,
5553 "errorMessage" : null,
5554 "subFields" : [ ],
5555 "visibleDependsOnUidAttributes" : null,
5556 "visibleDependsOnUids" : null,
5557 "visibleDependsOn" : null,
5558 "enumerationList" : [ ],
5559 "enableDependsOnUidAttributes" : "value",
5560 "enabledDependsOnUids" : "oggetto_atto",
5561 "enabledDependsOn" : "return false;",
5562 "validDependsOnUidAttributes" : null,
5563 "validDependsOnUids" : null,
5564 "validDependsOn" : null,
5565 "valueDependsOnUidAttributes" : null,
5566 "valueDependsOnUids" : null,
5567 "valueDependsOn" : null,
5568 "isInsertable" : true,
5569 "isRequired" : false,
5570 "allowedMimeTypes" : [ ],
5571 "maxDimension" : null,
5572 "defaultValue" : "${{oggetto_atto}}",
5573 "regex" : null,
5574 "name" : "oggetto_atto",
5575 "htmlPlaceholder" : null,
5576 "htmlClass" : null,
5577 "htmlLabel" : "Oggetto",
5578 "htmlRender" : "TEXTAREA"
5579 },
5580 {
5581 "insOrder" : 2,
5582 "extraData" : {
5583 "plugins" : [
5584 {
5585 "toolbarItems" : "bullist numlist",
5586 "name" : "lists",
5587 "url" : "/myintranet/client/application/assets/tinymce/plugins/lists/plugin.min.js"
5588 },
5589 {
5590 "configurationItems" : {
5591 "paste_as_text" : true
5592 },
5593 "toolbarItems" : null,
5594 "name" : "paste",
5595 "url" : "/myintranet/client/application/assets/tinymce/plugins/paste/plugin.min.js"
5596 },
5597 {
5598 "toolbarItems" : "forecolor backcolor",
5599 "name" : "textcolor",
5600 "url" : "/myintranet/client/application/assets/tinymce/plugins/textcolor/plugin.min.js"
5601 }
5602 ],
5603 "additional_features" : null,
5604 "skin_url" : "/myintranet/client/application/assets/tinymce/skins/lightgray",
5605 "language_url" : "/myintranet/client/application/assets/tinymce/langs/it.js"
5606 },
5607 "atInit" : null,
5608 "atClick" : null,
5609 "atValueChanged" : null,
5610 "visibleSectionsMandatory" : [ ],
5611 "visibleSections" : [ ],
5612 "helpMessage" : null,
5613 "errorMessage" : null,
5614 "subFields" : [ ],
5615 "visibleDependsOnUidAttributes" : null,
5616 "visibleDependsOnUids" : null,
5617 "visibleDependsOn" : null,
5618 "enumerationList" : [ ],
5619 "enableDependsOnUidAttributes" : "value",
5620 "enabledDependsOnUids" : "testo_atto",
5621 "enabledDependsOn" : "return false;",
5622 "validDependsOnUidAttributes" : null,
5623 "validDependsOnUids" : null,
5624 "validDependsOn" : null,
5625 "valueDependsOnUidAttributes" : null,
5626 "valueDependsOnUids" : null,
5627 "valueDependsOn" : null,
5628 "isInsertable" : true,
5629 "isRequired" : false,
5630 "allowedMimeTypes" : [ ],
5631 "maxDimension" : null,
5632 "defaultValue" : "${{testo_atto}}",
5633 "regex" : null,
5634 "name" : "testo_atto",
5635 "htmlPlaceholder" : null,
5636 "htmlClass" : null,
5637 "htmlLabel" : "Testo Atto",
5638 "htmlRender" : "HTMLEDITOR"
5639 },
5640 {
5641 "insOrder" : 3,
5642 "atInit" : null,
5643 "atClick" : null,
5644 "atValueChanged" : null,
5645 "visibleSectionsMandatory" : [ ],
5646 "visibleSections" : [ ],
5647 "helpMessage" : null,
5648 "errorMessage" : null,
5649 "subFields" : [ ],
5650 "visibleDependsOnUidAttributes" : null,
5651 "visibleDependsOnUids" : null,
5652 "visibleDependsOn" : null,
5653 "enumerationList" : [
5654 {
5655 "value" : "Accetta proposta",
5656 "key" : "false"
5657 },
5658 {
5659 "value" : "Rifiuta proposta",
5660 "key" : "true"
5661 }
5662 ],
5663 "enableDependsOnUidAttributes" : null,
5664 "enabledDependsOnUids" : null,
5665 "enabledDependsOn" : null,
5666 "validDependsOnUidAttributes" : null,
5667 "validDependsOnUids" : null,
5668 "validDependsOn" : null,
5669 "valueDependsOnUidAttributes" : null,
5670 "valueDependsOnUids" : null,
5671 "valueDependsOn" : null,
5672 "isInsertable" : true,
5673 "isRequired" : false,
5674 "allowedMimeTypes" : [ ],
5675 "maxDimension" : null,
5676 "defaultValue" : "${{respingi_atto}}",
5677 "regex" : null,
5678 "name" : "respingi_atto",
5679 "htmlPlaceholder" : null,
5680 "htmlClass" : null,
5681 "htmlLabel" : "Respingi atto",
5682 "htmlRender" : "RADIOBUTTONLIST"
5683 },
5684 {
5685 "insOrder" : 4,
5686 "extraData" : {
5687 "textMaxLength" : 4000
5688 },
5689 "atInit" : null,
5690 "atClick" : null,
5691 "atValueChanged" : null,
5692 "visibleSectionsMandatory" : [ ],
5693 "visibleSections" : [ ],
5694 "helpMessage" : null,
5695 "errorMessage" : null,
5696 "subFields" : [ ],
5697 "visibleDependsOnUidAttributes" : null,
5698 "visibleDependsOnUids" : null,
5699 "visibleDependsOn" : null,
5700 "enumerationList" : [ ],
5701 "enableDependsOnUidAttributes" : null,
5702 "enabledDependsOnUids" : null,
5703 "enabledDependsOn" : null,
5704 "validDependsOnUidAttributes" : null,
5705 "validDependsOnUids" : null,
5706 "validDependsOn" : null,
5707 "valueDependsOnUidAttributes" : null,
5708 "valueDependsOnUids" : null,
5709 "valueDependsOn" : null,
5710 "isInsertable" : true,
5711 "isRequired" : true,
5712 "allowedMimeTypes" : [ ],
5713 "maxDimension" : null,
5714 "defaultValue" : "${{nota_respingi_coprop}}",
5715 "regex" : null,
5716 "name" : "nota_respingi_coprop",
5717 "htmlPlaceholder" : null,
5718 "htmlClass" : null,
5719 "htmlLabel" : "Nota Respingi",
5720 "htmlRender" : "TEXTAREA"
5721 }
5722 ],
5723 "enumerationList" : [ ],
5724 "visibleDependsOnUidAttributes" : null,
5725 "visibleDependsOnUids" : null,
5726 "visibleDependsOn" : null,
5727 "enableDependsOnUidAttributes" : null,
5728 "enabledDependsOnUids" : null,
5729 "enabledDependsOn" : null,
5730 "validDependsOnUidAttributes" : null,
5731 "validDependsOnUids" : null,
5732 "validDependsOn" : null,
5733 "valueDependsOnUidAttributes" : null,
5734 "valueDependsOnUids" : null,
5735 "valueDependsOn" : null,
5736 "isInsertable" : true,
5737 "isRequired" : true,
5738 "defaultValue" : "Atto",
5739 "regex" : null,
5740 "name" : "tab_0",
5741 "htmlPlaceholder" : null,
5742 "htmlClass" : "box",
5743 "htmlLabel" : "1",
5744 "htmlRender" : "MULTIFIELD"
5745 },
5746 {
5747 "atInit" : null,
5748 "atClick" : null,
5749 "atValueChanged" : null,
5750 "helpMessage" : null,
5751 "errorMessage" : null,
5752 "insOrder" : 1,
5753 "subFields" : [
5754 {
5755 "insOrder" : 0,
5756 "extraData" : {
5757 "documentsCategory" : "allegato",
5758 "generalSecretaryCode" : "C_DEMO::segreteria_segretario_generale"
5759 },
5760 "atInit" : null,
5761 "atClick" : null,
5762 "atValueChanged" : null,
5763 "visibleSectionsMandatory" : [
5764 "documentTitle"
5765 ],
5766 "visibleSections" : [
5767 "documentDescription",
5768 "reservedDocument",
5769 "documentTitle"
5770 ],
5771 "helpMessage" : null,
5772 "errorMessage" : null,
5773 "subFields" : [ ],
5774 "visibleDependsOnUidAttributes" : null,
5775 "visibleDependsOnUids" : null,
5776 "visibleDependsOn" : null,
5777 "enumerationList" : [ ],
5778 "enableDependsOnUidAttributes" : "value",
5779 "enabledDependsOnUids" : "allegati_atto",
5780 "enabledDependsOn" : "return false;",
5781 "validDependsOnUidAttributes" : null,
5782 "validDependsOnUids" : null,
5783 "validDependsOn" : null,
5784 "valueDependsOnUidAttributes" : null,
5785 "valueDependsOnUids" : null,
5786 "valueDependsOn" : null,
5787 "isInsertable" : true,
5788 "isRequired" : false,
5789 "allowedMimeTypes" : [
5790 "application/pdf",
5791 "application/pkcs7-mime"
5792 ],
5793 "maxDimension" : 1,
5794 "defaultValue" : "${{allegati_atto}}",
5795 "regex" : null,
5796 "name" : "allegati_atto",
5797 "htmlPlaceholder" : null,
5798 "htmlClass" : null,
5799 "htmlLabel" : "Allegati",
5800 "htmlRender" : "MULTIFILE_SIGNATURE"
5801 }
5802 ],
5803 "enumerationList" : [ ],
5804 "visibleDependsOnUidAttributes" : null,
5805 "visibleDependsOnUids" : null,
5806 "visibleDependsOn" : null,
5807 "enableDependsOnUidAttributes" : "valid",
5808 "enabledDependsOnUids" : "parent.tabs_group.tab_0",
5809 "enabledDependsOn" : "return (tab_0 === 'VALID' || tab_0 === 'DISABLED')",
5810 "validDependsOnUidAttributes" : null,
5811 "validDependsOnUids" : null,
5812 "validDependsOn" : null,
5813 "valueDependsOnUidAttributes" : null,
5814 "valueDependsOnUids" : null,
5815 "valueDependsOn" : null,
5816 "isInsertable" : true,
5817 "isRequired" : true,
5818 "defaultValue" : "Documenti",
5819 "regex" : null,
5820 "name" : "tab_1",
5821 "htmlPlaceholder" : null,
5822 "htmlClass" : "box",
5823 "htmlLabel" : "2",
5824 "htmlRender" : "MULTIFIELD"
5825 }
5826 ],
5827 "enumerationList" : [ ],
5828 "visibleDependsOnUidAttributes" : null,
5829 "visibleDependsOnUids" : null,
5830 "visibleDependsOn" : null,
5831 "enableDependsOnUidAttributes" : null,
5832 "enabledDependsOnUids" : null,
5833 "enabledDependsOn" : null,
5834 "validDependsOnUidAttributes" : null,
5835 "validDependsOnUids" : null,
5836 "validDependsOn" : null,
5837 "valueDependsOnUidAttributes" : null,
5838 "valueDependsOnUids" : null,
5839 "valueDependsOn" : null,
5840 "isInsertable" : true,
5841 "isRequired" : false,
5842 "defaultValue" : null,
5843 "regex" : null,
5844 "name" : "tabs_group",
5845 "htmlPlaceholder" : null,
5846 "htmlClass" : "center box",
5847 "htmlLabel" : null,
5848 "htmlRender" : "TAB"
5849 }
5850 ],
5851 "summaryFunctions" : {
5852 "validDependsOnUids" : null,
5853 "validDependsOnUidAttributes" : null,
5854 "validDependsOn" : null
5855 },
5856 "btnLabel" : "Invia",
5857 "name" : "Ricezione e verifica",
5858 "id" : "Task_017gu08"
5859 },
5860 "0bce730e-3da6-44bb-8617-1dcaf4e14693" : {
5861 "value" : [
5862 {
5863 "atInit" : null,
5864 "atClick" : null,
5865 "atValueChanged" : null,
5866 "helpMessage" : null,
5867 "errorMessage" : null,
5868 "insOrder" : 0,
5869 "subFields" : [
5870 {
5871 "atInit" : null,
5872 "atClick" : null,
5873 "atValueChanged" : null,
5874 "helpMessage" : null,
5875 "errorMessage" : null,
5876 "insOrder" : 0,
5877 "subFields" : [
5878 {
5879 "insOrder" : 0,
5880 "extraData" : {
5881 "textMaxLength" : 4000
5882 },
5883 "atInit" : null,
5884 "atClick" : null,
5885 "atValueChanged" : null,
5886 "visibleSectionsMandatory" : [ ],
5887 "visibleSections" : [ ],
5888 "helpMessage" : null,
5889 "errorMessage" : null,
5890 "subFields" : [ ],
5891 "visibleDependsOnUidAttributes" : null,
5892 "visibleDependsOnUids" : "nota_respingi_coprop",
5893 "visibleDependsOn" : "return (nota_respingi_coprop && nota_respingi_coprop.length)",
5894 "enumerationList" : [ ],
5895 "enableDependsOnUidAttributes" : null,
5896 "enabledDependsOnUids" : "nota_respingi_coprop",
5897 "enabledDependsOn" : "return false;",
5898 "validDependsOnUidAttributes" : null,
5899 "validDependsOnUids" : null,
5900 "validDependsOn" : null,
5901 "valueDependsOnUidAttributes" : null,
5902 "valueDependsOnUids" : null,
5903 "valueDependsOn" : null,
5904 "isInsertable" : true,
5905 "isRequired" : false,
5906 "allowedMimeTypes" : [ ],
5907 "maxDimension" : null,
5908 "defaultValue" : "${{nota_respingi_coprop}}",
5909 "regex" : null,
5910 "name" : "nota_respingi_coprop",
5911 "htmlPlaceholder" : null,
5912 "htmlClass" : null,
5913 "htmlLabel" : "Nota Respinta Proponente",
5914 "htmlRender" : "TEXTAREA"
5915 },
5916 {
5917 "insOrder" : 1,
5918 "extraData" : {
5919 "textMaxLength" : 4000
5920 },
5921 "atInit" : null,
5922 "atClick" : null,
5923 "atValueChanged" : null,
5924 "visibleSectionsMandatory" : null,
5925 "visibleSections" : [ ],
5926 "helpMessage" : null,
5927 "errorMessage" : null,
5928 "subFields" : [ ],
5929 "visibleDependsOnUidAttributes" : null,
5930 "visibleDependsOnUids" : null,
5931 "visibleDependsOn" : null,
5932 "enumerationList" : [ ],
5933 "enableDependsOnUidAttributes" : null,
5934 "enabledDependsOnUids" : null,
5935 "enabledDependsOn" : null,
5936 "validDependsOnUidAttributes" : null,
5937 "validDependsOnUids" : null,
5938 "validDependsOn" : null,
5939 "valueDependsOnUidAttributes" : null,
5940 "valueDependsOnUids" : null,
5941 "valueDependsOn" : null,
5942 "isInsertable" : true,
5943 "isRequired" : true,
5944 "allowedMimeTypes" : [ ],
5945 "maxDimension" : null,
5946 "defaultValue" : "${{oggetto_atto}}",
5947 "regex" : null,
5948 "name" : "oggetto_atto",
5949 "htmlPlaceholder" : null,
5950 "htmlClass" : null,
5951 "htmlLabel" : "Oggetto Atto",
5952 "htmlRender" : "TEXTAREA"
5953 },
5954 {
5955 "insOrder" : 2,
5956 "extraData" : {
5957 "plugins" : [
5958 {
5959 "toolbarItems" : "forecolor backcolor",
5960 "name" : "textcolor",
5961 "url" : "/myintranet/client/application/assets/tinymce/plugins/textcolor/plugin.min.js"
5962 },
5963 {
5964 "toolbarItems" : "bullist numlist",
5965 "name" : "lists",
5966 "url" : "/myintranet/client/application/assets/tinymce/plugins/lists/plugin.min.js"
5967 }
5968 ],
5969 "additional_features" : null,
5970 "skin_url" : "/myintranet/client/application/assets/tinymce/skins/lightgray",
5971 "language_url" : "/myintranet/client/application/assets/tinymce/langs/it.js"
5972 },
5973 "atInit" : null,
5974 "atClick" : null,
5975 "atValueChanged" : null,
5976 "visibleSectionsMandatory" : null,
5977 "visibleSections" : [ ],
5978 "helpMessage" : null,
5979 "errorMessage" : null,
5980 "subFields" : [ ],
5981 "visibleDependsOnUidAttributes" : null,
5982 "visibleDependsOnUids" : null,
5983 "visibleDependsOn" : null,
5984 "enumerationList" : [ ],
5985 "enableDependsOnUidAttributes" : null,
5986 "enabledDependsOnUids" : null,
5987 "enabledDependsOn" : null,
5988 "validDependsOnUidAttributes" : null,
5989 "validDependsOnUids" : null,
5990 "validDependsOn" : null,
5991 "valueDependsOnUidAttributes" : null,
5992 "valueDependsOnUids" : null,
5993 "valueDependsOn" : null,
5994 "isInsertable" : true,
5995 "isRequired" : true,
5996 "allowedMimeTypes" : [ ],
5997 "maxDimension" : null,
5998 "defaultValue" : "${{testo_atto}}",
5999 "regex" : null,
6000 "name" : "testo_atto",
6001 "htmlPlaceholder" : null,
6002 "htmlClass" : null,
6003 "htmlLabel" : "Testo Atto",
6004 "htmlRender" : "HTMLEDITOR"
6005 },
6006 {
6007 "insOrder" : 3,
6008 "atInit" : null,
6009 "atClick" : null,
6010 "atValueChanged" : null,
6011 "visibleSectionsMandatory" : null,
6012 "visibleSections" : [ ],
6013 "helpMessage" : null,
6014 "errorMessage" : null,
6015 "subFields" : [ ],
6016 "visibleDependsOnUidAttributes" : null,
6017 "visibleDependsOnUids" : null,
6018 "visibleDependsOn" : null,
6019 "enumerationList" : [
6020 {
6021 "value" : "Accetta proposta",
6022 "key" : "false"
6023 },
6024 {
6025 "value" : "Rifiuta proposta",
6026 "key" : "true"
6027 }
6028 ],
6029 "enableDependsOnUidAttributes" : null,
6030 "enabledDependsOnUids" : null,
6031 "enabledDependsOn" : null,
6032 "validDependsOnUidAttributes" : null,
6033 "validDependsOnUids" : null,
6034 "validDependsOn" : null,
6035 "valueDependsOnUidAttributes" : null,
6036 "valueDependsOnUids" : null,
6037 "valueDependsOn" : null,
6038 "isInsertable" : true,
6039 "isRequired" : false,
6040 "allowedMimeTypes" : [ ],
6041 "maxDimension" : null,
6042 "defaultValue" : "${{respingi_atto}}",
6043 "regex" : null,
6044 "name" : "respingi_atto",
6045 "htmlPlaceholder" : null,
6046 "htmlClass" : null,
6047 "htmlLabel" : "Respingi Atto",
6048 "htmlRender" : "RADIOBUTTONLIST"
6049 },
6050 {
6051 "insOrder" : 4,
6052 "extraData" : {
6053 "textMaxLength" : 4000
6054 },
6055 "atInit" : null,
6056 "atClick" : null,
6057 "atValueChanged" : null,
6058 "visibleSectionsMandatory" : [ ],
6059 "visibleSections" : [ ],
6060 "helpMessage" : null,
6061 "errorMessage" : null,
6062 "subFields" : [ ],
6063 "visibleDependsOnUidAttributes" : null,
6064 "visibleDependsOnUids" : null,
6065 "visibleDependsOn" : null,
6066 "enumerationList" : [ ],
6067 "enableDependsOnUidAttributes" : null,
6068 "enabledDependsOnUids" : null,
6069 "enabledDependsOn" : null,
6070 "validDependsOnUidAttributes" : null,
6071 "validDependsOnUids" : null,
6072 "validDependsOn" : null,
6073 "valueDependsOnUidAttributes" : null,
6074 "valueDependsOnUids" : null,
6075 "valueDependsOn" : null,
6076 "isInsertable" : true,
6077 "isRequired" : true,
6078 "allowedMimeTypes" : [ ],
6079 "maxDimension" : null,
6080 "defaultValue" : "${{nota_respingi}}",
6081 "regex" : null,
6082 "name" : "nota_respingi",
6083 "htmlPlaceholder" : null,
6084 "htmlClass" : null,
6085 "htmlLabel" : "Nota Respingi",
6086 "htmlRender" : "TEXTAREA"
6087 }
6088 ],
6089 "enumerationList" : [ ],
6090 "visibleDependsOnUidAttributes" : null,
6091 "visibleDependsOnUids" : null,
6092 "visibleDependsOn" : null,
6093 "enableDependsOnUidAttributes" : null,
6094 "enabledDependsOnUids" : null,
6095 "enabledDependsOn" : null,
6096 "validDependsOnUidAttributes" : null,
6097 "validDependsOnUids" : null,
6098 "validDependsOn" : null,
6099 "valueDependsOnUidAttributes" : null,
6100 "valueDependsOnUids" : null,
6101 "valueDependsOn" : null,
6102 "isInsertable" : true,
6103 "isRequired" : true,
6104 "defaultValue" : "Testo Atto",
6105 "regex" : null,
6106 "name" : "tab_0",
6107 "htmlPlaceholder" : null,
6108 "htmlClass" : "box",
6109 "htmlLabel" : "1",
6110 "htmlRender" : "MULTIFIELD"
6111 },
6112 {
6113 "atInit" : null,
6114 "atClick" : null,
6115 "atValueChanged" : null,
6116 "helpMessage" : null,
6117 "errorMessage" : null,
6118 "insOrder" : 1,
6119 "subFields" : [
6120 {
6121 "insOrder" : 0,
6122 "extraData" : {
6123 "documentsCategory" : "allegato",
6124 "generalSecretaryCode" : "C_DEMO::segreteria_segretario_generale"
6125 },
6126 "atInit" : null,
6127 "atClick" : null,
6128 "atValueChanged" : null,
6129 "visibleSectionsMandatory" : [
6130 "documentTitle"
6131 ],
6132 "visibleSections" : [
6133 "reservedDocument",
6134 "documentDescription",
6135 "documentTitle"
6136 ],
6137 "helpMessage" : null,
6138 "errorMessage" : null,
6139 "subFields" : [ ],
6140 "visibleDependsOnUidAttributes" : null,
6141 "visibleDependsOnUids" : null,
6142 "visibleDependsOn" : null,
6143 "enumerationList" : [ ],
6144 "enableDependsOnUidAttributes" : null,
6145 "enabledDependsOnUids" : null,
6146 "enabledDependsOn" : null,
6147 "validDependsOnUidAttributes" : null,
6148 "validDependsOnUids" : null,
6149 "validDependsOn" : null,
6150 "valueDependsOnUidAttributes" : null,
6151 "valueDependsOnUids" : null,
6152 "valueDependsOn" : null,
6153 "isInsertable" : true,
6154 "isRequired" : false,
6155 "allowedMimeTypes" : [
6156 "application/pdf",
6157 "application/pkcs7-mime"
6158 ],
6159 "maxDimension" : 1,
6160 "defaultValue" : "${{allegati_atto}}",
6161 "regex" : null,
6162 "name" : "allegati_atto",
6163 "htmlPlaceholder" : null,
6164 "htmlClass" : null,
6165 "htmlLabel" : "Allegati",
6166 "htmlRender" : "MULTIFILE_SIGNATURE"
6167 }
6168 ],
6169 "enumerationList" : [ ],
6170 "visibleDependsOnUidAttributes" : null,
6171 "visibleDependsOnUids" : null,
6172 "visibleDependsOn" : null,
6173 "enableDependsOnUidAttributes" : "valid",
6174 "enabledDependsOnUids" : "parent.tabs_group.tab_0",
6175 "enabledDependsOn" : "return (tab_0 === 'VALID' || tab_0 === 'DISABLED')",
6176 "validDependsOnUidAttributes" : null,
6177 "validDependsOnUids" : null,
6178 "validDependsOn" : null,
6179 "valueDependsOnUidAttributes" : null,
6180 "valueDependsOnUids" : null,
6181 "valueDependsOn" : null,
6182 "isInsertable" : true,
6183 "isRequired" : true,
6184 "defaultValue" : "Documenti",
6185 "regex" : null,
6186 "name" : "tab_1",
6187 "htmlPlaceholder" : null,
6188 "htmlClass" : "box",
6189 "htmlLabel" : "2",
6190 "htmlRender" : "MULTIFIELD"
6191 }
6192 ],
6193 "enumerationList" : [ ],
6194 "visibleDependsOnUidAttributes" : null,
6195 "visibleDependsOnUids" : null,
6196 "visibleDependsOn" : null,
6197 "enableDependsOnUidAttributes" : null,
6198 "enabledDependsOnUids" : null,
6199 "enabledDependsOn" : null,
6200 "validDependsOnUidAttributes" : null,
6201 "validDependsOnUids" : null,
6202 "validDependsOn" : null,
6203 "valueDependsOnUidAttributes" : null,
6204 "valueDependsOnUids" : null,
6205 "valueDependsOn" : null,
6206 "isInsertable" : true,
6207 "isRequired" : false,
6208 "defaultValue" : null,
6209 "regex" : null,
6210 "name" : "tabs_group",
6211 "htmlPlaceholder" : null,
6212 "htmlClass" : "center box",
6213 "htmlLabel" : null,
6214 "htmlRender" : "TAB"
6215 }
6216 ],
6217 "summaryFunctions" : {
6218 "validDependsOnUids" : null,
6219 "validDependsOnUidAttributes" : null,
6220 "validDependsOn" : null
6221 },
6222 "btnLabel" : "Invia",
6223 "name" : "Modifica Proposta",
6224 "id" : "Task_0og5it7"
6225 },
6226 "5c37a8b3-dce3-473f-b0d1-d0587e1e9485" : {
6227 "value" : [
6228 {
6229 "atInit" : null,
6230 "atClick" : null,
6231 "atValueChanged" : null,
6232 "helpMessage" : null,
6233 "errorMessage" : null,
6234 "insOrder" : 0,
6235 "subFields" : [
6236 {
6237 "atInit" : null,
6238 "atClick" : null,
6239 "atValueChanged" : null,
6240 "helpMessage" : null,
6241 "errorMessage" : null,
6242 "insOrder" : 0,
6243 "subFields" : [
6244 {
6245 "insOrder" : 0,
6246 "atInit" : null,
6247 "atClick" : null,
6248 "atValueChanged" : null,
6249 "visibleSectionsMandatory" : [ ],
6250 "visibleSections" : [ ],
6251 "helpMessage" : null,
6252 "errorMessage" : null,
6253 "subFields" : [ ],
6254 "visibleDependsOnUidAttributes" : null,
6255 "visibleDependsOnUids" : null,
6256 "visibleDependsOn" : null,
6257 "enumerationList" : [ ],
6258 "enableDependsOnUidAttributes" : null,
6259 "enabledDependsOnUids" : null,
6260 "enabledDependsOn" : null,
6261 "validDependsOnUidAttributes" : null,
6262 "validDependsOnUids" : null,
6263 "validDependsOn" : null,
6264 "valueDependsOnUidAttributes" : null,
6265 "valueDependsOnUids" : null,
6266 "valueDependsOn" : null,
6267 "isInsertable" : true,
6268 "isRequired" : false,
6269 "allowedMimeTypes" : [ ],
6270 "maxDimension" : null,
6271 "defaultValue" : "${{atto_riservato}}",
6272 "regex" : null,
6273 "name" : "atto_riservato",
6274 "htmlPlaceholder" : null,
6275 "htmlClass" : null,
6276 "htmlLabel" : "Atto riservato",
6277 "htmlRender" : "BOOLEAN"
6278 },
6279 {
6280 "insOrder" : 1,
6281 "extraData" : {
6282 "textMaxLength" : 4000
6283 },
6284 "atInit" : null,
6285 "atClick" : null,
6286 "atValueChanged" : null,
6287 "visibleSectionsMandatory" : null,
6288 "visibleSections" : [ ],
6289 "helpMessage" : null,
6290 "errorMessage" : null,
6291 "subFields" : [ ],
6292 "visibleDependsOnUidAttributes" : null,
6293 "visibleDependsOnUids" : null,
6294 "visibleDependsOn" : null,
6295 "enumerationList" : [ ],
6296 "enableDependsOnUidAttributes" : null,
6297 "enabledDependsOnUids" : null,
6298 "enabledDependsOn" : null,
6299 "validDependsOnUidAttributes" : null,
6300 "validDependsOnUids" : null,
6301 "validDependsOn" : null,
6302 "valueDependsOnUidAttributes" : null,
6303 "valueDependsOnUids" : null,
6304 "valueDependsOn" : null,
6305 "isInsertable" : true,
6306 "isRequired" : true,
6307 "allowedMimeTypes" : [ ],
6308 "maxDimension" : null,
6309 "defaultValue" : "${{oggetto_atto}}",
6310 "regex" : null,
6311 "name" : "oggetto_atto",
6312 "htmlPlaceholder" : null,
6313 "htmlClass" : null,
6314 "htmlLabel" : "oggetto atto",
6315 "htmlRender" : "TEXTAREA"
6316 },
6317 {
6318 "insOrder" : 2,
6319 "extraData" : {
6320 "plugins" : [
6321 {
6322 "toolbarItems" : "bullist numlist",
6323 "name" : "lists",
6324 "url" : "/myintranet/client/application/assets/tinymce/plugins/lists/plugin.min.js"
6325 },
6326 {
6327 "configurationItems" : {
6328 "paste_as_text" : true
6329 },
6330 "toolbarItems" : null,
6331 "name" : "paste",
6332 "url" : "/myintranet/client/application/assets/tinymce/plugins/paste/plugin.min.js"
6333 },
6334 {
6335 "toolbarItems" : "forecolor backcolor",
6336 "name" : "textcolor",
6337 "url" : "/myintranet/client/application/assets/tinymce/plugins/textcolor/plugin.min.js"
6338 }
6339 ],
6340 "skin_url" : "/myintranet/client/application/assets/tinymce/skins/lightgray",
6341 "language_url" : "/myintranet/client/application/assets/tinymce/langs/it.js"
6342 },
6343 "atInit" : null,
6344 "atClick" : null,
6345 "atValueChanged" : null,
6346 "visibleSectionsMandatory" : null,
6347 "visibleSections" : [ ],
6348 "helpMessage" : null,
6349 "errorMessage" : null,
6350 "subFields" : [ ],
6351 "visibleDependsOnUidAttributes" : null,
6352 "visibleDependsOnUids" : null,
6353 "visibleDependsOn" : null,
6354 "enumerationList" : [ ],
6355 "enableDependsOnUidAttributes" : null,
6356 "enabledDependsOnUids" : null,
6357 "enabledDependsOn" : null,
6358 "validDependsOnUidAttributes" : null,
6359 "validDependsOnUids" : null,
6360 "validDependsOn" : null,
6361 "valueDependsOnUidAttributes" : null,
6362 "valueDependsOnUids" : null,
6363 "valueDependsOn" : null,
6364 "isInsertable" : true,
6365 "isRequired" : true,
6366 "allowedMimeTypes" : [ ],
6367 "maxDimension" : null,
6368 "defaultValue" : "${{testo_atto}}",
6369 "regex" : null,
6370 "name" : "testo_atto",
6371 "htmlPlaceholder" : null,
6372 "htmlClass" : null,
6373 "htmlLabel" : "Testo ",
6374 "htmlRender" : "HTMLEDITOR"
6375 },
6376 {
6377 "insOrder" : 3,
6378 "atInit" : null,
6379 "atClick" : null,
6380 "atValueChanged" : null,
6381 "visibleSectionsMandatory" : [ ],
6382 "visibleSections" : [ ],
6383 "helpMessage" : null,
6384 "errorMessage" : null,
6385 "subFields" : [ ],
6386 "visibleDependsOnUidAttributes" : "value",
6387 "visibleDependsOnUids" : "nota_respingi",
6388 "visibleDependsOn" : "return (nota_respingi && nota_respingi.length)",
6389 "enumerationList" : [ ],
6390 "enableDependsOnUidAttributes" : "value",
6391 "enabledDependsOnUids" : "nota_respingi",
6392 "enabledDependsOn" : "return false;",
6393 "validDependsOnUidAttributes" : null,
6394 "validDependsOnUids" : null,
6395 "validDependsOn" : null,
6396 "valueDependsOnUidAttributes" : null,
6397 "valueDependsOnUids" : null,
6398 "valueDependsOn" : null,
6399 "isInsertable" : true,
6400 "isRequired" : false,
6401 "allowedMimeTypes" : [ ],
6402 "maxDimension" : null,
6403 "defaultValue" : "${{nota_respingi}}",
6404 "regex" : null,
6405 "name" : "nota_respingi",
6406 "htmlPlaceholder" : null,
6407 "htmlClass" : null,
6408 "htmlLabel" : "Nota Respingi",
6409 "htmlRender" : "TEXTAREA"
6410 }
6411 ],
6412 "enumerationList" : [ ],
6413 "visibleDependsOnUidAttributes" : null,
6414 "visibleDependsOnUids" : null,
6415 "visibleDependsOn" : null,
6416 "enableDependsOnUidAttributes" : null,
6417 "enabledDependsOnUids" : null,
6418 "enabledDependsOn" : null,
6419 "validDependsOnUidAttributes" : null,
6420 "validDependsOnUids" : null,
6421 "validDependsOn" : null,
6422 "valueDependsOnUidAttributes" : null,
6423 "valueDependsOnUids" : null,
6424 "valueDependsOn" : null,
6425 "isInsertable" : true,
6426 "isRequired" : true,
6427 "defaultValue" : "Testo Atto",
6428 "regex" : null,
6429 "name" : "tab_0",
6430 "htmlPlaceholder" : null,
6431 "htmlClass" : "box",
6432 "htmlLabel" : "1",
6433 "htmlRender" : "MULTIFIELD"
6434 },
6435 {
6436 "atInit" : null,
6437 "atClick" : null,
6438 "atValueChanged" : null,
6439 "helpMessage" : null,
6440 "errorMessage" : null,
6441 "insOrder" : 1,
6442 "subFields" : [
6443 {
6444 "insOrder" : 0,
6445 "extraData" : {
6446 "documentsCategory" : "allegato",
6447 "generalSecretaryCode" : "C_DEMO::segreteria_segretario_generale"
6448 },
6449 "atInit" : null,
6450 "atClick" : null,
6451 "atValueChanged" : null,
6452 "visibleSectionsMandatory" : [
6453 "documentTitle"
6454 ],
6455 "visibleSections" : [
6456 "reservedDocument",
6457 "documentDescription",
6458 "documentTitle"
6459 ],
6460 "helpMessage" : null,
6461 "errorMessage" : null,
6462 "subFields" : [ ],
6463 "visibleDependsOnUidAttributes" : null,
6464 "visibleDependsOnUids" : null,
6465 "visibleDependsOn" : null,
6466 "enumerationList" : [ ],
6467 "enableDependsOnUidAttributes" : null,
6468 "enabledDependsOnUids" : null,
6469 "enabledDependsOn" : null,
6470 "validDependsOnUidAttributes" : null,
6471 "validDependsOnUids" : null,
6472 "validDependsOn" : null,
6473 "valueDependsOnUidAttributes" : null,
6474 "valueDependsOnUids" : null,
6475 "valueDependsOn" : null,
6476 "isInsertable" : true,
6477 "isRequired" : false,
6478 "allowedMimeTypes" : [
6479 "application/pdf",
6480 "application/pkcs7-mime"
6481 ],
6482 "maxDimension" : 1,
6483 "defaultValue" : "${{allegati_atto}}",
6484 "regex" : null,
6485 "name" : "allegati_atto",
6486 "htmlPlaceholder" : null,
6487 "htmlClass" : null,
6488 "htmlLabel" : "Allegati",
6489 "htmlRender" : "MULTIFILE_SIGNATURE"
6490 }
6491 ],
6492 "enumerationList" : [ ],
6493 "visibleDependsOnUidAttributes" : null,
6494 "visibleDependsOnUids" : null,
6495 "visibleDependsOn" : null,
6496 "enableDependsOnUidAttributes" : "valid",
6497 "enabledDependsOnUids" : "parent.tabs_group.tab_0",
6498 "enabledDependsOn" : "return (tab_0 === 'VALID' || tab_0 === 'DISABLED')",
6499 "validDependsOnUidAttributes" : null,
6500 "validDependsOnUids" : null,
6501 "validDependsOn" : null,
6502 "valueDependsOnUidAttributes" : null,
6503 "valueDependsOnUids" : null,
6504 "valueDependsOn" : null,
6505 "isInsertable" : true,
6506 "isRequired" : true,
6507 "defaultValue" : "Documenti",
6508 "regex" : null,
6509 "name" : "tab_1",
6510 "htmlPlaceholder" : null,
6511 "htmlClass" : "box",
6512 "htmlLabel" : "2",
6513 "htmlRender" : "MULTIFIELD"
6514 }
6515 ],
6516 "enumerationList" : [ ],
6517 "visibleDependsOnUidAttributes" : null,
6518 "visibleDependsOnUids" : null,
6519 "visibleDependsOn" : null,
6520 "enableDependsOnUidAttributes" : null,
6521 "enabledDependsOnUids" : null,
6522 "enabledDependsOn" : null,
6523 "validDependsOnUidAttributes" : null,
6524 "validDependsOnUids" : null,
6525 "validDependsOn" : null,
6526 "valueDependsOnUidAttributes" : null,
6527 "valueDependsOnUids" : null,
6528 "valueDependsOn" : null,
6529 "isInsertable" : true,
6530 "isRequired" : false,
6531 "defaultValue" : null,
6532 "regex" : null,
6533 "name" : "tabs_group",
6534 "htmlPlaceholder" : null,
6535 "htmlClass" : "center box",
6536 "htmlLabel" : null,
6537 "htmlRender" : "TAB"
6538 }
6539 ],
6540 "summaryFunctions" : {
6541 "validDependsOn" : null,
6542 "validDependsOnUidAttributes" : null,
6543 "validDependsOnUids" : null
6544 },
6545 "btnLabel" : "Invia",
6546 "name" : "Scrittura Proposta",
6547 "id" : "Task_1etgvlk"
6548 },
6549 "159c0840-f1e6-4060-92c5-e70115b48581" : {
6550 "value" : [
6551 {
6552 "atInit" : null,
6553 "atClick" : null,
6554 "atValueChanged" : null,
6555 "helpMessage" : null,
6556 "errorMessage" : null,
6557 "insOrder" : 0,
6558 "subFields" : [
6559 {
6560 "atInit" : null,
6561 "atClick" : null,
6562 "atValueChanged" : null,
6563 "helpMessage" : null,
6564 "errorMessage" : null,
6565 "insOrder" : 0,
6566 "subFields" : [
6567 {
6568 "insOrder" : 0,
6569 "extraData" : {
6570 "textMaxLength" : 4000
6571 },
6572 "atInit" : null,
6573 "atClick" : null,
6574 "atValueChanged" : null,
6575 "visibleSectionsMandatory" : [ ],
6576 "visibleSections" : [ ],
6577 "helpMessage" : null,
6578 "errorMessage" : null,
6579 "subFields" : [ ],
6580 "visibleDependsOnUidAttributes" : null,
6581 "visibleDependsOnUids" : "nota_respingi_coprop",
6582 "visibleDependsOn" : "return (nota_respingi_coprop && nota_respingi_coprop.length)",
6583 "enumerationList" : [ ],
6584 "enableDependsOnUidAttributes" : null,
6585 "enabledDependsOnUids" : "nota_respingi_coprop",
6586 "enabledDependsOn" : "return false;",
6587 "validDependsOnUidAttributes" : null,
6588 "validDependsOnUids" : null,
6589 "validDependsOn" : null,
6590 "valueDependsOnUidAttributes" : null,
6591 "valueDependsOnUids" : null,
6592 "valueDependsOn" : null,
6593 "isInsertable" : true,
6594 "isRequired" : false,
6595 "allowedMimeTypes" : [ ],
6596 "maxDimension" : null,
6597 "defaultValue" : "${{nota_respingi_coprop}}",
6598 "regex" : null,
6599 "name" : "nota_respingi_coprop",
6600 "htmlPlaceholder" : null,
6601 "htmlClass" : null,
6602 "htmlLabel" : "Nota Respinta Proponente",
6603 "htmlRender" : "TEXTAREA"
6604 },
6605 {
6606 "insOrder" : 1,
6607 "extraData" : {
6608 "textMaxLength" : 4000
6609 },
6610 "atInit" : null,
6611 "atClick" : null,
6612 "atValueChanged" : null,
6613 "visibleSectionsMandatory" : [ ],
6614 "visibleSections" : [ ],
6615 "helpMessage" : null,
6616 "errorMessage" : null,
6617 "subFields" : [ ],
6618 "visibleDependsOnUidAttributes" : null,
6619 "visibleDependsOnUids" : null,
6620 "visibleDependsOn" : null,
6621 "enumerationList" : [ ],
6622 "enableDependsOnUidAttributes" : "value",
6623 "enabledDependsOnUids" : "oggetto_atto",
6624 "enabledDependsOn" : "return false;",
6625 "validDependsOnUidAttributes" : null,
6626 "validDependsOnUids" : null,
6627 "validDependsOn" : null,
6628 "valueDependsOnUidAttributes" : null,
6629 "valueDependsOnUids" : null,
6630 "valueDependsOn" : null,
6631 "isInsertable" : true,
6632 "isRequired" : false,
6633 "allowedMimeTypes" : [ ],
6634 "maxDimension" : null,
6635 "defaultValue" : "${{oggetto_atto}}",
6636 "regex" : null,
6637 "name" : "oggetto_atto",
6638 "htmlPlaceholder" : null,
6639 "htmlClass" : null,
6640 "htmlLabel" : "Oggetto",
6641 "htmlRender" : "TEXTAREA"
6642 },
6643 {
6644 "insOrder" : 2,
6645 "extraData" : {
6646 "plugins" : [
6647 {
6648 "toolbarItems" : "bullist numlist",
6649 "name" : "lists",
6650 "url" : "/myintranet/client/application/assets/tinymce/plugins/lists/plugin.min.js"
6651 },
6652 {
6653 "configurationItems" : {
6654 "paste_as_text" : true
6655 },
6656 "toolbarItems" : null,
6657 "name" : "paste",
6658 "url" : "/myintranet/client/application/assets/tinymce/plugins/paste/plugin.min.js"
6659 },
6660 {
6661 "toolbarItems" : "forecolor backcolor",
6662 "name" : "textcolor",
6663 "url" : "/myintranet/client/application/assets/tinymce/plugins/textcolor/plugin.min.js"
6664 }
6665 ],
6666 "additional_features" : null,
6667 "skin_url" : "/myintranet/client/application/assets/tinymce/skins/lightgray",
6668 "language_url" : "/myintranet/client/application/assets/tinymce/langs/it.js"
6669 },
6670 "atInit" : null,
6671 "atClick" : null,
6672 "atValueChanged" : null,
6673 "visibleSectionsMandatory" : [ ],
6674 "visibleSections" : [ ],
6675 "helpMessage" : null,
6676 "errorMessage" : null,
6677 "subFields" : [ ],
6678 "visibleDependsOnUidAttributes" : null,
6679 "visibleDependsOnUids" : null,
6680 "visibleDependsOn" : null,
6681 "enumerationList" : [ ],
6682 "enableDependsOnUidAttributes" : "value",
6683 "enabledDependsOnUids" : "testo_atto",
6684 "enabledDependsOn" : "return false;",
6685 "validDependsOnUidAttributes" : null,
6686 "validDependsOnUids" : null,
6687 "validDependsOn" : null,
6688 "valueDependsOnUidAttributes" : null,
6689 "valueDependsOnUids" : null,
6690 "valueDependsOn" : null,
6691 "isInsertable" : true,
6692 "isRequired" : false,
6693 "allowedMimeTypes" : [ ],
6694 "maxDimension" : null,
6695 "defaultValue" : "${{testo_atto}}",
6696 "regex" : null,
6697 "name" : "testo_atto",
6698 "htmlPlaceholder" : null,
6699 "htmlClass" : null,
6700 "htmlLabel" : "Testo Atto",
6701 "htmlRender" : "HTMLEDITOR"
6702 },
6703 {
6704 "insOrder" : 3,
6705 "atInit" : null,
6706 "atClick" : null,
6707 "atValueChanged" : null,
6708 "visibleSectionsMandatory" : null,
6709 "visibleSections" : [ ],
6710 "helpMessage" : null,
6711 "errorMessage" : null,
6712 "subFields" : [ ],
6713 "visibleDependsOnUidAttributes" : null,
6714 "visibleDependsOnUids" : null,
6715 "visibleDependsOn" : null,
6716 "enumerationList" : [
6717 {
6718 "value" : "Accetta proposta",
6719 "key" : "false"
6720 },
6721 {
6722 "value" : "Rifiuta proposta",
6723 "key" : "true"
6724 }
6725 ],
6726 "enableDependsOnUidAttributes" : null,
6727 "enabledDependsOnUids" : null,
6728 "enabledDependsOn" : null,
6729 "validDependsOnUidAttributes" : null,
6730 "validDependsOnUids" : null,
6731 "validDependsOn" : null,
6732 "valueDependsOnUidAttributes" : null,
6733 "valueDependsOnUids" : null,
6734 "valueDependsOn" : null,
6735 "isInsertable" : true,
6736 "isRequired" : false,
6737 "allowedMimeTypes" : [ ],
6738 "maxDimension" : null,
6739 "defaultValue" : "${{respingi_atto}}",
6740 "regex" : null,
6741 "name" : "respingi_atto",
6742 "htmlPlaceholder" : null,
6743 "htmlClass" : null,
6744 "htmlLabel" : "Respingi atto",
6745 "htmlRender" : "RADIOBUTTONLIST"
6746 },
6747 {
6748 "insOrder" : 4,
6749 "extraData" : {
6750 "textMaxLength" : 4000
6751 },
6752 "atInit" : null,
6753 "atClick" : null,
6754 "atValueChanged" : null,
6755 "visibleSectionsMandatory" : [ ],
6756 "visibleSections" : [ ],
6757 "helpMessage" : null,
6758 "errorMessage" : null,
6759 "subFields" : [ ],
6760 "visibleDependsOnUidAttributes" : null,
6761 "visibleDependsOnUids" : null,
6762 "visibleDependsOn" : null,
6763 "enumerationList" : [ ],
6764 "enableDependsOnUidAttributes" : null,
6765 "enabledDependsOnUids" : null,
6766 "enabledDependsOn" : null,
6767 "validDependsOnUidAttributes" : null,
6768 "validDependsOnUids" : null,
6769 "validDependsOn" : null,
6770 "valueDependsOnUidAttributes" : null,
6771 "valueDependsOnUids" : null,
6772 "valueDependsOn" : null,
6773 "isInsertable" : true,
6774 "isRequired" : true,
6775 "allowedMimeTypes" : [ ],
6776 "maxDimension" : null,
6777 "defaultValue" : "${{nota_respingi}}",
6778 "regex" : null,
6779 "name" : "nota_respingi",
6780 "htmlPlaceholder" : null,
6781 "htmlClass" : null,
6782 "htmlLabel" : "Nota Respingi",
6783 "htmlRender" : "TEXTAREA"
6784 }
6785 ],
6786 "enumerationList" : [ ],
6787 "visibleDependsOnUidAttributes" : null,
6788 "visibleDependsOnUids" : null,
6789 "visibleDependsOn" : null,
6790 "enableDependsOnUidAttributes" : null,
6791 "enabledDependsOnUids" : null,
6792 "enabledDependsOn" : null,
6793 "validDependsOnUidAttributes" : null,
6794 "validDependsOnUids" : null,
6795 "validDependsOn" : null,
6796 "valueDependsOnUidAttributes" : null,
6797 "valueDependsOnUids" : null,
6798 "valueDependsOn" : null,
6799 "isInsertable" : true,
6800 "isRequired" : true,
6801 "defaultValue" : "Atto",
6802 "regex" : null,
6803 "name" : "tab_0",
6804 "htmlPlaceholder" : null,
6805 "htmlClass" : "box",
6806 "htmlLabel" : "1",
6807 "htmlRender" : "MULTIFIELD"
6808 },
6809 {
6810 "atInit" : null,
6811 "atClick" : null,
6812 "atValueChanged" : null,
6813 "helpMessage" : null,
6814 "errorMessage" : null,
6815 "insOrder" : 1,
6816 "subFields" : [
6817 {
6818 "insOrder" : 0,
6819 "extraData" : {
6820 "documentsCategory" : "allegato",
6821 "generalSecretaryCode" : "C_DEMO::segreteria_segretario_generale"
6822 },
6823 "atInit" : null,
6824 "atClick" : null,
6825 "atValueChanged" : null,
6826 "visibleSectionsMandatory" : [
6827 "documentTitle"
6828 ],
6829 "visibleSections" : [
6830 "reservedDocument",
6831 "documentDescription",
6832 "documentTitle"
6833 ],
6834 "helpMessage" : null,
6835 "errorMessage" : null,
6836 "subFields" : [ ],
6837 "visibleDependsOnUidAttributes" : null,
6838 "visibleDependsOnUids" : null,
6839 "visibleDependsOn" : null,
6840 "enumerationList" : [ ],
6841 "enableDependsOnUidAttributes" : "value",
6842 "enabledDependsOnUids" : "allegati_atto",
6843 "enabledDependsOn" : "return false;",
6844 "validDependsOnUidAttributes" : null,
6845 "validDependsOnUids" : null,
6846 "validDependsOn" : null,
6847 "valueDependsOnUidAttributes" : null,
6848 "valueDependsOnUids" : null,
6849 "valueDependsOn" : null,
6850 "isInsertable" : true,
6851 "isRequired" : false,
6852 "allowedMimeTypes" : [
6853 "application/pdf",
6854 "application/pkcs7-mime"
6855 ],
6856 "maxDimension" : null,
6857 "defaultValue" : "${{allegati_atto}}",
6858 "regex" : null,
6859 "name" : "allegati_atto",
6860 "htmlPlaceholder" : null,
6861 "htmlClass" : null,
6862 "htmlLabel" : "Allegati",
6863 "htmlRender" : "MULTIFILE_SIGNATURE"
6864 }
6865 ],
6866 "enumerationList" : [ ],
6867 "visibleDependsOnUidAttributes" : null,
6868 "visibleDependsOnUids" : null,
6869 "visibleDependsOn" : null,
6870 "enableDependsOnUidAttributes" : "valid",
6871 "enabledDependsOnUids" : "parent.tabs_group.tab_0",
6872 "enabledDependsOn" : "return (tab_0 === 'VALID' || tab_0 === 'DISABLED')",
6873 "validDependsOnUidAttributes" : null,
6874 "validDependsOnUids" : null,
6875 "validDependsOn" : null,
6876 "valueDependsOnUidAttributes" : null,
6877 "valueDependsOnUids" : null,
6878 "valueDependsOn" : null,
6879 "isInsertable" : true,
6880 "isRequired" : true,
6881 "defaultValue" : "Documenti",
6882 "regex" : null,
6883 "name" : "tab_1",
6884 "htmlPlaceholder" : null,
6885 "htmlClass" : "box",
6886 "htmlLabel" : "2",
6887 "htmlRender" : "MULTIFIELD"
6888 }
6889 ],
6890 "enumerationList" : [ ],
6891 "visibleDependsOnUidAttributes" : null,
6892 "visibleDependsOnUids" : null,
6893 "visibleDependsOn" : null,
6894 "enableDependsOnUidAttributes" : null,
6895 "enabledDependsOnUids" : null,
6896 "enabledDependsOn" : null,
6897 "validDependsOnUidAttributes" : null,
6898 "validDependsOnUids" : null,
6899 "validDependsOn" : null,
6900 "valueDependsOnUidAttributes" : null,
6901 "valueDependsOnUids" : null,
6902 "valueDependsOn" : null,
6903 "isInsertable" : true,
6904 "isRequired" : false,
6905 "defaultValue" : null,
6906 "regex" : null,
6907 "name" : "tabs_group",
6908 "htmlPlaceholder" : null,
6909 "htmlClass" : "center box",
6910 "htmlLabel" : null,
6911 "htmlRender" : "TAB"
6912 }
6913 ],
6914 "summaryFunctions" : {
6915 "validDependsOn" : null,
6916 "validDependsOnUidAttributes" : null,
6917 "validDependsOnUids" : null
6918 },
6919 "btnLabel" : "Invia",
6920 "name" : "Modifica Proposta",
6921 "id" : "Task_0rfpy7n"
6922 }
6923 },
6924 "__v" : 0
6925}