<div class="page"> <div class="cover text-center"> <img class="mx-auto" src=/itb/images/logo_mislata.png alt="logo"> # Solució Exercici: Activitats - Devolució d'un paquet <div class="text-end fit-content ms-auto my-3 mt-auto pt-3"> <p><strong>Autor:</strong> Joan Puigcerver Ibáñez</p> <p><strong>Correu electrònic:</strong> j.puigcerveribanez@edu.gva.es</p> <p><strong>Curs:</strong> 2024/2025</p> </div> <div> <p>Aquest material és una obra derivada a partir del material de: <strong>Sergio Badal</strong></p> <p class="fw-bold mb-0">Llicència: BY-NC-SA</p> <p class="d-none d-md-block">(Reconeixement - No Comercial - Compartir Igual)</p> <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.ca" target="_blank"> <img class="mx-auto" src="/itb/images/license.png" alt="Licence"/> </a> </div><!--license--> </div><!--cover--> </div><!--page--> {:toc} ## Diagrama d'activitat devolució Realitza un diagrama d'activitats UML que mostre el procés de devolució d'un article per part d'un client. 1. El client inicia la devolució. 2. El departament de ventes s'encarrega de tramitar i d'assignar-li un número de devolució. 3. Amb aquest codi, el client ha de preparar el paquet per ser recollit per l'empresa. 4. Els repartidors s'encarreguen d'arreplegar el paquet i portar-lo al magatzem. 5. En el magatzem s'encarregen de rebre la devolució. 6. En aquest moment, el magatzem s'encarrega de revisar si l'article està defectuós. 7. Si l'article està defectuós, s'informa al departament de ventes perquè informe al client, que no rebrà la devolució. 8. Si l'article està no defectuós, s'informa al departament de comptabilitat perquè efectúe la devolució dels diners. 9. Al mateix temps que s'efectua la devolució, el departament de ventes informa al client que la devolució s'ha tramitat correctament. ::: note Cal utilitzar particions/_swimlanes_/corridors per cada responsable/actor. ::: ## Solució ::: solution <div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="{&quot;highlight&quot;:&quot;#0000ff&quot;,&quot;nav&quot;:true,&quot;resize&quot;:true,&quot;toolbar&quot;:&quot;zoom layers tags lightbox&quot;,&quot;edit&quot;:&quot;_blank&quot;,&quot;xml&quot;:&quot;&lt;mxfile host=\&quot;app.diagrams.net\&quot; modified=\&quot;2024-04-22T09:37:15.979Z\&quot; agent=\&quot;Mozilla&#x2F;5.0 (X11; Linux x86_64) AppleWebKit&#x2F;537.36 (KHTML, like Gecko) Chrome&#x2F;123.0.0.0 Safari&#x2F;537.36\&quot; etag=\&quot;BeL4rZbuMwFznLmpyyeh\&quot; version=\&quot;24.2.7\&quot; type=\&quot;google\&quot;&gt;\n &lt;diagram id=\&quot;vyUdk_6P1xztl2v8bfRQ\&quot; name=\&quot;Pàgina-1\&quot;&gt;\n &lt;mxGraphModel dx=\&quot;2074\&quot; dy=\&quot;1114\&quot; grid=\&quot;1\&quot; gridSize=\&quot;10\&quot; guides=\&quot;1\&quot; tooltips=\&quot;1\&quot; connect=\&quot;1\&quot; arrows=\&quot;1\&quot; fold=\&quot;1\&quot; page=\&quot;1\&quot; pageScale=\&quot;1\&quot; pageWidth=\&quot;827\&quot; pageHeight=\&quot;1169\&quot; math=\&quot;0\&quot; shadow=\&quot;0\&quot;&gt;\n &lt;root&gt;\n &lt;mxCell id=\&quot;0\&quot; &#x2F;&gt;\n &lt;mxCell id=\&quot;1\&quot; style=\&quot;locked=1;\&quot; parent=\&quot;0\&quot; &#x2F;&gt;\n &lt;mxCell id=\&quot;-xwr5_9uCHrtDJg88Gru-2\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;1\&quot; source=\&quot;-xwr5_9uCHrtDJg88Gru-1\&quot; target=\&quot;-xwr5_9uCHrtDJg88Gru-3\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;175\&quot; y=\&quot;120\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;-xwr5_9uCHrtDJg88Gru-49\&quot; value=\&quot;Client\&quot; style=\&quot;swimlane;whiteSpace=wrap;html=1;\&quot; parent=\&quot;1\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;80\&quot; y=\&quot;20\&quot; width=\&quot;240\&quot; height=\&quot;980\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;-xwr5_9uCHrtDJg88Gru-50\&quot; value=\&quot;Departament de ventes\&quot; style=\&quot;swimlane;whiteSpace=wrap;html=1;\&quot; parent=\&quot;1\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;320\&quot; y=\&quot;20\&quot; width=\&quot;240\&quot; height=\&quot;980\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-1\&quot; value=\&quot;Logística\&quot; style=\&quot;swimlane;whiteSpace=wrap;html=1;\&quot; parent=\&quot;1\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;560\&quot; y=\&quot;20\&quot; width=\&quot;240\&quot; height=\&quot;980\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-2\&quot; value=\&quot;Magatzem\&quot; style=\&quot;swimlane;whiteSpace=wrap;html=1;\&quot; parent=\&quot;1\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;800\&quot; y=\&quot;20\&quot; width=\&quot;240\&quot; height=\&quot;980\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-23\&quot; value=\&quot;Comptabilitat\&quot; style=\&quot;swimlane;whiteSpace=wrap;html=1;\&quot; parent=\&quot;1\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;1040\&quot; y=\&quot;20\&quot; width=\&quot;240\&quot; height=\&quot;980\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; value=\&quot;Items\&quot; style=\&quot;locked=1;\&quot; parent=\&quot;0\&quot; &#x2F;&gt;\n &lt;mxCell id=\&quot;-xwr5_9uCHrtDJg88Gru-3\&quot; value=\&quot;Inicia la devolució\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;140\&quot; y=\&quot;120\&quot; width=\&quot;120\&quot; height=\&quot;40\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;-xwr5_9uCHrtDJg88Gru-1\&quot; value=\&quot;\&quot; style=\&quot;ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;185\&quot; y=\&quot;60\&quot; width=\&quot;30\&quot; height=\&quot;30\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;-xwr5_9uCHrtDJg88Gru-4\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;-xwr5_9uCHrtDJg88Gru-3\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-18\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;200\&quot; y=\&quot;225\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-18\&quot; value=\&quot;Generar número de devolució\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;380\&quot; y=\&quot;180\&quot; width=\&quot;120\&quot; height=\&quot;40\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-19\&quot; value=\&quot;Preparar paquet amb el número de devolució\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;140\&quot; y=\&quot;240\&quot; width=\&quot;120\&quot; height=\&quot;60\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-21\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-18\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-19\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;470\&quot; y=\&quot;190\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;270\&quot; y=\&quot;150\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-22\&quot; value=\&quot;Arreplegar el paquet\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;620\&quot; y=\&quot;320\&quot; width=\&quot;120\&quot; height=\&quot;40\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-24\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-19\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-22\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;210\&quot; y=\&quot;250\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;410\&quot; y=\&quot;210\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-25\&quot; value=\&quot;Rebre devolució\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;860\&quot; y=\&quot;380\&quot; width=\&quot;120\&quot; height=\&quot;40\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-26\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-22\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-25\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;690\&quot; y=\&quot;330\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;270\&quot; y=\&quot;280\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-27\&quot; value=\&quot;Comprovar si l&amp;#39;article està defectuós\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;860\&quot; y=\&quot;460\&quot; width=\&quot;120\&quot; height=\&quot;40\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-28\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-25\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-27\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;940\&quot; y=\&quot;390\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;750\&quot; y=\&quot;350\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-29\&quot; value=\&quot;Està defectuós?\&quot; style=\&quot;rhombus;whiteSpace=wrap;html=1;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;860\&quot; y=\&quot;544.5\&quot; width=\&quot;120\&quot; height=\&quot;35.5\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-30\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-27\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-29\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;930\&quot; y=\&quot;470\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;930\&quot; y=\&quot;430\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-31\&quot; value=\&quot;Informar al client que no es tramita la devolució\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;380\&quot; y=\&quot;600\&quot; width=\&quot;120\&quot; height=\&quot;60\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-32\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-29\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-31\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;930\&quot; y=\&quot;470\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;930\&quot; y=\&quot;430\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-33\&quot; value=\&quot;Sí\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;827\&quot; y=\&quot;530\&quot; width=\&quot;30\&quot; height=\&quot;30\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-34\&quot; value=\&quot;Informar al client que s&amp;#39;ha tramitat la devolució\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;380\&quot; y=\&quot;820\&quot; width=\&quot;120\&quot; height=\&quot;60\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-11\&quot; value=\&quot;\&quot; style=\&quot;shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;align=center;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;360\&quot; y=\&quot;770\&quot; width=\&quot;881\&quot; height=\&quot;10\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-35\&quot; value=\&quot;\&quot; style=\&quot;ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;425\&quot; y=\&quot;710\&quot; width=\&quot;30\&quot; height=\&quot;30\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-36\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-31\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-35\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;930\&quot; y=\&quot;470\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;930\&quot; y=\&quot;430\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-37\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;exitX=0.091;exitY=0.444;exitDx=0;exitDy=0;exitPerimeter=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-11\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-34\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;1510\&quot; y=\&quot;860\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;440\&quot; y=\&quot;775\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-38\&quot; value=\&quot;Efectuar la devolució dels diners\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;1100\&quot; y=\&quot;830\&quot; width=\&quot;120\&quot; height=\&quot;40\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-39\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;exitX=0.908;exitY=0.7;exitDx=0;exitDy=0;exitPerimeter=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-11\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-38\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;450\&quot; y=\&quot;845\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;450\&quot; y=\&quot;785\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-40\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-29\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;920\&quot; y=\&quot;770\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;1510\&quot; y=\&quot;770\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-41\&quot; value=\&quot;\&quot; style=\&quot;shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;align=center;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;360\&quot; y=\&quot;920\&quot; width=\&quot;881\&quot; height=\&quot;10\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-42\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=0.091;entryY=0.1;entryDx=0;entryDy=0;entryPerimeter=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-34\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-41\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;450\&quot; y=\&quot;830\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;450\&quot; y=\&quot;785\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-43\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=0.908;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-38\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-41\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;1170\&quot; y=\&quot;840\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;1170\&quot; y=\&quot;787\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-44\&quot; value=\&quot;\&quot; style=\&quot;ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;1145\&quot; y=\&quot;960\&quot; width=\&quot;30\&quot; height=\&quot;30\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-45\&quot; value=\&quot;\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;exitX=0.908;exitY=0.327;exitDx=0;exitDy=0;exitPerimeter=0;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; source=\&quot;OXgZj8dH1UbGBrzm37Fv-41\&quot; target=\&quot;OXgZj8dH1UbGBrzm37Fv-44\&quot; edge=\&quot;1\&quot;&gt;\n &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n &lt;mxPoint x=\&quot;450\&quot; y=\&quot;720\&quot; as=\&quot;targetPoint\&quot; &#x2F;&gt;\n &lt;mxPoint x=\&quot;450\&quot; y=\&quot;670\&quot; as=\&quot;sourcePoint\&quot; &#x2F;&gt;\n &lt;&#x2F;mxGeometry&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;mxCell id=\&quot;OXgZj8dH1UbGBrzm37Fv-47\&quot; value=\&quot;No\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;\&quot; parent=\&quot;OXgZj8dH1UbGBrzm37Fv-10\&quot; vertex=\&quot;1\&quot;&gt;\n &lt;mxGeometry x=\&quot;925\&quot; y=\&quot;585\&quot; width=\&quot;40\&quot; height=\&quot;30\&quot; as=\&quot;geometry\&quot; &#x2F;&gt;\n &lt;&#x2F;mxCell&gt;\n &lt;&#x2F;root&gt;\n &lt;&#x2F;mxGraphModel&gt;\n &lt;&#x2F;diagram&gt;\n&lt;&#x2F;mxfile&gt;\n\n&quot;}"></div><script type="text/javascript" src="https://viewer.diagrams.net/js/viewer-static.min.js"></script> <figcaption>Figura 1: Diagrama d'activitat d'una devolució</figcaption> :::