From f0ec86969173227201a3c765ba0f8a2e97fda516 Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Mon, 16 Nov 2020 13:24:03 +0100 Subject: [PATCH] init --- workflow/posteingang-de-1.0.0.bpmn | 1446 +++++++++++++++++ workflow/rechnungseingang-de-1.0.0.bpmn | 1973 +++++++++++++++++++++++ 2 files changed, 3419 insertions(+) create mode 100644 workflow/posteingang-de-1.0.0.bpmn create mode 100644 workflow/rechnungseingang-de-1.0.0.bpmn diff --git a/workflow/posteingang-de-1.0.0.bpmn b/workflow/posteingang-de-1.0.0.bpmn new file mode 100644 index 0000000..4988e27 --- /dev/null +++ b/workflow/posteingang-de-1.0.0.bpmn @@ -0,0 +1,1446 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + For the OCR Adapter the following minimal options should be set: + + * X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION + * X-Tika-OCRLanguage=eng+deu + +These options allow OCR and text extraction suporting English and German language. + +Additional Tika Options can be set but are NOT needed in most cases: + + * X-Tika-PDFOcrImageType=RGB (setting the RGB color mode) + * X-Tika-PDFOcrDPI=400 (setting DPI) + +Setting the OcrDPI is only recommended if the DPI is know! + +Possible ImageTypes are: + + * ARGB Alpha, Red, Green, Blue + * BINARY Black or white. + * GRAY Shades of gray + * RGB Red, Green, Blue + + + + + + + BoundaryEvent_1 + BoundaryEvent_2 + BoundaryEvent_3 + Task_4 + IntermediateCatchEvent_2 + ExclusiveGateway_2 + Task_1 + IntermediateCatchEvent_7 + IntermediateCatchEvent_10 + IntermediateCatchEvent_6 + IntermediateCatchEvent_5 + IntermediateCatchEvent_11 + IntermediateCatchEvent_12 + ExclusiveGateway_1 + Task_5 + Task_2 + Task_6 + IntermediateCatchEvent_9 + IntermediateCatchEvent_13 + IntermediateCatchEvent_3 + IntermediateCatchEvent_4 + StartEvent_1 + IntermediateCatchEvent_8 + EndEvent_1 + + + + + + + + + txtlastcomment]]> + + + + + + + + + contract.name contract.number (contract.start - contract.end) space.name]]> + + + true + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_13 + SequenceFlow_3 + + + SequenceFlow_3 + SequenceFlow_1 + SequenceFlow_5 + SequenceFlow_14 + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + home +Empfang]]> + + + + + + + + + + + + false + + + + SequenceFlow_1 + SequenceFlow_4 + + + + + SequenceFlow_13 + + + + + + + + + + + + + + + + + numsequencenumber in Verarbeitung...]]> + + + true + + + + + + + + Rechnungseingangskontrolle +

Der Workflow 'Rechnungseingang' beschreibt beispielhaft einen Ablauf zur Prüfung von Eingangsrechnungen.

+ +

    +
  • Nach Erhalt einer Rechnung (z.B. Post, E-Mail, Fax,...) wird diese in das Workflowsystem übertragen und der Prozess Rechnungseingang gestartet.
  • + +
  • Die Rechnung wird wahlweise eingescannt und über den Abschnitt 'Dokumente' an den Vorgang hinzugefügt.
  • + +
  • In diesem Beispiel wird die Rechnung einem zuvor ausgewählten Mitarbeiter zur Prüfung vorgelegt.
  • + +
  • Nach positiver Prüfung werden die Rechnungsdaten (Zahlungsziel, Bankverbindung) vom Controlling im System erfasst und auf das Zahlungsziel gewartet.
  • + +
  • Nach Erreichen des Zahlungsziels wird der Vorgang automatisch dem Controlling erneut zur abschließenden Bearbeitung vorgelegt.
  • + +
+

Der Workflow

+ +

