Show pageOld revisionsBacklinksCopy this pageBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Model work by activity ====== {{tag>task}} A work to be performed in a course of a process must be modelled by the activity - task (atomic activity) or subprocess (complex activity). ===== ✔ How to ===== <bpmnio type="bpmn"> <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> <process id="Process_0kle9bs"> <startEvent id="Event_1d8q7y4"> <outgoing>Flow_00dyxwu</outgoing> </startEvent> <task id="Activity_12wlfbh" name="Evaluate feasibility"> <incoming>Flow_00dyxwu</incoming> <outgoing>Flow_0orl8lf</outgoing> </task> <sequenceFlow id="Flow_00dyxwu" sourceRef="Event_1d8q7y4" targetRef="Activity_12wlfbh" /> <exclusiveGateway id="Gateway_09y4b7d" name="OK?"> <incoming>Flow_0orl8lf</incoming> <outgoing>Flow_0e4r95e</outgoing> <outgoing>Flow_0yyyfsy</outgoing> </exclusiveGateway> <sequenceFlow id="Flow_0orl8lf" sourceRef="Activity_12wlfbh" targetRef="Gateway_09y4b7d" /> <endEvent id="Event_07l1w93" name="Idea rejected"> <incoming>Flow_0e4r95e</incoming> </endEvent> <sequenceFlow id="Flow_0e4r95e" name="no" sourceRef="Gateway_09y4b7d" targetRef="Event_07l1w93" /> <task id="Activity_10ahzvo" name="Create design"> <incoming>Flow_0yyyfsy</incoming> <outgoing>Flow_0bewkdb</outgoing> </task> <sequenceFlow id="Flow_0yyyfsy" name="yes" sourceRef="Gateway_09y4b7d" targetRef="Activity_10ahzvo" /> <endEvent id="Event_068y4mr" name="OK"> <incoming>Flow_0bewkdb</incoming> </endEvent> <sequenceFlow id="Flow_0bewkdb" sourceRef="Activity_10ahzvo" targetRef="Event_068y4mr" /> </process> <bpmndi:BPMNDiagram id="BpmnDiagram_1"> <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0kle9bs"> <bpmndi:BPMNShape id="Event_1d8q7y4_di" bpmnElement="Event_1d8q7y4"> <omgdc:Bounds x="192" y="102" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_12wlfbh_di" bpmnElement="Activity_12wlfbh"> <omgdc:Bounds x="270" y="80" width="100" height="80" /> <bpmndi:BPMNLabel /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Gateway_09y4b7d_di" bpmnElement="Gateway_09y4b7d" isMarkerVisible="true"> <omgdc:Bounds x="415" y="95" width="50" height="50" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="428" y="71" width="23" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_07l1w93_di" bpmnElement="Event_07l1w93"> <omgdc:Bounds x="422" y="202" width="36" height="36" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="408" y="245" width="64" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_10ahzvo_di" bpmnElement="Activity_10ahzvo"> <omgdc:Bounds x="530" y="80" width="100" height="80" /> <bpmndi:BPMNLabel /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_068y4mr_di" bpmnElement="Event_068y4mr"> <omgdc:Bounds x="672" y="102" width="36" height="36" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="682" y="145" width="17" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="Flow_00dyxwu_di" bpmnElement="Flow_00dyxwu"> <omgdi:waypoint x="228" y="120" /> <omgdi:waypoint x="270" y="120" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0orl8lf_di" bpmnElement="Flow_0orl8lf"> <omgdi:waypoint x="370" y="120" /> <omgdi:waypoint x="415" y="120" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0e4r95e_di" bpmnElement="Flow_0e4r95e"> <omgdi:waypoint x="440" y="145" /> <omgdi:waypoint x="440" y="202" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="449" y="171" width="13" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0yyyfsy_di" bpmnElement="Flow_0yyyfsy"> <omgdi:waypoint x="465" y="120" /> <omgdi:waypoint x="530" y="120" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="489" y="102" width="17" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0bewkdb_di" bpmnElement="Flow_0bewkdb"> <omgdi:waypoint x="630" y="120" /> <omgdi:waypoint x="672" y="120" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions> </bpmnio> ===== ✘ How NOT to ===== <bpmnio type="bpmn"> <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> <process id="Process_0kle9bs"> <startEvent id="Event_1d8q7y4"> <outgoing>Flow_00dyxwu</outgoing> </startEvent> <sequenceFlow id="Flow_00dyxwu" sourceRef="Event_1d8q7y4" targetRef="Gateway_09y4b7d" /> <exclusiveGateway id="Gateway_09y4b7d" name="Evaluate feasibility"> <incoming>Flow_00dyxwu</incoming> <outgoing>Flow_0e4r95e</outgoing> <outgoing>Flow_0yyyfsy</outgoing> </exclusiveGateway> <endEvent id="Event_07l1w93" name="Idea rejected"> <incoming>Flow_0e4r95e</incoming> </endEvent> <sequenceFlow id="Flow_0e4r95e" name="unfeasible" sourceRef="Gateway_09y4b7d" targetRef="Event_07l1w93" /> <task id="Activity_10ahzvo" name="Create design"> <incoming>Flow_0yyyfsy</incoming> <outgoing>Flow_0bewkdb</outgoing> </task> <sequenceFlow id="Flow_0yyyfsy" name="feasible" sourceRef="Gateway_09y4b7d" targetRef="Activity_10ahzvo" /> <endEvent id="Event_068y4mr" name="OK"> <incoming>Flow_0bewkdb</incoming> </endEvent> <sequenceFlow id="Flow_0bewkdb" sourceRef="Activity_10ahzvo" targetRef="Event_068y4mr" /> </process> <bpmndi:BPMNDiagram id="BpmnDiagram_1"> <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0kle9bs"> <bpmndi:BPMNShape id="Event_1d8q7y4_di" bpmnElement="Event_1d8q7y4"> <omgdc:Bounds x="322" y="102" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Gateway_09y4b7d_di" bpmnElement="Gateway_09y4b7d" isMarkerVisible="true"> <omgdc:Bounds x="415" y="95" width="50" height="50" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="417" y="66" width="45" height="27" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_07l1w93_di" bpmnElement="Event_07l1w93"> <omgdc:Bounds x="422" y="202" width="36" height="36" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="408" y="245" width="64" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_10ahzvo_di" bpmnElement="Activity_10ahzvo"> <omgdc:Bounds x="530" y="80" width="100" height="80" /> <bpmndi:BPMNLabel /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_068y4mr_di" bpmnElement="Event_068y4mr"> <omgdc:Bounds x="672" y="102" width="36" height="36" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="682" y="145" width="17" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="Flow_00dyxwu_di" bpmnElement="Flow_00dyxwu"> <omgdi:waypoint x="358" y="120" /> <omgdi:waypoint x="415" y="120" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0e4r95e_di" bpmnElement="Flow_0e4r95e"> <omgdi:waypoint x="440" y="145" /> <omgdi:waypoint x="440" y="202" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="444" y="171" width="51" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0yyyfsy_di" bpmnElement="Flow_0yyyfsy"> <omgdi:waypoint x="465" y="120" /> <omgdi:waypoint x="530" y="120" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="479" y="102" width="37" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0bewkdb_di" bpmnElement="Flow_0bewkdb"> <omgdi:waypoint x="630" y="120" /> <omgdi:waypoint x="672" y="120" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions> </bpmnio> <bpmnio type="bpmn"> <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> <process id="Process_0kle9bs"> <startEvent id="Event_1d8q7y4"> <outgoing>Flow_00dyxwu</outgoing> </startEvent> <task id="Activity_12wlfbh" name="Evaluate feasibility"> <incoming>Flow_00dyxwu</incoming> <outgoing>Flow_0orl8lf</outgoing> </task> <sequenceFlow id="Flow_00dyxwu" sourceRef="Event_1d8q7y4" targetRef="Activity_12wlfbh" /> <exclusiveGateway id="Gateway_09y4b7d" name="OK?"> <incoming>Flow_0orl8lf</incoming> <outgoing>Flow_0e4r95e</outgoing> <outgoing>Flow_0yyyfsy</outgoing> </exclusiveGateway> <sequenceFlow id="Flow_0orl8lf" sourceRef="Activity_12wlfbh" targetRef="Gateway_09y4b7d" /> <sequenceFlow id="Flow_0e4r95e" name="no" sourceRef="Gateway_09y4b7d" targetRef="Event_07l1w93" /> <task id="Activity_10ahzvo" name="Create design"> <incoming>Flow_0yyyfsy</incoming> <outgoing>Flow_0bewkdb</outgoing> </task> <sequenceFlow id="Flow_0yyyfsy" name="yes" sourceRef="Gateway_09y4b7d" targetRef="Activity_10ahzvo" /> <endEvent id="Event_068y4mr" name="OK"> <incoming>Flow_0bewkdb</incoming> </endEvent> <sequenceFlow id="Flow_0bewkdb" sourceRef="Activity_10ahzvo" targetRef="Event_068y4mr" /> <endEvent id="Event_07l1w93" name="Notify about rejection"> <incoming>Flow_0e4r95e</incoming> <messageEventDefinition id="MessageEventDefinition_0x7cdjr" /> </endEvent> </process> <bpmndi:BPMNDiagram id="BpmnDiagram_1"> <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0kle9bs"> <bpmndi:BPMNShape id="Event_1d8q7y4_di" bpmnElement="Event_1d8q7y4"> <omgdc:Bounds x="192" y="102" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_12wlfbh_di" bpmnElement="Activity_12wlfbh"> <omgdc:Bounds x="270" y="80" width="100" height="80" /> <bpmndi:BPMNLabel /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Gateway_09y4b7d_di" bpmnElement="Gateway_09y4b7d" isMarkerVisible="true"> <omgdc:Bounds x="415" y="95" width="50" height="50" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="428" y="71" width="23" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_10ahzvo_di" bpmnElement="Activity_10ahzvo"> <omgdc:Bounds x="530" y="80" width="100" height="80" /> <bpmndi:BPMNLabel /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_068y4mr_di" bpmnElement="Event_068y4mr"> <omgdc:Bounds x="672" y="102" width="36" height="36" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="682" y="145" width="17" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_0uwmshi_di" bpmnElement="Event_07l1w93"> <omgdc:Bounds x="422" y="202" width="36" height="36" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="410" y="245" width="60" height="27" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="Flow_00dyxwu_di" bpmnElement="Flow_00dyxwu"> <omgdi:waypoint x="228" y="120" /> <omgdi:waypoint x="270" y="120" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0orl8lf_di" bpmnElement="Flow_0orl8lf"> <omgdi:waypoint x="370" y="120" /> <omgdi:waypoint x="415" y="120" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0e4r95e_di" bpmnElement="Flow_0e4r95e"> <omgdi:waypoint x="440" y="145" /> <omgdi:waypoint x="440" y="202" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="449" y="171" width="13" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0yyyfsy_di" bpmnElement="Flow_0yyyfsy"> <omgdi:waypoint x="465" y="120" /> <omgdi:waypoint x="530" y="120" /> <bpmndi:BPMNLabel> <omgdc:Bounds x="489" y="102" width="17" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0bewkdb_di" bpmnElement="Flow_0bewkdb"> <omgdi:waypoint x="630" y="120" /> <omgdi:waypoint x="672" y="120" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions> </bpmnio> ===== Notes ===== * Work is depicted by a rounded box, not a circle neither a diamond shape. * A making a decision is counted as a job, too. ===== See also ===== * [[en:rule:human_decision]] ===== Author(s) ===== --- //[[user:bell|Anatoly Belaychuk]] 2024-01-13 12:07// Last modified: 2024-08-22 20:10(external edit)