Stand fertig
This commit is contained in:
parent
43de60c55f
commit
61a69c717d
19 changed files with 63 additions and 76 deletions
|
@ -0,0 +1,14 @@
|
|||
package com.bpmn.Rechnungseingang;
|
||||
|
||||
import org.camunda.bpm.engine.delegate.DelegateExecution;
|
||||
import org.camunda.bpm.engine.delegate.JavaDelegate;
|
||||
|
||||
public class ArchivierungAusfuehren implements JavaDelegate {
|
||||
|
||||
@Override
|
||||
public void execute(DelegateExecution execution) throws Exception {
|
||||
System.out.println("Archivierung ausgefuehrt");
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -84,7 +84,7 @@
|
|||
</bpmn:userTask>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1at71qu" name="Lieferschein (digital)" dataObjectRef="DataObject_1lefyt0" />
|
||||
<bpmn:dataObject id="DataObject_1lefyt0" />
|
||||
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel & Rechnngsdaten festsetzen">
|
||||
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel & Rechnungsdaten festsetzen">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_long_HoeheRechnungssumme" label="Rechnungssumme eingeben" type="long" />
|
||||
|
@ -124,11 +124,6 @@
|
|||
<bpmn:outgoing>Flow_1wh7ll1</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:userTask id="Activity_0pq4lxv" name="Rechnung formal prüfen" camunda:formKey="embedded:app:forms/Formalpruefen.html">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_bool_Formalpruefen" label="Rechnung formal richtig" type="boolean" />
|
||||
</camunda:formData>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_11zwlrd</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1dqx4w4</bpmn:outgoing>
|
||||
<bpmn:property id="Property_16649me" name="__targetRef_placeholder" />
|
||||
|
@ -169,11 +164,6 @@
|
|||
<bpmn:outgoing>Flow_1mj7tm1</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:userTask id="Activity_1nxd2jr" name="Vorgang prüfen" camunda:formKey="embedded:app:forms/Vorgangpruefen.html">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_bool_Vorgangpruefen" type="boolean" />
|
||||
</camunda:formData>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1sjj2gm</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0ivc5ab</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
@ -286,16 +276,16 @@
|
|||
</bpmn:endEvent>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_08ly05s" name="Rechnung (digital)" dataObjectRef="DataObject_0wb1tk1" />
|
||||
<bpmn:dataObject id="DataObject_0wb1tk1" />
|
||||
<bpmn:userTask id="Activity_1x7zph6" name="Rechnung archivieren">
|
||||
<bpmn:sequenceFlow id="Flow_0vok3bx" sourceRef="Activity_1x7zph6" targetRef="Event_1czv0yh" />
|
||||
<bpmn:serviceTask id="Activity_1x7zph6" name="Rechnung archivieren" camunda:class="com.bpmn.Rechnungseingang.ArchivierungAusfuehren">
|
||||
<bpmn:incoming>Flow_1qtw2q6</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0vok3bx</bpmn:outgoing>
|
||||
<bpmn:property id="Property_1lqg73b" name="__targetRef_placeholder" />
|
||||
<bpmn:property id="Property_0hp63d7" name="__targetRef_placeholder" />
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_1jxd3k4">
|
||||
<bpmn:sourceRef>DataObjectReference_08ly05s</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_1lqg73b</bpmn:targetRef>
|
||||
<bpmn:targetRef>Property_0hp63d7</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_0vok3bx" sourceRef="Activity_1x7zph6" targetRef="Event_1czv0yh" />
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:textAnnotation id="TextAnnotation_1d5xbhp">
|
||||
<bpmn:text>Nachricht an den Einkauf</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
|
@ -688,7 +678,7 @@ eingegangen</bpmn:text>
|
|||
<dc:Bounds x="1946" y="1246" width="90" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0v49yid_di" bpmnElement="Activity_1x7zph6">
|
||||
<bpmndi:BPMNShape id="Activity_13zwumu_di" bpmnElement="Activity_1x7zph6">
|
||||
<dc:Bounds x="1865" y="1083" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Association_1nzy89w_di" bpmnElement="Association_1nzy89w">
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<form>
|
||||
<label>Eingescannten Lieferschein hochladen:</label></br>
|
||||
<input type="file"
|
||||
cam-variable-name="Lieferschein"
|
||||
cam-variable-type="File"
|
||||
cam-max-filesize="10000000" />
|
||||
</form>
|
|
@ -1,7 +1,4 @@
|
|||
<form>
|
||||
<script src="angular.min.js" type="text/javascript"></script>
|
||||
<script src="camunda-bpm-sdk-angular.js" type="text/javascript"></script>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Rechnung stimmt mit Lieferschein überein?</label>
|
||||
|
||||
|
|
|
@ -12,4 +12,6 @@
|
|||
cam-variable-type="date"
|
||||
class="form-control" />
|
||||
</div>
|
||||
|
||||
<a cam-file-download="Eingangsrechnung"></a>
|
||||
</form>
|
||||
|
|
Binary file not shown.
|
@ -84,7 +84,7 @@
|
|||
</bpmn:userTask>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1at71qu" name="Lieferschein (digital)" dataObjectRef="DataObject_1lefyt0" />
|
||||
<bpmn:dataObject id="DataObject_1lefyt0" />
|
||||
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel & Rechnngsdaten festsetzen">
|
||||
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel & Rechnungsdaten festsetzen">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_long_HoeheRechnungssumme" label="Rechnungssumme eingeben" type="long" />
|
||||
|
@ -124,11 +124,6 @@
|
|||
<bpmn:outgoing>Flow_1wh7ll1</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:userTask id="Activity_0pq4lxv" name="Rechnung formal prüfen" camunda:formKey="embedded:app:forms/Formalpruefen.html">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_bool_Formalpruefen" label="Rechnung formal richtig" type="boolean" />
|
||||
</camunda:formData>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_11zwlrd</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1dqx4w4</bpmn:outgoing>
|
||||
<bpmn:property id="Property_16649me" name="__targetRef_placeholder" />
|
||||
|
@ -169,11 +164,6 @@
|
|||
<bpmn:outgoing>Flow_1mj7tm1</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:userTask id="Activity_1nxd2jr" name="Vorgang prüfen" camunda:formKey="embedded:app:forms/Vorgangpruefen.html">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_bool_Vorgangpruefen" type="boolean" />
|
||||
</camunda:formData>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1sjj2gm</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0ivc5ab</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
@ -286,16 +276,16 @@
|
|||
</bpmn:endEvent>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_08ly05s" name="Rechnung (digital)" dataObjectRef="DataObject_0wb1tk1" />
|
||||
<bpmn:dataObject id="DataObject_0wb1tk1" />
|
||||
<bpmn:userTask id="Activity_1x7zph6" name="Rechnung archivieren">
|
||||
<bpmn:sequenceFlow id="Flow_0vok3bx" sourceRef="Activity_1x7zph6" targetRef="Event_1czv0yh" />
|
||||
<bpmn:serviceTask id="Activity_1x7zph6" name="Rechnung archivieren" camunda:class="com.bpmn.Rechnungseingang.ArchivierungAusfuehren">
|
||||
<bpmn:incoming>Flow_1qtw2q6</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0vok3bx</bpmn:outgoing>
|
||||
<bpmn:property id="Property_1lqg73b" name="__targetRef_placeholder" />
|
||||
<bpmn:property id="Property_0hp63d7" name="__targetRef_placeholder" />
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_1jxd3k4">
|
||||
<bpmn:sourceRef>DataObjectReference_08ly05s</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_1lqg73b</bpmn:targetRef>
|
||||
<bpmn:targetRef>Property_0hp63d7</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_0vok3bx" sourceRef="Activity_1x7zph6" targetRef="Event_1czv0yh" />
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:textAnnotation id="TextAnnotation_1d5xbhp">
|
||||
<bpmn:text>Nachricht an den Einkauf</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
|
@ -688,7 +678,7 @@ eingegangen</bpmn:text>
|
|||
<dc:Bounds x="1946" y="1246" width="90" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0v49yid_di" bpmnElement="Activity_1x7zph6">
|
||||
<bpmndi:BPMNShape id="Activity_13zwumu_di" bpmnElement="Activity_1x7zph6">
|
||||
<dc:Bounds x="1865" y="1083" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Association_1nzy89w_di" bpmnElement="Association_1nzy89w">
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="ISO-8859-1">
|
||||
<title>Insert title here</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<form>
|
||||
<label>Eingescannten Lieferschein hochladen:</label></br>
|
||||
<input type="file"
|
||||
cam-variable-name="Lieferschein"
|
||||
cam-variable-type="File"
|
||||
cam-max-filesize="10000000" />
|
||||
</form>
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
<form>
|
||||
<script src="angular.min.js" type="text/javascript"></script>
|
||||
<script src="camunda-bpm-sdk-angular.js" type="text/javascript"></script>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Rechnung stimmt mit Lieferschein überein?</label>
|
||||
|
||||
|
|
|
@ -12,4 +12,6 @@
|
|||
cam-variable-type="date"
|
||||
class="form-control" />
|
||||
</div>
|
||||
|
||||
<a cam-file-download="Eingangsrechnung"></a>
|
||||
</form>
|
||||
|
|
Binary file not shown.
|
@ -84,7 +84,7 @@
|
|||
</bpmn:userTask>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1at71qu" name="Lieferschein (digital)" dataObjectRef="DataObject_1lefyt0" />
|
||||
<bpmn:dataObject id="DataObject_1lefyt0" />
|
||||
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel & Rechnngsdaten festsetzen">
|
||||
<bpmn:userTask id="Activity_1uloahn" name="Zahlungsziel & Rechnungsdaten festsetzen">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_long_HoeheRechnungssumme" label="Rechnungssumme eingeben" type="long" />
|
||||
|
@ -124,11 +124,6 @@
|
|||
<bpmn:outgoing>Flow_1wh7ll1</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:userTask id="Activity_0pq4lxv" name="Rechnung formal prüfen" camunda:formKey="embedded:app:forms/Formalpruefen.html">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_bool_Formalpruefen" label="Rechnung formal richtig" type="boolean" />
|
||||
</camunda:formData>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_11zwlrd</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1dqx4w4</bpmn:outgoing>
|
||||
<bpmn:property id="Property_16649me" name="__targetRef_placeholder" />
|
||||
|
@ -169,11 +164,6 @@
|
|||
<bpmn:outgoing>Flow_1mj7tm1</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:userTask id="Activity_1nxd2jr" name="Vorgang prüfen" camunda:formKey="embedded:app:forms/Vorgangpruefen.html">
|
||||
<bpmn:extensionElements>
|
||||
<camunda:formData>
|
||||
<camunda:formField id="FormField_bool_Vorgangpruefen" type="boolean" />
|
||||
</camunda:formData>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1sjj2gm</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0ivc5ab</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
@ -286,16 +276,16 @@
|
|||
</bpmn:endEvent>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_08ly05s" name="Rechnung (digital)" dataObjectRef="DataObject_0wb1tk1" />
|
||||
<bpmn:dataObject id="DataObject_0wb1tk1" />
|
||||
<bpmn:userTask id="Activity_1x7zph6" name="Rechnung archivieren">
|
||||
<bpmn:sequenceFlow id="Flow_0vok3bx" sourceRef="Activity_1x7zph6" targetRef="Event_1czv0yh" />
|
||||
<bpmn:serviceTask id="Activity_1x7zph6" name="Rechnung archivieren" camunda:class="com.bpmn.Rechnungseingang.ArchivierungAusfuehren">
|
||||
<bpmn:incoming>Flow_1qtw2q6</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0vok3bx</bpmn:outgoing>
|
||||
<bpmn:property id="Property_1lqg73b" name="__targetRef_placeholder" />
|
||||
<bpmn:property id="Property_0hp63d7" name="__targetRef_placeholder" />
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_1jxd3k4">
|
||||
<bpmn:sourceRef>DataObjectReference_08ly05s</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_1lqg73b</bpmn:targetRef>
|
||||
<bpmn:targetRef>Property_0hp63d7</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_0vok3bx" sourceRef="Activity_1x7zph6" targetRef="Event_1czv0yh" />
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:textAnnotation id="TextAnnotation_1d5xbhp">
|
||||
<bpmn:text>Nachricht an den Einkauf</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
|
@ -688,7 +678,7 @@ eingegangen</bpmn:text>
|
|||
<dc:Bounds x="1946" y="1246" width="90" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0v49yid_di" bpmnElement="Activity_1x7zph6">
|
||||
<bpmndi:BPMNShape id="Activity_13zwumu_di" bpmnElement="Activity_1x7zph6">
|
||||
<dc:Bounds x="1865" y="1083" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Association_1nzy89w_di" bpmnElement="Association_1nzy89w">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Fri May 29 12:17:06 CEST 2020
|
||||
#Fri May 29 12:28:28 CEST 2020
|
||||
version=0.0.1-SNAPSHOT
|
||||
groupId=com.bpmn
|
||||
artifactId=Rechnungseingang
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\BerechnungZahlungsziel.java
|
||||
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\CamundaBpmProcessApplication.java
|
||||
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\UeberweisungAusfuehren.java
|
||||
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\ArchivierungAusfuehren.java
|
||||
C:\Users\Philipp\Documents\GitHub\BPMN_Projekt\Rechnungseingang\src\main\java\com\bpmn\Rechnungseingang\LoggerDelegate.java
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<testsuite tests="2" failures="0" name="com.bpmn.Rechnungseingang.ProcessUnitTest" time="1.425" errors="0" skipped="0">
|
||||
<testsuite tests="2" failures="0" name="com.bpmn.Rechnungseingang.ProcessUnitTest" time="1.696" errors="0" skipped="0">
|
||||
<properties>
|
||||
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
|
||||
<property name="sun.boot.library.path" value="C:\Program Files\Java\jre1.8.0_251\bin"/>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
|
||||
<property name="user.variant" value=""/>
|
||||
<property name="os.name" value="Windows 10"/>
|
||||
<property name="classworlds.conf" value="C:\Users\Philipp\eclipse-workspace\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf4107858210814510283.tmp"/>
|
||||
<property name="classworlds.conf" value="C:\Users\Philipp\eclipse-workspace\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf2732403193498425192.tmp"/>
|
||||
<property name="sun.jnu.encoding" value="Cp1252"/>
|
||||
<property name="java.library.path" value="C:\Program Files\Java\jre1.8.0_251\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_251/bin/server;C:/Program Files/Java/jre1.8.0_251/bin;C:/Program Files/Java/jre1.8.0_251/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Philipp\AppData\Local\Microsoft\WindowsApps;C:\Users\Philipp\AppData\Local\GitHubDesktop\bin;C:\Windows\System32;;."/>
|
||||
<property name="java.specification.name" value="Java Platform API Specification"/>
|
||||
|
@ -61,6 +61,6 @@
|
|||
<property name="sun.desktop" value="windows"/>
|
||||
<property name="sun.cpu.isalist" value="amd64"/>
|
||||
</properties>
|
||||
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testParsingAndDeployment" time="1.193"/>
|
||||
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.232"/>
|
||||
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testParsingAndDeployment" time="1.506"/>
|
||||
<testcase classname="com.bpmn.Rechnungseingang.ProcessUnitTest" name="testHappyPath" time="0.19"/>
|
||||
</testsuite>
|
|
@ -1,4 +1,4 @@
|
|||
-------------------------------------------------------------------------------
|
||||
Test set: com.bpmn.Rechnungseingang.ProcessUnitTest
|
||||
-------------------------------------------------------------------------------
|
||||
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.987 sec
|
||||
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.487 sec
|
||||
|
|
Loading…
Reference in a new issue