Eingangsrechnungen können über eine E-Mailschnittstelle oder das Filesystem automatisch eingelesen werden. Eine Eingangsrechnung wird in diesem Beispiel vom zugewiesenen Mitarbeiter sowie den Prozessverantworltichen (Controlling) bearbeitet.

]]>
+ SequenceFlow_4 + SequenceFlow_9 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +X-Tika-OCRLanguage=eng+deu + +]]> + + + + + + + + + + + + false + + + + SequenceFlow_9 + SequenceFlow_2 + SequenceFlow_6 + + + DataOutput_1 + + + DataOutput_1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + invoice.total + currency + + + invoice.number + text + + + invoice.date + date + + + cdtr.name + text + + + cdtr.iban + text + + + cdtr.bic + text + +]]> + + + + + + + + + + + + false + + + + SequenceFlow_6 + SequenceFlow_7 + + + DataOutput_2 + + + DataOutput_2 + + + + + + + + + + + rechnungseingang-de-1.0 + 5000 + 990 + ]]> + + + + + + SequenceFlow_7 + SequenceFlow_10 + + + + + + + + + + + + txtlastcomment]]> + + + + + + + + + contract.name contract.number (contract.start - contract.end) space.name]]> + + + true + + + + + + + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_11 + SequenceFlow_12 + + + SequenceFlow_10 + SequenceFlow_22 + SequenceFlow_24 + SequenceFlow_11 + + + + + SequenceFlow_12 + + + + + + + + + + txtlastcomment]]> + + + + + + + + + contract.name contract.number (contract.start - contract.end) space.name]]> + + + true + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_15 + SequenceFlow_18 + + + + + + + + txtlastcomment]]> + + + + + + + + + contract.name contract.number (contract.start - contract.end) space.name]]> + + + true + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_16 + SequenceFlow_20 + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + home +Empfang]]> + + + + + + + + + + + + false + + + + SequenceFlow_5 + SequenceFlow_15 + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + home +Empfang]]> + + + + + + + + + + + + false + + + + SequenceFlow_14 + SequenceFlow_16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION +X-Tika-OCRLanguage=eng+deu +]]> + + + + + + + + + + + + false + + + + SequenceFlow_18 + SequenceFlow_8 + SequenceFlow_17 + + + DataOutput_3 + + + DataOutput_3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + invoice.total + currency + + + invoice.number + text + + + invoice.date + date + +]]> + + + + + + + + + + + + false + + + + SequenceFlow_17 + SequenceFlow_21 + + + DataOutput_4 + + + DataOutput_4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION +X-Tika-OCRLanguage=eng+deu +]]> + + + + + + + + + + + + false + + + + SequenceFlow_20 + SequenceFlow_25 + SequenceFlow_19 + + + DataOutput_5 + + + DataOutput_5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + invoice.total + currency + + + invoice.number + text + + + invoice.date + date + +]]> + + + + + + + + + + + + false + + + + SequenceFlow_19 + SequenceFlow_23 + + + DataOutput_6 + + + DataOutput_6 + + + + + + + + + + + + + rechnungseingang-de-1.0 + 5000 + 990 + ]]> + + + + + + SequenceFlow_21 + SequenceFlow_22 + + + + + + + + + + rechnungseingang-de-1.0 + 5000 + 990 + ]]> + + + + + + SequenceFlow_23 + SequenceFlow_24 + + + + + + + + SequenceFlow_2 + + + + SequenceFlow_8 + + + + SequenceFlow_25 + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/workflow/rechnungseingang-de-1.0.0.bpmn b/workflow/rechnungseingang-de-1.0.0.bpmn new file mode 100644 index 0000000..4e0f178 --- /dev/null +++ b/workflow/rechnungseingang-de-1.0.0.bpmn @@ -0,0 +1,1973 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ExclusiveGateway_4 + Task_2 + ExclusiveGateway_1 + StartEvent_1 + IntermediateCatchEvent_3 + IntermediateCatchEvent_13 + IntermediateCatchEvent_5 + IntermediateThrowEvent_3 + IntermediateCatchEvent_5000-20 + IntermediateCatchEvent_6 + + + Task_5005 + IntermediateCatchEvent_5005-10 + ExclusiveGateway_6 + IntermediateCatchEvent_2 + EventBasedGateway_2 + IntermediateCatchEvent_5005-20 + IntermediateCatchEvent_5005-30 + ExclusiveGateway_3 + IntermediateThrowEvent_2 + ExclusiveGateway_5 + + + Task_5000 + EventBasedGateway_4 + IntermediateCatchEvent_16 + IntermediateCatchEvent_15 + IntermediateThrowEvent_1 + IntermediateCatchEvent_5000-10 + + + IntermediateCatchEvent_17 + Task_3 + ExclusiveGateway_2 + IntermediateThrowEvent_4 + IntermediateCatchEvent_7 + EndEvent_2 + Task_5 + IntermediateCatchEvent_4 + IntermediateCatchEvent_1 + IntermediateCatchEvent_8 + + + + + + + + + txtlastcomment]]> + + + + + + + + + cdtr.name invoice.number (EUR invoice.total) space.name]]> + + + true + + + + + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_31 + SequenceFlow_1 + SequenceFlow_32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + $editor.]]> + + + false + + + + SequenceFlow_31 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + space.name]]> + + + false + + + + + + + SequenceFlow_2 + SequenceFlow_24 + + + SequenceFlow_0 + SequenceFlow_15 + SequenceFlow_21 + SequenceFlow_33 + + + + SequenceFlow_0 + + + + + + + + + txtlastcomment]]> + + + + + + + + + cdtr.name invoice.number (EUR invoice.total) space.name]]> + + + true + + + + + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_38 + SequenceFlow_13 + SequenceFlow_37 + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home +space.name]]> + + + + + + + + + + + + false + + + + SequenceFlow_8 + SequenceFlow_51 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + $editor.]]> + + + false + + + + SequenceFlow_38 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home +space.name]]> + + + + + + + + + + + + false + + + + + + + SequenceFlow_10 + SequenceFlow_14 + + + SequenceFlow_37 + SequenceFlow_8 + SequenceFlow_10 + + + + + + + + + + + txtlastcomment]]> + + + + + + + + + cdtr.name invoice.number (EUR invoice.total) space.name]]> + + + true + + + + + + + + + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_33 + SequenceFlow_20 + SequenceFlow_2 + SequenceFlow_3 + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + false + + + + + + + SequenceFlow_20 + + + + + + + + + txtlastcomment]]> + + + + + + + + + cdtr.name invoice.number (EUR invoice.total) space.name]]> + + + true + + + + + + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_4 + SequenceFlow_27 + SequenceFlow_55 + SequenceFlow_22 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + + + + false + + + + + + + SequenceFlow_29 + SequenceFlow_52 + + + SequenceFlow_32 + SequenceFlow_29 + SequenceFlow_30 + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + + + + false + + + + SequenceFlow_30 + SequenceFlow_7 + + + + + + + + + + + txtlastcomment]]> + + + + + + + + + cdtr.name invoice.number (EUR invoice.total) space.name]]> + + + true + + + + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_11 + SequenceFlow_23 + SequenceFlow_25 + SequenceFlow_47 + + + SequenceFlow_47 + + + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + namcurrenteditor.]]> + + + false + + + + SequenceFlow_55 + SequenceFlow_12 + + + + + + SequenceFlow_24 + SequenceFlow_13 + SequenceFlow_16 + + + workitem['space.team'] && workitem['space.team'][0]!="" + + + !workitem['space.team'] || workitem['space.team'][0]=="" + + + SequenceFlow_18 + SequenceFlow_1 + SequenceFlow_5 + + + workitem['process.manager'] && workitem['process.manager'][0]!="" + + + SequenceFlow_7 + SequenceFlow_5 + SequenceFlow_4 + + + + !workitem['process.manager'] || workitem['process.manager'][0]=="" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + SequenceFlow_6 + SequenceFlow_18 + + + SequenceFlow_51 + SequenceFlow_16 + SequenceFlow_6 + + + + SequenceFlow_15 + + + + + SequenceFlow_52 + + + + SequenceFlow_14 + + + + + + SequenceFlow_11 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + + + + false + + + + + + + SequenceFlow_3 + SequenceFlow_9 + + + + SequenceFlow_9 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + + + + false + + + + + + + SequenceFlow_22 + SequenceFlow_17 + + + SequenceFlow_17 + + + + + + SequenceFlow_12 + SequenceFlow_19 + SequenceFlow_25 + + + SequenceFlow_19 + SequenceFlow_23 + + + + workitem['payment.type'] && workitem['payment.type'][0]=="sepa_transfer" + + + + !workitem['payment.type'] || workitem['payment.type'][0]!="sepa_transfer" + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + namcurrenteditor.]]> + + + false + + + SequenceFlow_27 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + false + + + + SequenceFlow_21 + + + + + + + Wurde ein Prozess Manager festgelegt, erfolgt eine Genehmigung. + + + + Die Rechnung wurde sachlich geprüft und genehmigt und kann nun in den Zahlungslauf übergeben werden. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file