added prompt template and examples
This commit is contained in:
parent
5b663e69f4
commit
627ff7c199
11 changed files with 1273 additions and 294 deletions
|
|
@ -1,53 +1,84 @@
|
|||
Du bist Geschäftsprozess Architekt und Modellier. Deine Aufgabe ist es Prozessmodelle zu erstellen.
|
||||
|
||||
Unsere Software basiert auf BPMN 2.0. Wir modellieren Geschäftsprozesse nach folgemden Prinzip:
|
||||
Du bist Geschäftsprozess Architekt und Modellierer. Deine Aufgabe ist es Prozessmodelle zu erstellen.
|
||||
Unsere Software basiert auf BPMN 2.0. Wir modellieren Geschäftsprozesse nach folgendem Prinzip:
|
||||
|
||||
**Process** - der Workflow wird jeweils in einem eigenen BPMN Pool abgebildet. Der Prozessname (Name des Pools) bezeichnet den Workflow.
|
||||
|
||||
**Tasks** - bilden die Zustaände in einem Prozess ab die üblicherweise von einem Mitarbeiter im Unternehmen verantwortet werden. Z.b. 'Rechnung erstellen', 'Rechnung prüfen', 'Zahlungseingang buchen'.
|
||||
Tasks werden innerhalb der Sofware als individuelle Aufgaben für den User in einer Taskliste angezeigt. Jeder Task hat eine eindeutige ID.
|
||||
**Tasks** - Task Elemente werden verwendet um die Zustände in einem Prozess abzubilden. Jeder Task hat eine eindeutige ID. Tasks werden von einem Mitarbeiter im Unternehmen verantwortet. Z.b. 'Rechnung erstellen', 'Rechnung prüfen', 'Zahlungseingang buchen'. Tasks werden innerhalb der Software als individuelle Aufgaben für den User in einer Aufgabenliste angezeigt.
|
||||
|
||||
**Events** - werden bei uns genutzt um den Übergang von einem Task in einen anderen zu beschreiben. Ein Event ist damit die Aktion die der Mitarbeiter ausführt. Z.b. 'Rechnung weiterleiten', 'Prüfung ablehnen', 'Buchung abschließen'.
|
||||
**Events** - Event Element werden genutzt um den Übergang von einem Task in einen anderen zu beschreiben. Ein Event ist damit die Aktion die der Mitarbeiter ausführt. Z.b. 'Rechnung weiterleiten', 'Prüfung ablehnen', 'Buchung abschließen'.
|
||||
Jedes Event das einem Task zugeordnet ist hat innerhalb dieses Tasks eine eindeutige ID.
|
||||
|
||||
Wir stellen den Prozessablauf textuell stark vereinfacht dar. Diese Darstellung dient dem BPMN Modellierer einen Prozess in unserem Tool zu erstellen.
|
||||
|
||||
|
||||
|
||||
Beispiel:
|
||||
|
||||
Business Process: Product
|
||||
```
|
||||
Business Process: Offer
|
||||
|
||||
START
|
||||
|
|
||||
|- [Task: 1000] Imported
|
||||
| |-- [Event: 10] Update --> [Task: 1000] Imported
|
||||
| |-- [Event: 50] (RAG) --> [Task: 1200] In Stock
|
||||
|- [Task: 1000] Inquiry imported
|
||||
| Team: Front Office
|
||||
| Description:
|
||||
| A new Inquiry from a customer was imported into the system. The user need to check if this is a valid document.
|
||||
| |-- [Event: 10] Proceed (Inquiry is valid) --> [Task: 1200] Verify Inquiry
|
||||
| |-- [Event: 20] Reject (Inquire is invalid) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1200] In Stock
|
||||
| |-- [Event: 10] Update --> [Task: 1200] In Stock
|
||||
| |-- [Event: 105] Reindex --> [Task: 1000] Imported
|
||||
| |-- [Event: 20] Ordered --> [Task: 1400] Ordered
|
||||
| |-- [Event: 30] Not in Stock --> [Task: 1500] Not in Stock
|
||||
| |-- [Event: 990] [CSV Import] --> [Task: 1000] Imported
|
||||
|- [Task: 1200] Verify Inquiry
|
||||
| Team: Front Office
|
||||
| Description:
|
||||
| The Inquiry need to be verified and missing data need to be added. If Inquiry is accepted, the sales team can generate a offer.
|
||||
| |-- [Event: 10] Update Data (Customer Data updated) --> [Task: 1200] Verify Inquiry
|
||||
| |-- [Event: 11] Add Comment --> [Task: 1200] Verify Inquiry
|
||||
| |-- [Event: 20] Accept (Inquiry accepted and forwarded to Sales team to generate a new Offer) --> [Task: 1300] Generate Offer
|
||||
| |-- [Event: 30] Reject (Inquiry invalid/rejected) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1400] Ordered
|
||||
| |-- [Event: 10] Update --> [Task: 1400] Ordered
|
||||
| |-- [Event: 20] Delievered --> [Task: 1000] Imported
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 1400] Ordered
|
||||
|- [Task: 1300] Generate Offer
|
||||
| Team: Sales Team
|
||||
| Description:
|
||||
| The Inquiry is valid, all data is available to generate a new offer.
|
||||
| |-- [Event: 10] Update Data (Customer Data updated) --> [Task: 1300] Generate Offer
|
||||
| |-- [Event: 20] Offer generated (Offer created and forwarded for approval by Management) --> [Task: 1400] Approval
|
||||
|
|
||||
|- [Task: 1500] Not in Stock
|
||||
| |-- [Event: 10] Update --> [Task: 1500] Not in Stock
|
||||
| |-- [Event: 20] Delievered --> [Task: 1000] Imported
|
||||
|- [Task: 1400] Approval
|
||||
| Team: Management
|
||||
| Description:
|
||||
| The Offer was generated. Management is responsible for approvement.
|
||||
| |-- [Event: 20] Accept Offer (Offer approved) --> [Task: 1500] Offer send
|
||||
| |-- [Event: 30] Reject Offer (Offer rejected) --> [Task: 1300] Generate Offer
|
||||
|
|
||||
|- [Task: 1500] Offer send
|
||||
| Team: Sales Team
|
||||
| Description:
|
||||
| The Offer was accepted by Management and automatically send to the customer.
|
||||
| |-- [Event: 10] Accepted by Customer (Offer was accepted by Customer, forwarded to Production Team) --> [Task: 1600] Accepted
|
||||
| |-- [Event: 20] Send Reminder (Reminder send to customer) --> [Task: 1500] Offer send
|
||||
| |-- [Event: 30] Rejected by Customer (Offer was rejected by Customer) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1600] Accepted
|
||||
| Team: Production
|
||||
| Description:
|
||||
| The Offer was accepted by Customer. New Order can be created.
|
||||
| |-- [Event: 10] Create Order (New Order created) --> [Task: 1800] Completed
|
||||
|
|
||||
|- [Task: 1800] Completed
|
||||
| Team: Sales Team
|
||||
| Description:
|
||||
| Offer accepted by customer and order created. Process completed
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1800] Completed
|
||||
|
|
||||
|- [Task: 1900] Rejected
|
||||
| Team: Sales Team
|
||||
| Description:
|
||||
| Offer was not accepted by by customer and order created. Process completed
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1800] Rejected
|
||||
| |-- [Event: 30] Delete --> [Task: 1990] Deleted
|
||||
|
|
||||
END
|
||||
|
|
||||
|- [Task: 1990] Deleted
|
||||
|
|
||||
```
|
||||
|
||||
|
||||
|
||||
Erstelle einen neuen Prozess für eine "Supplier Compliance Prüfung" innerhalb eines Lieferkettenprozesses für ein großes Export Unternehmen.
|
||||
Erstelle eine formatierte Text Datei für den Ablauf
|
||||
|
||||
Erstelle einen neuen Prozess für eine "Supplier Compliance Prüfung" innerhalb eines Lieferkettenprozesses für ein großes Export Unternehmen. Prozesssprache ist Englisch.
|
||||
Erstelle eine formatierte Text Datei für diesen Ablauf gemäß dem Beispiel.
|
||||
|
|
|
|||
|
|
@ -1,50 +1,104 @@
|
|||
Business Process: Supplier Compliance Check
|
||||
|
||||
START
|
||||
|
|
||||
|- [Task: 1000] Supplier angelegt
|
||||
| |-- [Event: 10] Stammdaten aktualisieren --> [Task: 1000] Supplier angelegt
|
||||
| |-- [Event: 20] Compliance-Prüfung starten --> [Task: 1100] Compliance-Prüfung in Vorbereitung
|
||||
|- [Task: 1000] Supplier Registered
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| A new supplier was registered in the system or an existing supplier requires a periodic compliance review.
|
||||
| The supplier data and documents are available for initial compliance screening.
|
||||
| |-- [Event: 10] Start Compliance Check (Supplier forwarded for compliance screening) --> [Task: 1100] Initial Compliance Screening
|
||||
|
|
||||
|- [Task: 1100] Compliance-Prüfung in Vorbereitung
|
||||
| |-- [Event: 10] Prüfumfang anpassen --> [Task: 1100] Compliance-Prüfung in Vorbereitung
|
||||
| |-- [Event: 30] Dokumente anfordern --> [Task: 1200] Dokumente angefordert
|
||||
| |-- [Event: 40] Prüfung abbrechen --> [Task: 1900] Prüfung abgebrochen
|
||||
|- [Task: 1100] Initial Compliance Screening
|
||||
| Team: Compliance Office
|
||||
| Description:
|
||||
| The supplier is screened against basic compliance criteria such as sanctions lists,
|
||||
| embargo countries, and internal blacklists.
|
||||
| |-- [Event: 10] Request Additional Data (Missing or unclear compliance data) --> [Task: 1150] Request Supplier Documents
|
||||
| |-- [Event: 20] Screening Passed (No critical compliance issues identified) --> [Task: 1200] Detailed Compliance Review
|
||||
| |-- [Event: 30] Screening Failed (Critical compliance violation identified) --> [Task: 1900] Compliance Rejected
|
||||
|
|
||||
|- [Task: 1200] Dokumente angefordert
|
||||
| |-- [Event: 10] Erinnerung senden --> [Task: 1200] Dokumente angefordert
|
||||
| |-- [Event: 20] Dokumente erhalten --> [Task: 1300] Dokumente eingegangen
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 1200] Dokumente angefordert
|
||||
|- [Task: 1150] Request Supplier Documents
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| Additional compliance-related documents are requested from the supplier,
|
||||
| such as certificates, declarations, or ownership information.
|
||||
| |-- [Event: 10] Documents Received (Requested documents provided by supplier) --> [Task: 1100] Initial Compliance Screening
|
||||
| |-- [Event: 20] Cancel Request (Supplier does not respond or withdraws) --> [Task: 1950] Compliance Cancelled
|
||||
|
|
||||
|- [Task: 1300] Dokumente eingegangen
|
||||
| |-- [Event: 10] Dokumente aktualisieren --> [Task: 1300] Dokumente eingegangen
|
||||
| |-- [Event: 30] Formale Prüfung durchführen --> [Task: 1400] Formale Prüfung
|
||||
|- [Task: 1200] Detailed Compliance Review
|
||||
| Team: Compliance Office
|
||||
| Description:
|
||||
| A detailed compliance assessment is performed including ESG criteria,
|
||||
| export control regulations, anti-corruption policies, and human rights standards.
|
||||
| |-- [Event: 10] Update Assessment (Compliance assessment updated) --> [Task: 1200] Detailed Compliance Review
|
||||
| |-- [Event: 20] Escalate to Legal (Potential compliance risks identified) --> [Task: 1300] Legal Review
|
||||
| |-- [Event: 30] Approve Compliance (Supplier compliant) --> [Task: 1400] Compliance Approved
|
||||
|
|
||||
|- [Task: 1400] Formale Prüfung
|
||||
| |-- [Event: 10] Prüfung wiederholen --> [Task: 1400] Formale Prüfung
|
||||
| |-- [Event: 20] Formal unvollständig --> [Task: 1250] Nachforderung Dokumente
|
||||
| |-- [Event: 30] Formal korrekt --> [Task: 1500] Inhaltliche Compliance-Prüfung
|
||||
|- [Task: 1300] Legal Review
|
||||
| Team: Legal Department
|
||||
| Description:
|
||||
| Legal reviews identified compliance risks and evaluates contractual,
|
||||
| regulatory, and reputational impacts.
|
||||
| |-- [Event: 10] Request Clarification (Additional clarification required) --> [Task: 1150] Request Supplier Documents
|
||||
| |-- [Event: 20] Approve with Conditions (Supplier approved under conditions) --> [Task: 1450] Conditional Approval
|
||||
| |-- [Event: 30] Reject Supplier (Unacceptable compliance risk) --> [Task: 1900] Compliance Rejected
|
||||
|
|
||||
|- [Task: 1250] Nachforderung Dokumente
|
||||
| |-- [Event: 10] Nachforderung senden --> [Task: 1200] Dokumente angefordert
|
||||
|- [Task: 1400] Compliance Approved
|
||||
| Team: Compliance Office
|
||||
| Description:
|
||||
| The supplier has passed all compliance checks and is approved
|
||||
| for sourcing and export-related business activities.
|
||||
| |-- [Event: 10] Notify Procurement (Approval communicated to Procurement) --> [Task: 1500] Supplier Activated
|
||||
|
|
||||
|- [Task: 1500] Inhaltliche Compliance-Prüfung
|
||||
| |-- [Event: 10] Prüfung vertiefen --> [Task: 1500] Inhaltliche Compliance-Prüfung
|
||||
| |-- [Event: 20] Compliance erfüllt --> [Task: 1600] Supplier freigegeben
|
||||
| |-- [Event: 30] Abweichungen festgestellt --> [Task: 1700] Abweichungen klären
|
||||
| |-- [Event: 40] Kritischer Verstoß --> [Task: 1800] Supplier gesperrt
|
||||
|- [Task: 1450] Conditional Approval
|
||||
| Team: Compliance Office
|
||||
| Description:
|
||||
| The supplier is approved with specific conditions such as periodic audits,
|
||||
| volume limits, or restricted product categories.
|
||||
| |-- [Event: 10] Accept Conditions (Conditions acknowledged by Procurement) --> [Task: 1500] Supplier Activated
|
||||
| |-- [Event: 20] Reject Conditions (Conditions not acceptable) --> [Task: 1900] Compliance Rejected
|
||||
|
|
||||
|- [Task: 1700] Abweichungen klären
|
||||
| |-- [Event: 10] Maßnahmen anfordern --> [Task: 1700] Abweichungen klären
|
||||
| |-- [Event: 20] Maßnahmen akzeptiert --> [Task: 1600] Supplier freigegeben
|
||||
| |-- [Event: 30] Maßnahmen abgelehnt --> [Task: 1800] Supplier gesperrt
|
||||
|- [Task: 1500] Supplier Activated
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| The supplier is activated in the sourcing system and can be used
|
||||
| for purchase orders and export-related transactions.
|
||||
| |-- [Event: 10] Schedule Re-Check (Periodic compliance review scheduled) --> [Task: 1600] Compliance Monitoring
|
||||
|
|
||||
|- [Task: 1600] Supplier freigegeben
|
||||
| |-- [Event: 10] Freigabe aktualisieren --> [Task: 1600] Supplier freigegeben
|
||||
| |-- [Event: 90] Re-Compliance-Prüfung starten --> [Task: 1100] Compliance-Prüfung in Vorbereitung
|
||||
|- [Task: 1600] Compliance Monitoring
|
||||
| Team: Compliance Office
|
||||
| Description:
|
||||
| Ongoing monitoring of supplier compliance including periodic re-checks,
|
||||
| regulatory updates, and incident tracking.
|
||||
| |-- [Event: 10] Update Status (Compliance status updated) --> [Task: 1600] Compliance Monitoring
|
||||
| |-- [Event: 20] Trigger Re-Assessment (New risk or regulation identified) --> [Task: 1200] Detailed Compliance Review
|
||||
| |-- [Event: 30] Suspend Supplier (Compliance violation detected) --> [Task: 1700] Supplier Suspended
|
||||
|
|
||||
|- [Task: 1800] Supplier gesperrt
|
||||
| |-- [Event: 10] Sperrung prüfen --> [Task: 1800] Supplier gesperrt
|
||||
| |-- [Event: 20] Sperrung aufheben --> [Task: 1100] Compliance-Prüfung in Vorbereitung
|
||||
|- [Task: 1700] Supplier Suspended
|
||||
| Team: Compliance Office
|
||||
| Description:
|
||||
| The supplier is temporarily suspended due to compliance violations
|
||||
| or unresolved risks.
|
||||
| |-- [Event: 10] Reinstate Supplier (Issues resolved) --> [Task: 1500] Supplier Activated
|
||||
| |-- [Event: 20] Permanently Ban Supplier (Severe compliance breach) --> [Task: 1900] Compliance Rejected
|
||||
|
|
||||
|- [Task: 1900] Compliance Rejected
|
||||
| Team: Compliance Office
|
||||
| Description:
|
||||
| The supplier failed compliance requirements and is not approved
|
||||
| for any sourcing or export activities.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1900] Compliance Rejected
|
||||
| |-- [Event: 20] Archive Case (Compliance case archived) --> [Task: 1990] Archived
|
||||
|
|
||||
|- [Task: 1950] Compliance Cancelled
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| The compliance process was cancelled due to supplier withdrawal
|
||||
| or missing response.
|
||||
| |-- [Event: 10] Archive Case --> [Task: 1990] Archived
|
||||
|
|
||||
END
|
||||
|
|
||||
|- [Task: 1900] Prüfung abgebrochen
|
||||
|- [Task: 1990] Archived
|
||||
|
|
||||
|
|
|
|||
|
|
@ -1,178 +1,147 @@
|
|||
================================================================================
|
||||
BUSINESS PROCESS: Supplier Compliance Prüfung
|
||||
================================================================================
|
||||
Beschreibung: Workflow zur Prüfung und Freigabe von Lieferanten gemäß
|
||||
Export-Compliance-Anforderungen (Sanktionslisten, Zertifikate,
|
||||
Dual-Use-Prüfung, Qualitätsstandards)
|
||||
================================================================================
|
||||
```
|
||||
Business Process: Supplier Compliance Check
|
||||
|
||||
START
|
||||
|
|
||||
|- [Task: 1000] Lieferant erfasst
|
||||
| |-- [Event: 10] Update --> [Task: 1000] Lieferant erfasst
|
||||
| |-- [Event: 20] Zur Vorprüfung --> [Task: 1100] Vorprüfung
|
||||
| |-- [Event: 30] Direktablehnung --> [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 990] [CSV Import] --> [Task: 1000] Lieferant erfasst
|
||||
|- [Task: 1000] Supplier Registration Received
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| A new supplier has submitted their registration documents for onboarding. Initial review of completeness is required before compliance verification can begin.
|
||||
| |-- [Event: 10] Documents Complete (All required documents received) --> [Task: 1100] Initial Document Review
|
||||
| |-- [Event: 20] Request Documents (Missing documents identified) --> [Task: 1000] Supplier Registration Received
|
||||
| |-- [Event: 30] Reject (Invalid submission) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1100] Vorprüfung
|
||||
| |-- [Event: 10] Update --> [Task: 1100] Vorprüfung
|
||||
| |-- [Event: 20] Stammdaten vollständig --> [Task: 1200] Sanktionsprüfung
|
||||
| |-- [Event: 30] Daten unvollständig --> [Task: 1050] Datenanforderung
|
||||
| |-- [Event: 40] Abbrechen --> [Task: 9000] Abgelehnt
|
||||
|- [Task: 1100] Initial Document Review
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| Review supplier documentation for authenticity and validity. Verify business registration, certifications (ISO, industry-specific), and financial statements.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1100] Initial Document Review
|
||||
| |-- [Event: 20] Documents Valid (Documentation verified) --> [Task: 1200] Export Control Screening
|
||||
| |-- [Event: 30] Request Clarification (Additional information needed) --> [Task: 1050] Awaiting Supplier Response
|
||||
| |-- [Event: 40] Reject (Documentation invalid or fraudulent) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1050] Datenanforderung
|
||||
| |-- [Event: 10] Update --> [Task: 1050] Datenanforderung
|
||||
| |-- [Event: 20] Daten erhalten --> [Task: 1100] Vorprüfung
|
||||
| |-- [Event: 30] Keine Rückmeldung --> [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 1050] Datenanforderung
|
||||
|- [Task: 1050] Awaiting Supplier Response
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| Waiting for supplier to provide requested clarifications or additional documentation.
|
||||
| |-- [Event: 10] Response Received (Supplier provided requested information) --> [Task: 1100] Initial Document Review
|
||||
| |-- [Event: 20] Send Reminder --> [Task: 1050] Awaiting Supplier Response
|
||||
| |-- [Event: 30] No Response (Supplier did not respond within deadline) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1200] Sanktionsprüfung
|
||||
| |-- [Event: 10] Update --> [Task: 1200] Sanktionsprüfung
|
||||
| |-- [Event: 20] Keine Treffer --> [Task: 1300] Export-Kontrollprüfung
|
||||
| |-- [Event: 30] Treffer gefunden --> [Task: 1250] Sanktionstreffer Klärung
|
||||
| |-- [Event: 40] (API Sanktionsliste) --> [Task: 1200] Sanktionsprüfung
|
||||
|- [Task: 1200] Export Control Screening
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Conduct export control screening including sanctions list check (OFAC, EU, UN), denied party screening, and dual-use goods assessment. Critical step for export compliance.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1200] Export Control Screening
|
||||
| |-- [Event: 20] Screening Passed (No export control issues identified) --> [Task: 1300] Risk Assessment
|
||||
| |-- [Event: 30] Potential Match (Possible sanctions list match found) --> [Task: 1250] Enhanced Due Diligence
|
||||
| |-- [Event: 40] Screening Failed (Confirmed sanctions list match) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1250] Sanktionstreffer Klärung
|
||||
| |-- [Event: 10] Update --> [Task: 1250] Sanktionstreffer Klärung
|
||||
| |-- [Event: 20] False Positive bestätigt --> [Task: 1300] Export-Kontrollprüfung
|
||||
| |-- [Event: 30] Treffer bestätigt --> [Task: 9100] Gesperrt
|
||||
| |-- [Event: 40] Eskalation --> [Task: 1260] Compliance Officer Review
|
||||
|- [Task: 1250] Enhanced Due Diligence
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Conduct enhanced due diligence for potential sanctions matches or high-risk indicators. Verify beneficial ownership, conduct background checks, and assess ultimate risk.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1250] Enhanced Due Diligence
|
||||
| |-- [Event: 20] Request Additional Information --> [Task: 1050] Awaiting Supplier Response
|
||||
| |-- [Event: 30] Risk Mitigated (Due diligence confirms no compliance issues) --> [Task: 1300] Risk Assessment
|
||||
| |-- [Event: 40] Risk Confirmed (Compliance risk confirmed) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1260] Compliance Officer Review
|
||||
| |-- [Event: 10] Update --> [Task: 1260] Compliance Officer Review
|
||||
| |-- [Event: 20] Freigabe erteilt --> [Task: 1300] Export-Kontrollprüfung
|
||||
| |-- [Event: 30] Sperrung angeordnet --> [Task: 9100] Gesperrt
|
||||
|- [Task: 1300] Risk Assessment
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Comprehensive risk assessment including country risk, industry risk, financial stability, and environmental/social governance (ESG) factors. Assign risk rating to supplier.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1300] Risk Assessment
|
||||
| |-- [Event: 20] Low Risk (Supplier classified as low risk) --> [Task: 1400] Compliance Approval
|
||||
| |-- [Event: 30] Medium Risk (Supplier classified as medium risk) --> [Task: 1400] Compliance Approval
|
||||
| |-- [Event: 40] High Risk (Supplier classified as high risk) --> [Task: 1350] Management Escalation
|
||||
| |-- [Event: 50] Unacceptable Risk (Risk level exceeds tolerance) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1300] Export-Kontrollprüfung
|
||||
| |-- [Event: 10] Update --> [Task: 1300] Export-Kontrollprüfung
|
||||
| |-- [Event: 20] Keine Einschränkungen --> [Task: 1400] Dokumentenprüfung
|
||||
| |-- [Event: 30] Dual-Use relevant --> [Task: 1350] Dual-Use Bewertung
|
||||
| |-- [Event: 40] Embargo betroffen --> [Task: 9100] Gesperrt
|
||||
|- [Task: 1350] Management Escalation
|
||||
| Team: Management
|
||||
| Description:
|
||||
| High-risk supplier requires management review and decision. Business justification and risk mitigation measures must be evaluated.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1350] Management Escalation
|
||||
| |-- [Event: 20] Approve with Conditions (Approved with additional controls) --> [Task: 1400] Compliance Approval
|
||||
| |-- [Event: 30] Request Additional Review (Further analysis required) --> [Task: 1300] Risk Assessment
|
||||
| |-- [Event: 40] Reject (Risk not acceptable) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1350] Dual-Use Bewertung
|
||||
| |-- [Event: 10] Update --> [Task: 1350] Dual-Use Bewertung
|
||||
| |-- [Event: 20] Genehmigung vorhanden --> [Task: 1400] Dokumentenprüfung
|
||||
| |-- [Event: 30] Genehmigung erforderlich --> [Task: 1360] Genehmigungsantrag
|
||||
| |-- [Event: 40] Nicht genehmigungsfähig --> [Task: 9000] Abgelehnt
|
||||
|- [Task: 1400] Compliance Approval
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Final compliance approval step. Document compliance decision, conditions, and monitoring requirements. Generate compliance certificate.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1400] Compliance Approval
|
||||
| |-- [Event: 20] Approve (Compliance approved) --> [Task: 1500] Contract Review
|
||||
| |-- [Event: 30] Conditional Approval (Approved with conditions) --> [Task: 1500] Contract Review
|
||||
| |-- [Event: 40] Return for Review (Issues identified during approval) --> [Task: 1300] Risk Assessment
|
||||
|
|
||||
|- [Task: 1360] Genehmigungsantrag
|
||||
| |-- [Event: 10] Update --> [Task: 1360] Genehmigungsantrag
|
||||
| |-- [Event: 20] Genehmigung erteilt --> [Task: 1400] Dokumentenprüfung
|
||||
| |-- [Event: 30] Genehmigung abgelehnt --> [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 1360] Genehmigungsantrag
|
||||
|- [Task: 1500] Contract Review
|
||||
| Team: Legal
|
||||
| Description:
|
||||
| Review and prepare supplier agreement including compliance clauses, audit rights, termination conditions, and liability provisions.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1500] Contract Review
|
||||
| |-- [Event: 20] Contract Ready (Contract prepared and reviewed) --> [Task: 1600] Supplier Onboarding
|
||||
| |-- [Event: 30] Negotiate Terms (Contract terms need negotiation) --> [Task: 1550] Contract Negotiation
|
||||
|
|
||||
|- [Task: 1400] Dokumentenprüfung
|
||||
| |-- [Event: 10] Update --> [Task: 1400] Dokumentenprüfung
|
||||
| |-- [Event: 20] Dokumente vollständig --> [Task: 1500] Qualitätsprüfung
|
||||
| |-- [Event: 30] Dokumente fehlen --> [Task: 1450] Dokumentenanforderung
|
||||
| |-- [Event: 40] Dokumente ungültig --> [Task: 1450] Dokumentenanforderung
|
||||
|- [Task: 1550] Contract Negotiation
|
||||
| Team: Legal
|
||||
| Description:
|
||||
| Negotiate contract terms with supplier. Ensure compliance requirements are non-negotiable while finding mutually acceptable commercial terms.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1550] Contract Negotiation
|
||||
| |-- [Event: 20] Agreement Reached (Terms agreed upon) --> [Task: 1500] Contract Review
|
||||
| |-- [Event: 30] Escalate to Management (Negotiation requires management input) --> [Task: 1350] Management Escalation
|
||||
| |-- [Event: 40] Negotiation Failed (Unable to reach agreement) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1450] Dokumentenanforderung
|
||||
| |-- [Event: 10] Update --> [Task: 1450] Dokumentenanforderung
|
||||
| |-- [Event: 20] Dokumente erhalten --> [Task: 1400] Dokumentenprüfung
|
||||
| |-- [Event: 30] Frist abgelaufen --> [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 1450] Dokumentenanforderung
|
||||
|- [Task: 1600] Supplier Onboarding
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| Complete supplier onboarding in ERP system. Set up vendor master data, payment terms, and compliance monitoring schedule.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1600] Supplier Onboarding
|
||||
| |-- [Event: 20] Onboarding Complete (Supplier successfully onboarded) --> [Task: 1700] Approved
|
||||
| |-- [Event: 30] Technical Issue (System setup issue encountered) --> [Task: 1600] Supplier Onboarding
|
||||
|
|
||||
|- [Task: 1500] Qualitätsprüfung
|
||||
| |-- [Event: 10] Update --> [Task: 1500] Qualitätsprüfung
|
||||
| |-- [Event: 20] Qualität bestätigt --> [Task: 1600] Freigabeentscheidung
|
||||
| |-- [Event: 30] Audit erforderlich --> [Task: 1550] Lieferanten-Audit
|
||||
| |-- [Event: 40] Qualität unzureichend --> [Task: 9000] Abgelehnt
|
||||
|- [Task: 1700] Approved
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| Supplier compliance check completed successfully. Supplier is approved and active in the system. Next review date is scheduled based on risk rating.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1700] Approved
|
||||
| |-- [Event: 20] Schedule Review (Periodic review scheduled) --> [Task: 1750] Periodic Review Due
|
||||
| |-- [Event: 30] Archive --> [Task: 1800] Completed
|
||||
|
|
||||
|- [Task: 1550] Lieferanten-Audit
|
||||
| |-- [Event: 10] Update --> [Task: 1550] Lieferanten-Audit
|
||||
| |-- [Event: 20] Audit bestanden --> [Task: 1600] Freigabeentscheidung
|
||||
| |-- [Event: 30] Audit nicht bestanden --> [Task: 1560] Maßnahmenplan
|
||||
| |-- [Event: 40] Audit abgebrochen --> [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 1550] Lieferanten-Audit
|
||||
|- [Task: 1750] Periodic Review Due
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Scheduled periodic compliance review for existing supplier. Re-screening and documentation update required.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1750] Periodic Review Due
|
||||
| |-- [Event: 20] Start Review (Initiate compliance re-check) --> [Task: 1200] Export Control Screening
|
||||
| |-- [Event: 30] Suspend Supplier (Issues identified, supplier suspended) --> [Task: 1760] Supplier Suspended
|
||||
|
|
||||
|- [Task: 1560] Maßnahmenplan
|
||||
| |-- [Event: 10] Update --> [Task: 1560] Maßnahmenplan
|
||||
| |-- [Event: 20] Maßnahmen umgesetzt --> [Task: 1550] Lieferanten-Audit
|
||||
| |-- [Event: 30] Maßnahmen abgelehnt --> [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 1560] Maßnahmenplan
|
||||
|- [Task: 1760] Supplier Suspended
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Supplier has been suspended due to compliance concerns. Investigation and remediation required before reactivation.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1760] Supplier Suspended
|
||||
| |-- [Event: 20] Remediation Complete (Issues resolved) --> [Task: 1200] Export Control Screening
|
||||
| |-- [Event: 30] Terminate Supplier (Permanent termination) --> [Task: 1900] Rejected
|
||||
|
|
||||
|- [Task: 1600] Freigabeentscheidung
|
||||
| |-- [Event: 10] Update --> [Task: 1600] Freigabeentscheidung
|
||||
| |-- [Event: 20] Vollfreigabe --> [Task: 2000] Aktiver Lieferant
|
||||
| |-- [Event: 30] Bedingte Freigabe --> [Task: 2100] Bedingt freigegeben
|
||||
| |-- [Event: 40] Ablehnung --> [Task: 9000] Abgelehnt
|
||||
|- [Task: 1800] Completed
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| Supplier compliance check process completed and archived. All documentation stored for audit trail.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1800] Completed
|
||||
|
|
||||
|- [Task: 2000] Aktiver Lieferant
|
||||
| |-- [Event: 10] Update --> [Task: 2000] Aktiver Lieferant
|
||||
| |-- [Event: 20] Re-Validierung fällig --> [Task: 3000] Re-Validierung
|
||||
| |-- [Event: 30] Compliance-Vorfall --> [Task: 3500] Vorfallprüfung
|
||||
| |-- [Event: 40] Lieferant deaktivieren --> [Task: 9200] Inaktiv
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 2000] Aktiver Lieferant
|
||||
|
|
||||
|- [Task: 2100] Bedingt freigegeben
|
||||
| |-- [Event: 10] Update --> [Task: 2100] Bedingt freigegeben
|
||||
| |-- [Event: 20] Bedingungen erfüllt --> [Task: 2000] Aktiver Lieferant
|
||||
| |-- [Event: 30] Bedingungen nicht erfüllt --> [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 40] Re-Validierung fällig --> [Task: 3000] Re-Validierung
|
||||
| |-- [Event: 99] [Wiedervorlage] --> [Task: 2100] Bedingt freigegeben
|
||||
|
|
||||
|- [Task: 3000] Re-Validierung
|
||||
| |-- [Event: 10] Update --> [Task: 3000] Re-Validierung
|
||||
| |-- [Event: 20] Validierung bestanden --> [Task: 2000] Aktiver Lieferant
|
||||
| |-- [Event: 30] Sanktionsprüfung erforderlich --> [Task: 1200] Sanktionsprüfung
|
||||
| |-- [Event: 40] Dokumentenprüfung erforderlich --> [Task: 1400] Dokumentenprüfung
|
||||
| |-- [Event: 50] Validierung nicht bestanden --> [Task: 9100] Gesperrt
|
||||
|
|
||||
|- [Task: 3500] Vorfallprüfung
|
||||
| |-- [Event: 10] Update --> [Task: 3500] Vorfallprüfung
|
||||
| |-- [Event: 20] Vorfall unbegründet --> [Task: 2000] Aktiver Lieferant
|
||||
| |-- [Event: 30] Vorfall bestätigt --> [Task: 3600] Maßnahmenfestlegung
|
||||
| |-- [Event: 40] Sofortige Sperrung --> [Task: 9100] Gesperrt
|
||||
|
|
||||
|- [Task: 3600] Maßnahmenfestlegung
|
||||
| |-- [Event: 10] Update --> [Task: 3600] Maßnahmenfestlegung
|
||||
| |-- [Event: 20] Maßnahmen akzeptiert --> [Task: 2100] Bedingt freigegeben
|
||||
| |-- [Event: 30] Zusammenarbeit beenden --> [Task: 9100] Gesperrt
|
||||
|- [Task: 1900] Rejected
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Supplier has been rejected due to compliance issues. Rejection reason documented and supplier notified.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 1900] Rejected
|
||||
| |-- [Event: 20] Appeal Received (Supplier submitted appeal) --> [Task: 1350] Management Escalation
|
||||
| |-- [Event: 30] Archive --> [Task: 1990] Archived - Rejected
|
||||
|
|
||||
END
|
||||
|
|
||||
|- [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 10] Update --> [Task: 9000] Abgelehnt
|
||||
| |-- [Event: 20] Reaktivieren --> [Task: 1000] Lieferant erfasst
|
||||
|- [Task: 1990] Archived - Rejected
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Rejected supplier case archived. Supplier added to internal watchlist for future reference.
|
||||
|
|
||||
|- [Task: 9100] Gesperrt
|
||||
| |-- [Event: 10] Update --> [Task: 9100] Gesperrt
|
||||
| |-- [Event: 20] Sperrung aufheben --> [Task: 1200] Sanktionsprüfung
|
||||
| |-- [Event: 30] Endgültig sperren --> [Task: 9900] Blacklist
|
||||
|
|
||||
|- [Task: 9200] Inaktiv
|
||||
| |-- [Event: 10] Update --> [Task: 9200] Inaktiv
|
||||
| |-- [Event: 20] Reaktivieren --> [Task: 3000] Re-Validierung
|
||||
| |-- [Event: 30] Archivieren --> [Task: 9990] Archiviert
|
||||
|
|
||||
|- [Task: 9900] Blacklist
|
||||
|
|
||||
|- [Task: 9990] Archiviert
|
||||
|
|
||||
|
||||
================================================================================
|
||||
LEGENDE
|
||||
================================================================================
|
||||
[Task: XXXX] = Prozessschritt / Zustand mit eindeutiger ID
|
||||
[Event: XX] = Aktion / Übergang mit eindeutiger ID innerhalb des Tasks
|
||||
--> = Ziel-Task nach Ausführung des Events
|
||||
(API ...) = Automatisierter Event (Systemintegration)
|
||||
[CSV Import] = Massenimport-Event
|
||||
[Wiedervorlage] = Zeitgesteuertes Erinnerungs-Event
|
||||
|
||||
================================================================================
|
||||
TASK-ÜBERSICHT
|
||||
================================================================================
|
||||
1000-1099 Erfassung & Vorprüfung
|
||||
1100-1199 Vorprüfung
|
||||
1200-1299 Sanktionsprüfung
|
||||
1300-1399 Export-Kontrollprüfung
|
||||
1400-1499 Dokumentenprüfung
|
||||
1500-1599 Qualitätsprüfung
|
||||
1600-1699 Freigabeentscheidung
|
||||
2000-2999 Aktive Lieferanten
|
||||
3000-3999 Re-Validierung & Vorfallmanagement
|
||||
9000-9999 Endstatus (Abgelehnt, Gesperrt, Archiviert)
|
||||
|
||||
================================================================================
|
||||
```
|
||||
95
doc/PROMTS/result-deepseek.txt
Normal file
95
doc/PROMTS/result-deepseek.txt
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
Business Process: Supplier Compliance Check
|
||||
|
||||
START
|
||||
|
|
||||
|- [Task: 2000] New Supplier Registration Submitted
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| A new supplier has submitted their registration data via the portal. Initial data quality check is required.
|
||||
| |-- [Event: 10] Data Complete (Registration data appears complete) --> [Task: 2100] Initial Risk Screening
|
||||
| |-- [Event: 20] Data Incomplete (Critical data missing) --> [Task: 2900] Request Completion
|
||||
| |-- [Event: 30] Reject (Clearly non-compliant or irrelevant supplier) --> [Task: 2990] Registration Rejected
|
||||
|
|
||||
|- [Task: 2100] Initial Risk Screening
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Automated and manual screening for country sanctions, PEP lists, and basic financial health. Determine risk category (Low/Medium/High).
|
||||
| |-- [Event: 10] Low Risk (Passed automated checks, non-critical industry) --> [Task: 2200] Document Collection
|
||||
| |-- [Event: 20] Medium Risk (Flagged in partial checks or medium-risk industry) --> [Task: 2250] Enhanced Due Diligence
|
||||
| |-- [Event: 30] High Risk (Sanction flag, high-risk country, critical industry) --> [Task: 2400] Compliance Committee Review
|
||||
|
|
||||
|- [Task: 2200] Document Collection
|
||||
| Team: Supplier Master Data
|
||||
| Description:
|
||||
| Request and collect mandatory compliance documents (e.g., ISO certificates, business license, tax registration, bank details).
|
||||
| |-- [Event: 10] All Documents Received (Documents uploaded by supplier) --> [Task: 2300] Document Verification
|
||||
| |-- [Event: 20] Reminder Sent (Supplier did not provide all documents) --> [Task: 2200] Document Collection
|
||||
| |-- [Event: 30] Non-Responsive (Supplier did not react within timeframe) --> [Task: 2990] Registration Rejected
|
||||
|
|
||||
|- [Task: 2250] Enhanced Due Diligence
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Conduct in-depth background checks, request additional financial statements, and assess sustainability practices.
|
||||
| |-- [Event: 10] Due Diligence Passed (Assessment positive) --> [Task: 2200] Document Collection
|
||||
| |-- [Event: 20] Due Diligence Concerns (Unclear findings or minor issues) --> [Task: 2400] Compliance Committee Review
|
||||
| |-- [Event: 30] Due Diligence Failed (Critical issues found) --> [Task: 2990] Registration Rejected
|
||||
|
|
||||
|- [Task: 2300] Document Verification
|
||||
| Team: Quality & Compliance
|
||||
| Description:
|
||||
| Validate authenticity and expiry dates of submitted documents. Check for consistency with registration data.
|
||||
| |-- [Event: 10] Verified & Valid (All documents are valid and authentic) --> [Task: 2500] Final Approval
|
||||
| |-- [Event: 20] Document Invalid (Forgery or major discrepancy found) --> [Task: 2990] Registration Rejected
|
||||
| |-- [Event: 30] Update Required (Document expired or needs clarification) --> [Task: 2900] Request Completion
|
||||
|
|
||||
|- [Task: 2400] Compliance Committee Review
|
||||
| Team: Compliance Committee
|
||||
| Description:
|
||||
| Formal review meeting for medium/high-risk suppliers or cases with due diligence concerns. Final risk assessment and decision.
|
||||
| |-- [Event: 10] Approved (Committee grants approval, possibly with conditions) --> [Task: 2200] Document Collection
|
||||
| |-- [Event: 20] Approved with Conditions (Specific actions required from supplier) --> [Task: 2450] Monitor Conditions
|
||||
| |-- [Event: 30] Rejected (Committee rejects the supplier registration) --> [Task: 2990] Registration Rejected
|
||||
|
|
||||
|- [Task: 2450] Monitor Conditions
|
||||
| Team: Compliance
|
||||
| Description:
|
||||
| Track and verify that the supplier fulfills the conditions set by the Compliance Committee (e.g., audit, implementation of a code of conduct).
|
||||
| |-- [Event: 10] Conditions Met (Supplier fulfilled all requirements) --> [Task: 2500] Final Approval
|
||||
| |-- [Event: 20] Conditions Not Met (Supplier failed to meet requirements in time) --> [Task: 2990] Registration Rejected
|
||||
|
|
||||
|- [Task: 2500] Final Approval
|
||||
| Team: Procurement Lead
|
||||
| Description:
|
||||
| Final activation of the supplier in the master data system. Supplier receives compliant status and is eligible for contracts.
|
||||
| |-- [Event: 10] Activate Supplier (Supplier activated in system) --> [Task: 2800] Supplier Active
|
||||
|
|
||||
|- [Task: 2800] Supplier Active
|
||||
| Team: System
|
||||
| Description:
|
||||
| Supplier is approved and active. Process is completed. Periodic re-screening will be triggered automatically.
|
||||
| |-- [Event: 10] Add Comment (Notes for master data) --> [Task: 2800] Supplier Active
|
||||
|
|
||||
|- [Task: 2900] Request Completion
|
||||
| Team: Supplier Master Data
|
||||
| Description:
|
||||
| Request missing or updated information/documents from the supplier. Set a deadline for response.
|
||||
| |-- [Event: 10] Information Provided (Supplier submits requested data) --> [Task: 2100] Initial Risk Screening
|
||||
| |-- [Event: 20] Reminder Sent --> [Task: 2900] Request Completion
|
||||
| |-- [Event: 30] No Response (Deadline passed) --> [Task: 2990] Registration Rejected
|
||||
|
|
||||
|- [Task: 2990] Registration Rejected
|
||||
| Team: Procurement
|
||||
| Description:
|
||||
| Supplier registration has been rejected due to non-compliance, incomplete data, or failed checks. Supplier is informed.
|
||||
| |-- [Event: 10] Archive Record (Process data archived) --> [Task: 2999] Closed
|
||||
| |-- [Event: 20] Appeal Received (Supplier files an appeal) --> [Task: 2400] Compliance Committee Review
|
||||
|
|
||||
|- [Task: 2999] Closed
|
||||
| Team: System
|
||||
| Description:
|
||||
| The compliance check process for this supplier is closed (either active or rejected).
|
||||
|
|
||||
END
|
||||
|
|
||||
|- [Task: 2999] Closed
|
||||
|
|
||||
|
|
@ -1,71 +1,73 @@
|
|||
# Business Process: Supplier Compliance Prüfung
|
||||
Business Process: Supplier Compliance Check
|
||||
|
||||
## Pool: Supplier Compliance Prüfung (Workflow-Name)
|
||||
|
||||
### Task: 50 | Prüfung beauftragt (Initialer Zustand)
|
||||
* **Beschreibung:** Der Prozess ist gestartet und die Compliance-Prüfung wurde initialisiert.
|
||||
* **Events (Aktionen des Users/Systems):**
|
||||
* [Event: 10] Aktualisieren --> [Task: 50] Prüfung beauftragt
|
||||
* [Event: 20] Zuordnung Compliance Manager --> [Task: 100] Compliance Prüfung in Bearbeitung
|
||||
* [Event: 90] Prozess abbrechen --> [Task: 990] Abgeschlossen - Abgebrochen
|
||||
|
||||
---
|
||||
|
||||
### Task: 100 | Compliance Prüfung in Bearbeitung (Hauptbearbeitung)
|
||||
* **Beschreibung:** Der zugewiesene Compliance Manager arbeitet aktiv an der Prüfung, sammelt und bewertet Unterlagen.
|
||||
* **Events (Aktionen des Users/Systems):**
|
||||
* [Event: 10] Aktualisieren --> [Task: 100] Compliance Prüfung in Bearbeitung
|
||||
* [Event: 20] Unterlagen fehlen - Nachforderung --> [Task: 200] Warten auf Unterlagen Lieferant
|
||||
* [Event: 30] Compliance positiv - Freigeben --> [Task: 500] Compliance Positiv
|
||||
* [Event: 40] Compliance negativ - Sperren --> [Task: 550] Compliance Negativ - Gesperrt
|
||||
* [Event: 50] (RAG) Prüfung zur Freigabe --> [Task: 300] Prüfung zur Freigabe Compliance Management
|
||||
|
||||
---
|
||||
|
||||
### Task: 200 | Warten auf Unterlagen Lieferant (Blockierender Zustand)
|
||||
* **Beschreibung:** Der Prozess ist blockiert und wartet auf die vom Lieferanten nachzufordernden Dokumente.
|
||||
* **Events (Aktionen des Users/Systems):**
|
||||
* [Event: 10] Aktualisieren --> [Task: 200] Warten auf Unterlagen Lieferant
|
||||
* [Event: 20] Unterlagen erhalten - Fortsetzen --> [Task: 100] Compliance Prüfung in Bearbeitung
|
||||
* [Event: 30] Eskalation (Fristüberschreitung) --> [Task: 250] Eskalation (Fristüberschreitung)
|
||||
* [Event: 40] Lieferant nicht kooperativ - Sperren --> [Task: 550] Compliance Negativ - Gesperrt
|
||||
|
||||
---
|
||||
|
||||
### Task: 250 | Eskalation (Fristüberschreitung) (Entscheidungsbedarf)
|
||||
* **Beschreibung:** Eine Frist wurde überschritten; eine Führungskraft oder der Einkauf muss eine Entscheidung über das weitere Vorgehen treffen.
|
||||
* **Events (Aktionen des Users/Systems):**
|
||||
* [Event: 10] Aktualisieren --> [Task: 250] Eskalation (Fristüberschreitung)
|
||||
* [Event: 20] Prüfprozess fortsetzen --> [Task: 100] Compliance Prüfung in Bearbeitung
|
||||
* [Event: 30] Lieferant sofort sperren --> [Task: 550] Compliance Negativ - Gesperrt
|
||||
|
||||
---
|
||||
|
||||
### Task: 300 | Prüfung zur Freigabe Compliance Management (Vier-Augen-Prinzip)
|
||||
* **Beschreibung:** Die finale Entscheidung zur Freigabe muss von einer übergeordneten Stelle überprüft und genehmigt werden.
|
||||
* **Events (Aktionen des Users/Systems):**
|
||||
* [Event: 10] Aktualisieren --> [Task: 300] Prüfung zur Freigabe Compliance Management
|
||||
* [Event: 20] Freigabe genehmigen --> [Task: 500] Compliance Positiv
|
||||
* [Event: 30] Prüfung ablehnen - Zurück zur Bearbeitung --> [Task: 100] Compliance Prüfung in Bearbeitung
|
||||
|
||||
---
|
||||
|
||||
### Task: 500 | Compliance Positiv (Endzustand - Positiv)
|
||||
* **Beschreibung:** Die Prüfung ist erfolgreich abgeschlossen, der Lieferant ist freigegeben.
|
||||
* **Events (Aktionen des Users/Systems):**
|
||||
* [Event: 10] Abschließen (Archivieren) --> [Task: 900] Abgeschlossen - Positiv
|
||||
* [Event: 20] Sperre initiieren (Bei neuer Info) --> [Task: 550] Compliance Negativ - Gesperrt
|
||||
|
||||
---
|
||||
|
||||
### Task: 550 | Compliance Negativ - Gesperrt (Endzustand - Negativ)
|
||||
* **Beschreibung:** Die Prüfung ist abgeschlossen, der Lieferant ist nicht konform und wurde gesperrt.
|
||||
* **Events (Aktionen des Users/Systems):**
|
||||
* [Event: 10] Abschließen (Archivieren) --> [Task: 950] Abgeschlossen - Negativ
|
||||
* [Event: 20] Re-Evaluierung beauftragen --> [Task: 50] Prüfung beauftragt
|
||||
|
||||
---
|
||||
|
||||
### Task: 900 | Abgeschlossen - Positiv
|
||||
### Task: 950 | Abgeschlossen - Negativ
|
||||
### Task: 990 | Abgeschlossen - Abgebrochen
|
||||
START
|
||||
|
|
||||
|- [Task: 2000] Supplier Data Input
|
||||
| Team: Purchasing
|
||||
| Description:
|
||||
| A new potential supplier needs to be checked for compliance. All relevant data (e.g., company details, location, product category) is initially entered or imported into the system.
|
||||
| |-- [Event: 10] Submit for Initial Check (Data complete) --> [Task: 2100] Initial Compliance Screening
|
||||
| |-- [Event: 20] Hold (Data incomplete/waiting for further information) --> [Task: 2000] Supplier Data Input
|
||||
|
|
||||
|- [Task: 2100] Initial Compliance Screening
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| The Compliance Department performs an automated and manual screening based on external and internal blacklists, sanctions lists, and basic regulatory requirements.
|
||||
| |-- [Event: 10] Cleared for DDQ (Initial screening passed) --> [Task: 2200] Send Due Diligence Questionnaire (DDQ)
|
||||
| |-- [Event: 20] Needs Manual Review (Potential red flags found, requires in-depth investigation) --> [Task: 2150] Detailed Compliance Review
|
||||
| |-- [Event: 30] Immediate Reject (Severe red flag or sanction match) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2150] Detailed Compliance Review
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| Manual and in-depth investigation of potential risks identified during the initial screening. This involves checking public records and specific compliance databases.
|
||||
| |-- [Event: 10] Cleared for DDQ (Review successful) --> [Task: 2200] Send Due Diligence Questionnaire (DDQ)
|
||||
| |-- [Event: 20] Request More Info (Information is missing from supplier) --> [Task: 2250] Wait for Supplier Response
|
||||
| |-- [Event: 30] Final Reject (Risk confirmed after review) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2200] Send Due Diligence Questionnaire (DDQ)
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| The system automatically sends the Due Diligence Questionnaire (DDQ) to the supplier's contact person.
|
||||
| |-- [Event: 10] DDQ Sent (Waiting for supplier response) --> [Task: 2250] Wait for Supplier Response
|
||||
|
|
||||
|- [Task: 2250] Wait for Supplier Response
|
||||
| Team: System / Purchasing
|
||||
| Description:
|
||||
| The process waits for the supplier to submit the completed DDQ. Automated reminders are sent if the deadline approaches.
|
||||
| |-- [Event: 10] DDQ Received (Supplier submitted the questionnaire) --> [Task: 2300] Review DDQ
|
||||
| |-- [Event: 20] Send Reminder (Automated or manual reminder sent) --> [Task: 2250] Wait for Supplier Response
|
||||
| |-- [Event: 30] Timeout (DDQ not received within the deadline) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2300] Review DDQ
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| Compliance checks the submitted DDQ for completeness and verifies the provided answers.
|
||||
| |-- [Event: 10] Accept DDQ (All questions answered and satisfactory) --> [Task: 2400] Final Approval
|
||||
| |-- [Event: 20] Request Clarification (Follow-up questions needed for specific answers) --> [Task: 2250] Wait for Supplier Response
|
||||
| |-- [Event: 30] Reject DDQ (High compliance risk identified in answers) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2400] Final Approval
|
||||
| Team: Compliance Management
|
||||
| Description:
|
||||
| Final sign-off by Compliance Management based on the DDQ and all previous screenings.
|
||||
| |-- [Event: 10] Approved (Supplier cleared for onboarding) --> [Task: 2800] Approved
|
||||
| |-- [Event: 20] Rejected (Compliance risk too high) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2800] Approved
|
||||
| Team: Purchasing
|
||||
| Description:
|
||||
| Supplier compliance check completed and approved. Supplier status is updated, and the process moves to supplier onboarding (e.g., contract negotiation).
|
||||
| |-- [Event: 10] Close Process (Compliance status recorded) --> [Task: 2990] Completed
|
||||
|
|
||||
|- [Task: 2900] Rejected
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| The supplier was rejected at a specific stage due to non-compliance issues. Purchasing is notified.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 2900] Rejected
|
||||
| |-- [Event: 20] Close Process (Rejection reason recorded) --> [Task: 2990] Completed
|
||||
|
|
||||
END
|
||||
|
|
||||
|- [Task: 2990] Completed
|
||||
|
|
||||
67
doc/PROMTS/result-mistral.txt
Normal file
67
doc/PROMTS/result-mistral.txt
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
START
|
||||
|
|
||||
|- [Task: 1000] New Supplier Request
|
||||
Team: Procurement
|
||||
Description:
|
||||
A new supplier request is received from a department (e.g., Purchasing, Logistics). The supplier must undergo compliance checks before onboarding.
|
||||
|-- [Event: 10] **Proceed** (Request valid) --> [Task: 1200] Basic Compliance Check
|
||||
|-- [Event: 20] **Reject** (Request invalid/incomplete) --> [Task: 1900] Rejected
|
||||
|
||||
|- [Task: 1200] Basic Compliance Check
|
||||
Team: Compliance Team
|
||||
Description:
|
||||
Initial screening for legal compliance (e.g., business registration, tax ID, no sanctions). Automated checks (e.g., sanctions lists) may be performed here.
|
||||
|-- [Event: 10] **Passed** (Basic compliance verified) --> [Task: 1300] Detailed Risk Assessment
|
||||
|-- [Event: 20] **Failed** (Non-compliant in basic checks) --> [Task: 1900] Rejected
|
||||
|-- [Event: 30] **Pending Data** (Additional documents required) --> [Task: 1200] Basic Compliance Check *(loop)*
|
||||
|
||||
|- [Task: 1300] Detailed Risk Assessment
|
||||
Team: Risk Management
|
||||
Description:
|
||||
Manual assessment of ESG (Environmental, Social, Governance) risks, labor standards, and supply chain transparency (e.g., audits, third-party reports).
|
||||
|-- [Event: 10] **Low Risk** --> [Task: 1400] Contract Review
|
||||
|-- [Event: 20] **Medium Risk** --> [Task: 1500] Mitigation Plan Required
|
||||
|-- [Event: 30] **High Risk** --> [Task: 1900] Rejected
|
||||
|-- [Event: 40] **Pending Data** --> [Task: 1300] Detailed Risk Assessment *(loop)*
|
||||
|
||||
|- [Task: 1400] Contract Review
|
||||
Team: Legal & Procurement
|
||||
Description:
|
||||
Draft/approve compliance clauses (e.g., no forced labor, environmental standards) in the supplier contract.
|
||||
|-- [Event: 10] **Approved** --> [Task: 1600] Approval
|
||||
|-- [Event: 20] **Revised** (Contract changes needed) --> [Task: 1400] Contract Review *(loop)*
|
||||
|
||||
|- [Task: 1500] Mitigation Plan Required
|
||||
Team: Risk Management & Supplier
|
||||
Description:
|
||||
Collaborate with the supplier to create a mitigation plan for identified risks (e.g., training programs, audits). Plan must be approved by Compliance.
|
||||
|-- [Event: 10] **Plan Approved** --> [Task: 1600] Approval
|
||||
|-- [Event: 20] **Plan Rejected** --> [Task: 1900] Rejected
|
||||
|-- [Event: 30] **Pending Data** (Additional info needed) --> [Task: 1500] Mitigation Plan Required *(loop)*
|
||||
|
||||
|- [Task: 1600] Approval
|
||||
Team: Supply Chain Management
|
||||
Description:
|
||||
Final approval to onboard the supplier. Includes notification to relevant departments (e.g., Purchasing, Logistics).
|
||||
|-- [Event: 10] **Approve Supplier** (Onboarding initiated) --> [Task: 1800] Supplier Onboarded
|
||||
|-- [Event: 20] **Reject** (Approval denied) --> [Task: 1900] Rejected
|
||||
|
||||
|- [Task: 1800] Supplier Onboarded
|
||||
Team: Procurement & IT
|
||||
Description:
|
||||
Supplier is added to the system, and an onboarding kit (e.g., compliance manuals) is sent. Process completed.
|
||||
|-- [Event: 10] **Add Notes** --> [Task: 1800] Supplier Onboarded *(loop)*
|
||||
|-- [Event: 20] **Escalate Issue** --> [Task: 1900] Rejected *(if critical non-compliance detected post-onboarding)*
|
||||
|
||||
|- [Task: 1900] Rejected
|
||||
Team: Procurement
|
||||
Description:
|
||||
Supplier request rejected. Reason documented (e.g., compliance failure, risk). Notification sent to requester.
|
||||
|-- [Event: 10] **Add Comment** --> [Task: 1900] Rejected *(loop)*
|
||||
|-- [Event: 30] **Delete Request** --> [Task: 1990] Deleted
|
||||
|
||||
|- [Task: 1990] Deleted
|
||||
Team: System
|
||||
Description:
|
||||
Request removed from the system. No further action required.
|
||||
---
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
package ai.dynamixs.api;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
import static org.junit.jupiter.api.Assertions.fail;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openbpmn.bpmn.BPMNModel;
|
||||
import org.openbpmn.bpmn.BPMNTypes;
|
||||
import org.openbpmn.bpmn.elements.Activity;
|
||||
import org.openbpmn.bpmn.elements.BPMNProcess;
|
||||
import org.openbpmn.bpmn.elements.Event;
|
||||
import org.openbpmn.bpmn.elements.core.BPMNPoint;
|
||||
import org.openbpmn.bpmn.exceptions.BPMNModelException;
|
||||
import org.openbpmn.bpmn.util.BPMNModelFactory;
|
||||
|
||||
/**
|
||||
* This class loads a BPMN 2.0 template and generates a model from a textual
|
||||
* process description.
|
||||
*
|
||||
* @author rsoika
|
||||
*
|
||||
*/
|
||||
public class GenerateModel {
|
||||
|
||||
private static Logger logger = Logger.getLogger(GenerateModel.class.getName());
|
||||
|
||||
static BPMNModel model = null;
|
||||
|
||||
/**
|
||||
* This test reads a bpmn file containing a DataObject
|
||||
*/
|
||||
@Test
|
||||
public void buildModel() {
|
||||
try {
|
||||
String out = "src/test/resources/process-example-en-0.0.1.bpmn";
|
||||
|
||||
logger.info("...read model");
|
||||
model = BPMNModelFactory.read("/template-en-0.0.0.bpmn");
|
||||
|
||||
BPMNProcess process = model.findProcessByName("Example");
|
||||
assertNotNull(process);
|
||||
assertEquals(BPMNTypes.PROCESS_TYPE_PRIVATE, process.getProcessType());
|
||||
|
||||
assertEquals(1, process.getActivities().size());
|
||||
Activity referenceTask = process.getActivities().iterator().next();
|
||||
Event referenceEvent = (Event) process.findElementById("event_vIjHLQ"); // .getEvents().iterator().next();
|
||||
|
||||
// add 2 Tasks and connect these Tasks with an event....
|
||||
// Create a Task1
|
||||
BPMNPoint position = new BPMNPoint(150, 200);
|
||||
int taskID = 1000;
|
||||
|
||||
Activity task1 = (Activity) process.cloneBPMNElementNode(referenceTask);
|
||||
task1.setName("Task-1");
|
||||
task1.setPosition(position);
|
||||
task1.setAttribute("imixs:processid", "" + taskID);
|
||||
taskID = taskID + 100;
|
||||
|
||||
// add a event
|
||||
Event event = (Event) process.cloneBPMNElementNode(referenceEvent);
|
||||
event.setName("Event-1");
|
||||
position.setX(position.getX() + 200);
|
||||
event.setPosition(position);
|
||||
|
||||
Activity task2 = (Activity) process.cloneBPMNElementNode(referenceTask);
|
||||
task1.setName("Task-2");
|
||||
position.setX(position.getX() + 100);
|
||||
task2.setPosition(position);
|
||||
task2.setAttribute("imixs:processid", "" + taskID);
|
||||
|
||||
process.addSequenceFlow("sequence-flow-1", task1.getId(), event.getId());
|
||||
process.addSequenceFlow("sequence-flow-2", event.getId(), task2.getId());
|
||||
|
||||
File file = new File(out);
|
||||
model.save(file);
|
||||
logger.info("...model created successful: " + out);
|
||||
} catch (BPMNModelException e) {
|
||||
e.printStackTrace();
|
||||
fail();
|
||||
}
|
||||
logger.info("...model read successful: ");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
package ai.dynamixs.api;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
import static org.junit.jupiter.api.Assertions.fail;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.openbpmn.bpmn.BPMNModel;
|
||||
import org.openbpmn.bpmn.BPMNTypes;
|
||||
import org.openbpmn.bpmn.elements.Activity;
|
||||
import org.openbpmn.bpmn.elements.BPMNProcess;
|
||||
import org.openbpmn.bpmn.elements.Event;
|
||||
import org.openbpmn.bpmn.elements.core.BPMNPoint;
|
||||
import org.openbpmn.bpmn.exceptions.BPMNModelException;
|
||||
import org.openbpmn.bpmn.util.BPMNModelFactory;
|
||||
|
||||
/**
|
||||
* This class loads a BPMN 2.0 template and generates a model from a textual
|
||||
* process description.
|
||||
*
|
||||
* @author rsoika
|
||||
*
|
||||
*/
|
||||
public class GenerateModelDemo {
|
||||
|
||||
private static Logger logger = Logger.getLogger(GenerateModel.class.getName());
|
||||
|
||||
static BPMNModel model = null;
|
||||
|
||||
/**
|
||||
* This test reads a bpmn file containing a DataObject
|
||||
*/
|
||||
@Test
|
||||
public void buildModel() {
|
||||
try {
|
||||
String out = "src/test/resources/process-example-en-0.0.1.bpmn";
|
||||
|
||||
logger.info("...read model");
|
||||
model = BPMNModelFactory.read("/template-en-0.0.0.bpmn");
|
||||
|
||||
BPMNProcess process = model.findProcessByName("Example");
|
||||
assertNotNull(process);
|
||||
assertEquals(BPMNTypes.PROCESS_TYPE_PRIVATE, process.getProcessType());
|
||||
|
||||
assertEquals(1, process.getActivities().size());
|
||||
Activity referenceTask = process.getActivities().iterator().next();
|
||||
Event referenceEvent = (Event) process.findElementById("event_vIjHLQ"); // .getEvents().iterator().next();
|
||||
|
||||
// add 2 Tasks and connect these Tasks with an event....
|
||||
// Create a Task1
|
||||
BPMNPoint position = new BPMNPoint(150, 200);
|
||||
int taskID = 1000;
|
||||
|
||||
Activity task1 = (Activity) process.cloneBPMNElementNode(referenceTask);
|
||||
task1.setName("Task-1");
|
||||
task1.setPosition(position);
|
||||
task1.setAttribute("imixs:processid", "" + taskID);
|
||||
taskID = taskID + 100;
|
||||
|
||||
// add a event
|
||||
Event event = (Event) process.cloneBPMNElementNode(referenceEvent);
|
||||
event.setName("Event-1");
|
||||
position.setX(position.getX() + 200);
|
||||
event.setPosition(position);
|
||||
|
||||
Activity task2 = (Activity) process.cloneBPMNElementNode(referenceTask);
|
||||
task1.setName("Task-2");
|
||||
position.setX(position.getX() + 100);
|
||||
task2.setPosition(position);
|
||||
task2.setAttribute("imixs:processid", "" + taskID);
|
||||
|
||||
process.addSequenceFlow("sequence-flow-1", task1.getId(), event.getId());
|
||||
process.addSequenceFlow("sequence-flow-2", event.getId(), task2.getId());
|
||||
|
||||
File file = new File(out);
|
||||
model.save(file);
|
||||
logger.info("...model created successful: " + out);
|
||||
} catch (BPMNModelException e) {
|
||||
e.printStackTrace();
|
||||
fail();
|
||||
}
|
||||
logger.info("...model read successful: ");
|
||||
}
|
||||
|
||||
}
|
||||
73
dynamixs-ai-app/src/test/resources/process-description.txt
Normal file
73
dynamixs-ai-app/src/test/resources/process-description.txt
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
Business Process: Supplier Compliance Check
|
||||
|
||||
START
|
||||
|
|
||||
|- [Task: 2000] Supplier Data Input
|
||||
| Team: Purchasing
|
||||
| Description:
|
||||
| A new potential supplier needs to be checked for compliance. All relevant data (e.g., company details, location, product category) is initially entered or imported into the system.
|
||||
| |-- [Event: 10] Submit for Initial Check (Data complete) --> [Task: 2100] Initial Compliance Screening
|
||||
| |-- [Event: 20] Hold (Data incomplete/waiting for further information) --> [Task: 2000] Supplier Data Input
|
||||
|
|
||||
|- [Task: 2100] Initial Compliance Screening
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| The Compliance Department performs an automated and manual screening based on external and internal blacklists, sanctions lists, and basic regulatory requirements.
|
||||
| |-- [Event: 10] Cleared for DDQ (Initial screening passed) --> [Task: 2200] Send Due Diligence Questionnaire (DDQ)
|
||||
| |-- [Event: 20] Needs Manual Review (Potential red flags found, requires in-depth investigation) --> [Task: 2150] Detailed Compliance Review
|
||||
| |-- [Event: 30] Immediate Reject (Severe red flag or sanction match) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2150] Detailed Compliance Review
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| Manual and in-depth investigation of potential risks identified during the initial screening. This involves checking public records and specific compliance databases.
|
||||
| |-- [Event: 10] Cleared for DDQ (Review successful) --> [Task: 2200] Send Due Diligence Questionnaire (DDQ)
|
||||
| |-- [Event: 20] Request More Info (Information is missing from supplier) --> [Task: 2250] Wait for Supplier Response
|
||||
| |-- [Event: 30] Final Reject (Risk confirmed after review) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2200] Send Due Diligence Questionnaire (DDQ)
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| The system automatically sends the Due Diligence Questionnaire (DDQ) to the supplier's contact person.
|
||||
| |-- [Event: 10] DDQ Sent (Waiting for supplier response) --> [Task: 2250] Wait for Supplier Response
|
||||
|
|
||||
|- [Task: 2250] Wait for Supplier Response
|
||||
| Team: System / Purchasing
|
||||
| Description:
|
||||
| The process waits for the supplier to submit the completed DDQ. Automated reminders are sent if the deadline approaches.
|
||||
| |-- [Event: 10] DDQ Received (Supplier submitted the questionnaire) --> [Task: 2300] Review DDQ
|
||||
| |-- [Event: 20] Send Reminder (Automated or manual reminder sent) --> [Task: 2250] Wait for Supplier Response
|
||||
| |-- [Event: 30] Timeout (DDQ not received within the deadline) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2300] Review DDQ
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| Compliance checks the submitted DDQ for completeness and verifies the provided answers.
|
||||
| |-- [Event: 10] Accept DDQ (All questions answered and satisfactory) --> [Task: 2400] Final Approval
|
||||
| |-- [Event: 20] Request Clarification (Follow-up questions needed for specific answers) --> [Task: 2250] Wait for Supplier Response
|
||||
| |-- [Event: 30] Reject DDQ (High compliance risk identified in answers) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2400] Final Approval
|
||||
| Team: Compliance Management
|
||||
| Description:
|
||||
| Final sign-off by Compliance Management based on the DDQ and all previous screenings.
|
||||
| |-- [Event: 10] Approved (Supplier cleared for onboarding) --> [Task: 2800] Approved
|
||||
| |-- [Event: 20] Rejected (Compliance risk too high) --> [Task: 2900] Rejected
|
||||
|
|
||||
|- [Task: 2800] Approved
|
||||
| Team: Purchasing
|
||||
| Description:
|
||||
| Supplier compliance check completed and approved. Supplier status is updated, and the process moves to supplier onboarding (e.g., contract negotiation).
|
||||
| |-- [Event: 10] Close Process (Compliance status recorded) --> [Task: 2990] Completed
|
||||
|
|
||||
|- [Task: 2900] Rejected
|
||||
| Team: Compliance Department
|
||||
| Description:
|
||||
| The supplier was rejected at a specific stage due to non-compliance issues. Purchasing is notified.
|
||||
| |-- [Event: 10] Add Comment --> [Task: 2900] Rejected
|
||||
| |-- [Event: 20] Close Process (Rejection reason recorded) --> [Task: 2990] Completed
|
||||
|
|
||||
END
|
||||
|
|
||||
|- [Task: 2990] Completed
|
||||
|
|
||||
315
dynamixs-ai-app/src/test/resources/process-example-en-0.0.1.bpmn
Normal file
315
dynamixs-ai-app/src/test/resources/process-example-en-0.0.1.bpmn
Normal file
|
|
@ -0,0 +1,315 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- origin at X=0.0 Y=0.0 --><bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:BPMN2="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:ext="http://org.eclipse.bpmn2/ext" xmlns:imixs="http://www.imixs.org/bpmn2" xmlns:open-bpmn="http://open-bpmn.org/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="org.eclipse.bpmn2.modeler.core" exporterVersion="1.5.4.RC1-v20220528-0836-B1" id="Definitions_1" targetNamespace="http://www.imixs.org/bpmn2">
|
||||
<bpmn2:extensionElements>
|
||||
<imixs:item name="txtworkflowmodelversion" type="xs:string">
|
||||
<imixs:value><![CDATA[offer-en-1.0]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtfieldmapping" type="xs:string">
|
||||
<imixs:value><![CDATA[Creator|$Creator]]></imixs:value>
|
||||
<imixs:value><![CDATA[Current Editor|$Editor]]></imixs:value>
|
||||
<imixs:value><![CDATA[Owner|$owner]]></imixs:value>
|
||||
<imixs:value><![CDATA[Process Manager|process.manager]]></imixs:value>
|
||||
<imixs:value><![CDATA[Process Team|process.team]]></imixs:value>
|
||||
<imixs:value><![CDATA[Process Assist|process.assist]]></imixs:value>
|
||||
<imixs:value><![CDATA[Department Manager|space.manager]]></imixs:value>
|
||||
<imixs:value><![CDATA[Department Team|space.team]]></imixs:value>
|
||||
<imixs:value><![CDATA[Department Assist|space.assist]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txttimefieldmapping" type="xs:string">
|
||||
<imixs:value><![CDATA[Liefertermin|order.delivery]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtplugins" type="xs:string">
|
||||
<imixs:value><![CDATA[org.imixs.workflow.office.plugins.WorkitemLinkPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.ai.rag.RAGIndexPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ResultPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.RulePlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.profile.ProfilePlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.plugins.CommentPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.plugins.SequenceNumberPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.team.TeamPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.profile.DeputyPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.OwnerPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.HistoryPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.LogPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ApplicationPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.profile.MailPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.IntervalPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.SplitAndJoinPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[ai.dynamixs.cognition.CognitoPlugin]]></imixs:value>
|
||||
</imixs:item>
|
||||
<open-bpmn:auto-align>true</open-bpmn:auto-align>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:collaboration id="Collaboration_1" name="Collaboration 1">
|
||||
<bpmn2:participant id="Participant_1" name="Example" processRef="Process_1">
|
||||
<bpmn2:documentation id="documentation_3xKpCQ"/>
|
||||
</bpmn2:participant>
|
||||
<bpmn2:participant id="participant_hnZfjA" name="Default Process" processRef="process_2"/>
|
||||
</bpmn2:collaboration>
|
||||
<bpmn2:process definitionalCollaborationRef="Collaboration_1" id="Process_1" isExecutable="false" name="Example" processType="Private">
|
||||
<bpmn2:laneSet id="LaneSet_1" name="Lane Set 1">
|
||||
<bpmn2:lane id="Lane_1" name="Team">
|
||||
<bpmn2:documentation id="documentation_gvQWYQ"/>
|
||||
<bpmn2:flowNodeRef>Task_2</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>StartEvent_1</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>EndEvent_2</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>event_vIjHLQ</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>task_4bAwfw</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>task_2sKNSg</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>event_rprNxA</bpmn2:flowNodeRef>
|
||||
</bpmn2:lane>
|
||||
</bpmn2:laneSet>
|
||||
<bpmn2:startEvent id="StartEvent_1" name="Start">
|
||||
<bpmn2:documentation id="documentation_IUTaAQ"/>
|
||||
<bpmn2:outgoing>sequenceFlow_8NDJxA</bpmn2:outgoing>
|
||||
</bpmn2:startEvent>
|
||||
<bpmn2:task id="Task_2" imixs:processid="1000" name="Import">
|
||||
<bpmn2:extensionElements>
|
||||
<imixs:item name="txteditorid" type="xs:string">
|
||||
<imixs:value><![CDATA[form_basic]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtname" type="xs:string">
|
||||
<imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtimageurl" type="xs:string">
|
||||
<imixs:value><![CDATA[typcn-business-card]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtworkflowsummary" type="xs:string">
|
||||
<imixs:value><![CDATA[<itemvalue>request.subject</itemvalue>]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyupdateacl" type="xs:string">
|
||||
<imixs:value><![CDATA[true]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txttype" type="xs:string">
|
||||
<imixs:value><![CDATA[workitem]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="namownershipnames" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="namaddreadaccess" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="namaddwriteaccess" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyownershipfields" type="xs:string">
|
||||
<imixs:value><![CDATA[$Editor]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.assist]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyaddwritefields" type="xs:string">
|
||||
<imixs:value><![CDATA[process.assist]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.team]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.manager]]></imixs:value>
|
||||
</imixs:item>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:documentation id="Documentation_2"/>
|
||||
<bpmn2:incoming>sequenceFlow_khuDtw</bpmn2:incoming>
|
||||
<bpmn2:outgoing>sequenceFlow_Gj9mmA</bpmn2:outgoing>
|
||||
</bpmn2:task>
|
||||
<bpmn2:endEvent id="EndEvent_2" name="End">
|
||||
<bpmn2:documentation id="documentation_mHDfBQ"/>
|
||||
<bpmn2:incoming>sequenceFlow_Gj9mmA</bpmn2:incoming>
|
||||
</bpmn2:endEvent>
|
||||
<bpmn2:sequenceFlow id="sequenceFlow_8NDJxA" sourceRef="StartEvent_1" targetRef="event_vIjHLQ">
|
||||
<bpmn2:documentation id="documentation_RKidfg"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="sequenceFlow_Gj9mmA" sourceRef="Task_2" targetRef="EndEvent_2">
|
||||
<bpmn2:documentation id="documentation_V7pFuw"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:intermediateCatchEvent id="event_vIjHLQ" imixs:activityid="10" name="Event-1">
|
||||
<bpmn2:documentation id="documentation_e2Geig"/>
|
||||
<bpmn2:incoming>sequenceFlow_8NDJxA</bpmn2:incoming>
|
||||
<bpmn2:outgoing>sequenceFlow_khuDtw</bpmn2:outgoing>
|
||||
</bpmn2:intermediateCatchEvent>
|
||||
<bpmn2:sequenceFlow id="sequenceFlow_khuDtw" sourceRef="event_vIjHLQ" targetRef="Task_2">
|
||||
<bpmn2:documentation id="documentation_d1EdlQ"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="sequence-flow-1" sourceRef="task_4bAwfw" targetRef="event_rprNxA">
|
||||
<bpmn2:documentation id="documentation_exwr0g"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="sequence-flow-2" sourceRef="event_rprNxA" targetRef="task_2sKNSg">
|
||||
<bpmn2:documentation id="documentation_MtemGg"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:task id="task_4bAwfw" imixs:processid="1000" name="Task-2">
|
||||
<bpmn2:extensionElements>
|
||||
<imixs:item name="txteditorid" type="xs:string">
|
||||
<imixs:value><![CDATA[form_basic]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtname" type="xs:string">
|
||||
<imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtimageurl" type="xs:string">
|
||||
<imixs:value><![CDATA[typcn-business-card]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtworkflowsummary" type="xs:string">
|
||||
<imixs:value><![CDATA[<itemvalue>request.subject</itemvalue>]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyupdateacl" type="xs:string">
|
||||
<imixs:value><![CDATA[true]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txttype" type="xs:string">
|
||||
<imixs:value><![CDATA[workitem]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="namownershipnames" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="namaddreadaccess" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="namaddwriteaccess" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyownershipfields" type="xs:string">
|
||||
<imixs:value><![CDATA[$Editor]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.assist]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyaddwritefields" type="xs:string">
|
||||
<imixs:value><![CDATA[process.assist]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.team]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.manager]]></imixs:value>
|
||||
</imixs:item>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:documentation id="documentation_yBXHfg"/>
|
||||
<bpmn2:outgoing>sequence-flow-1</bpmn2:outgoing>
|
||||
</bpmn2:task>
|
||||
<bpmn2:task id="task_2sKNSg" imixs:processid="1100" name="Import">
|
||||
<bpmn2:extensionElements>
|
||||
<imixs:item name="txteditorid" type="xs:string">
|
||||
<imixs:value><![CDATA[form_basic]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtname" type="xs:string">
|
||||
<imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtimageurl" type="xs:string">
|
||||
<imixs:value><![CDATA[typcn-business-card]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtworkflowsummary" type="xs:string">
|
||||
<imixs:value><![CDATA[<itemvalue>request.subject</itemvalue>]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyupdateacl" type="xs:string">
|
||||
<imixs:value><![CDATA[true]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txttype" type="xs:string">
|
||||
<imixs:value><![CDATA[workitem]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="namownershipnames" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="namaddreadaccess" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="namaddwriteaccess" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyownershipfields" type="xs:string">
|
||||
<imixs:value><![CDATA[$Editor]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.assist]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyaddwritefields" type="xs:string">
|
||||
<imixs:value><![CDATA[process.assist]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.team]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.manager]]></imixs:value>
|
||||
</imixs:item>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:documentation id="documentation_5oRV2g"/>
|
||||
<bpmn2:incoming>sequence-flow-2</bpmn2:incoming>
|
||||
</bpmn2:task>
|
||||
<bpmn2:intermediateCatchEvent id="event_rprNxA" imixs:activityid="10" name="Event-1">
|
||||
<bpmn2:documentation id="documentation_OeRSQQ"/>
|
||||
<bpmn2:incoming>sequence-flow-1</bpmn2:incoming>
|
||||
<bpmn2:outgoing>sequence-flow-2</bpmn2:outgoing>
|
||||
</bpmn2:intermediateCatchEvent>
|
||||
</bpmn2:process>
|
||||
<bpmn2:process id="process_2" name="Default Process" processType="Public">
|
||||
<bpmn2:documentation id="documentation_imRbaw"/>
|
||||
<bpmn2:extensionElements>
|
||||
<open-bpmn:auto-align>true</open-bpmn:auto-align>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:process>
|
||||
<bpmn2:signal id="signal_3" name="org.imixs.ai.workflow.OpenAIAPIAdapter"/>
|
||||
<bpmn2:signal id="signal_4" name="org.imixs.ai.rag.RAGRetrievalAdapter"/>
|
||||
<bpmn2:message id="message_1" name="Message 1">
|
||||
<bpmn2:documentation id="documentation_lq3hSg"/>
|
||||
</bpmn2:message>
|
||||
<bpmn2:signal id="signal_5" name="org.imixs.ai.workflow.ImixsAIAssistantAdapter"/>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane bpmnElement="Collaboration_1" id="BPMNPlane_Process_1">
|
||||
<bpmndi:BPMNShape bpmnElement="Participant_1" id="BPMNShape_Participant_1" isHorizontal="true">
|
||||
<dc:Bounds height="1150.0" width="4530.0" x="20.0" y="90.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="Lane_1" id="BPMNShape_Lane_1" isHorizontal="true">
|
||||
<dc:Bounds height="1150.0" width="4500.0" x="50.0" y="90.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="StartEvent_1" id="BPMNShape_StartEvent_1">
|
||||
<dc:Bounds height="36.0" width="36.0" x="137.0" y="337.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_1" labelStyle="BPMNLabelStyle_1">
|
||||
<dc:Bounds height="20.0" width="100.0" x="109.5" y="374.10797119140625"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="BPMNShape_TextAnnotation_1">
|
||||
<dc:Bounds height="73.0" width="131.0" x="130.0" y="581.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_30">
|
||||
<dc:Bounds height="67.0" width="119.0" x="136.0" y="581.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="Task_2" id="BPMNShape_Task_5">
|
||||
<dc:Bounds height="50.0" width="110.0" x="380.0" y="330.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="EndEvent_2" id="BPMNShape_EndEvent_2">
|
||||
<dc:Bounds height="36.0" width="36.0" x="597.0" y="337.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_110" labelStyle="BPMNLabelStyle_1">
|
||||
<dc:Bounds height="20.0" width="100.0" x="571.138671875" y="375.10791015625"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="participant_hnZfjA" id="BPMNShape_iHhp5Q">
|
||||
<dc:Bounds height="210.0" width="800.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="message_1" id="BPMNShape_5X9D7w">
|
||||
<dc:Bounds height="20.0" width="30.0" x="80.0" y="10.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_20MvBw">
|
||||
<dc:Bounds height="20.0" width="100.0" x="45.86090087890625" y="37.66443634033203"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="event_vIjHLQ" id="BPMNShape_U2OU0Q">
|
||||
<dc:Bounds height="36.0" width="36.0" x="267.0" y="337.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_vd0n1w">
|
||||
<dc:Bounds height="20.0" width="100.0" x="235.0" y="376.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_8NDJxA" id="BPMNEdge_5jeXwQ" sourceElement="BPMNShape_StartEvent_1" targetElement="BPMNShape_U2OU0Q">
|
||||
<di:waypoint x="173.0" y="355.0"/>
|
||||
<di:waypoint x="267.0" y="355.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_Gj9mmA" id="BPMNEdge_D8ZZAw" sourceElement="BPMNShape_Task_5" targetElement="BPMNShape_EndEvent_2">
|
||||
<di:waypoint x="490.0" y="355.0"/>
|
||||
<di:waypoint x="597.0" y="355.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_khuDtw" id="BPMNEdge_vHtmSA" sourceElement="BPMNShape_U2OU0Q" targetElement="BPMNShape_Task_5">
|
||||
<di:waypoint x="303.0" y="355.0"/>
|
||||
<di:waypoint x="380.0" y="355.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNShape bpmnElement="task_4bAwfw" id="BPMNShape_2rc7nw">
|
||||
<dc:Bounds height="50.0" width="110.0" x="150.0" y="200.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="event_rprNxA" id="BPMNShape_LvX3vQ">
|
||||
<dc:Bounds height="36.0" width="36.0" x="337.0" y="207.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_MoU59Q">
|
||||
<dc:Bounds height="20.0" width="100.0" x="308.0" y="249.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="task_2sKNSg" id="BPMNShape_g0YqGA">
|
||||
<dc:Bounds height="50.0" width="110.0" x="500.0" y="200.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequence-flow-1" id="BPMNEdge_Y0ARBQ" sourceElement="BPMNShape_2rc7nw" targetElement="BPMNShape_LvX3vQ">
|
||||
<di:waypoint x="260.0" y="225.0"/>
|
||||
<di:waypoint x="337.0" y="225.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequence-flow-2" id="BPMNEdge_TVjsMg" sourceElement="BPMNShape_LvX3vQ" targetElement="BPMNShape_g0YqGA">
|
||||
<di:waypoint x="373.0" y="225.0"/>
|
||||
<di:waypoint x="500.0" y="225.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
<bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1">
|
||||
<dc:Font name="arial" size="9.0"/>
|
||||
</bpmndi:BPMNLabelStyle>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn2:definitions>
|
||||
197
dynamixs-ai-app/src/test/resources/template-en-0.0.0.bpmn
Normal file
197
dynamixs-ai-app/src/test/resources/template-en-0.0.0.bpmn
Normal file
|
|
@ -0,0 +1,197 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- origin at X=0.0 Y=0.0 --><bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:BPMN2="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:ext="http://org.eclipse.bpmn2/ext" xmlns:imixs="http://www.imixs.org/bpmn2" xmlns:open-bpmn="http://open-bpmn.org/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="org.eclipse.bpmn2.modeler.core" exporterVersion="1.5.4.RC1-v20220528-0836-B1" id="Definitions_1" targetNamespace="http://www.imixs.org/bpmn2">
|
||||
<bpmn2:extensionElements>
|
||||
<imixs:item name="txtworkflowmodelversion" type="xs:string">
|
||||
<imixs:value><![CDATA[offer-en-1.0]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtfieldmapping" type="xs:string">
|
||||
<imixs:value><![CDATA[Creator|$Creator]]></imixs:value>
|
||||
<imixs:value><![CDATA[Current Editor|$Editor]]></imixs:value>
|
||||
<imixs:value><![CDATA[Owner|$owner]]></imixs:value>
|
||||
<imixs:value><![CDATA[Process Manager|process.manager]]></imixs:value>
|
||||
<imixs:value><![CDATA[Process Team|process.team]]></imixs:value>
|
||||
<imixs:value><![CDATA[Process Assist|process.assist]]></imixs:value>
|
||||
<imixs:value><![CDATA[Department Manager|space.manager]]></imixs:value>
|
||||
<imixs:value><![CDATA[Department Team|space.team]]></imixs:value>
|
||||
<imixs:value><![CDATA[Department Assist|space.assist]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txttimefieldmapping" type="xs:string">
|
||||
<imixs:value><![CDATA[Liefertermin|order.delivery]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtplugins" type="xs:string">
|
||||
<imixs:value><![CDATA[org.imixs.workflow.office.plugins.WorkitemLinkPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.ai.rag.RAGIndexPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ResultPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.RulePlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.profile.ProfilePlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.plugins.CommentPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.plugins.SequenceNumberPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.team.TeamPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.profile.DeputyPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.OwnerPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.HistoryPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.LogPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ApplicationPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.marty.profile.MailPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.IntervalPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[org.imixs.workflow.engine.plugins.SplitAndJoinPlugin]]></imixs:value>
|
||||
<imixs:value><![CDATA[ai.dynamixs.cognition.CognitoPlugin]]></imixs:value>
|
||||
</imixs:item>
|
||||
<open-bpmn:auto-align>true</open-bpmn:auto-align>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:collaboration id="Collaboration_1" name="Collaboration 1">
|
||||
<bpmn2:participant id="Participant_1" name="Example" processRef="Process_1">
|
||||
<bpmn2:documentation id="documentation_3xKpCQ"/>
|
||||
</bpmn2:participant>
|
||||
<bpmn2:participant id="participant_hnZfjA" name="Default Process" processRef="process_2"/>
|
||||
</bpmn2:collaboration>
|
||||
<bpmn2:process definitionalCollaborationRef="Collaboration_1" id="Process_1" isExecutable="false" name="Example" processType="Private">
|
||||
<bpmn2:laneSet id="LaneSet_1" name="Lane Set 1">
|
||||
<bpmn2:lane id="Lane_1" name="Team">
|
||||
<bpmn2:documentation id="documentation_gvQWYQ"/>
|
||||
<bpmn2:flowNodeRef>Task_2</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>StartEvent_1</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>EndEvent_2</bpmn2:flowNodeRef>
|
||||
<bpmn2:flowNodeRef>event_vIjHLQ</bpmn2:flowNodeRef>
|
||||
</bpmn2:lane>
|
||||
</bpmn2:laneSet>
|
||||
<bpmn2:startEvent id="StartEvent_1" name="Start">
|
||||
<bpmn2:documentation id="documentation_IUTaAQ"/>
|
||||
<bpmn2:outgoing>sequenceFlow_8NDJxA</bpmn2:outgoing>
|
||||
</bpmn2:startEvent>
|
||||
<bpmn2:task id="Task_2" imixs:processid="1000" name="Import">
|
||||
<bpmn2:extensionElements>
|
||||
<imixs:item name="txteditorid" type="xs:string">
|
||||
<imixs:value><![CDATA[form_basic]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtname" type="xs:string">
|
||||
<imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtimageurl" type="xs:string">
|
||||
<imixs:value><![CDATA[typcn-business-card]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txtworkflowsummary" type="xs:string">
|
||||
<imixs:value><![CDATA[<itemvalue>request.subject</itemvalue>]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyupdateacl" type="xs:string">
|
||||
<imixs:value><![CDATA[true]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="txttype" type="xs:string">
|
||||
<imixs:value><![CDATA[workitem]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="namownershipnames" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="namaddreadaccess" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="namaddwriteaccess" type="xs:string">
|
||||
<imixs:value/>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyownershipfields" type="xs:string">
|
||||
<imixs:value><![CDATA[$Editor]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.assist]]></imixs:value>
|
||||
</imixs:item>
|
||||
<imixs:item name="keyaddwritefields" type="xs:string">
|
||||
<imixs:value><![CDATA[process.assist]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.team]]></imixs:value>
|
||||
<imixs:value><![CDATA[process.manager]]></imixs:value>
|
||||
</imixs:item>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:documentation id="Documentation_2"/>
|
||||
<bpmn2:incoming>sequenceFlow_khuDtw</bpmn2:incoming>
|
||||
<bpmn2:outgoing>sequenceFlow_Gj9mmA</bpmn2:outgoing>
|
||||
</bpmn2:task>
|
||||
<bpmn2:endEvent id="EndEvent_2" name="End">
|
||||
<bpmn2:documentation id="documentation_mHDfBQ"/>
|
||||
<bpmn2:incoming>sequenceFlow_Gj9mmA</bpmn2:incoming>
|
||||
</bpmn2:endEvent>
|
||||
<bpmn2:sequenceFlow id="sequenceFlow_8NDJxA" sourceRef="StartEvent_1" targetRef="event_vIjHLQ">
|
||||
<bpmn2:documentation id="documentation_RKidfg"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="sequenceFlow_Gj9mmA" sourceRef="Task_2" targetRef="EndEvent_2">
|
||||
<bpmn2:documentation id="documentation_V7pFuw"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:intermediateCatchEvent id="event_vIjHLQ" imixs:activityid="10" name="Event-1">
|
||||
<bpmn2:documentation id="documentation_e2Geig"/>
|
||||
<bpmn2:incoming>sequenceFlow_8NDJxA</bpmn2:incoming>
|
||||
<bpmn2:outgoing>sequenceFlow_khuDtw</bpmn2:outgoing>
|
||||
</bpmn2:intermediateCatchEvent>
|
||||
<bpmn2:sequenceFlow id="sequenceFlow_khuDtw" sourceRef="event_vIjHLQ" targetRef="Task_2">
|
||||
<bpmn2:documentation id="documentation_d1EdlQ"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
</bpmn2:process>
|
||||
<bpmn2:process id="process_2" name="Default Process" processType="Public">
|
||||
<bpmn2:documentation id="documentation_imRbaw"/>
|
||||
<bpmn2:extensionElements>
|
||||
<open-bpmn:auto-align>true</open-bpmn:auto-align>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:process>
|
||||
<bpmn2:signal id="signal_3" name="org.imixs.ai.workflow.OpenAIAPIAdapter"/>
|
||||
<bpmn2:signal id="signal_4" name="org.imixs.ai.rag.RAGRetrievalAdapter"/>
|
||||
<bpmn2:message id="message_1" name="Message 1">
|
||||
<bpmn2:documentation id="documentation_lq3hSg"/>
|
||||
</bpmn2:message>
|
||||
<bpmn2:signal id="signal_5" name="org.imixs.ai.workflow.ImixsAIAssistantAdapter"/>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane bpmnElement="Collaboration_1" id="BPMNPlane_Process_1">
|
||||
<bpmndi:BPMNShape bpmnElement="Participant_1" id="BPMNShape_Participant_1" isHorizontal="true">
|
||||
<dc:Bounds height="1150.0" width="4530.0" x="20.0" y="90.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="Lane_1" id="BPMNShape_Lane_1" isHorizontal="true">
|
||||
<dc:Bounds height="1150.0" width="4500.0" x="50.0" y="90.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="StartEvent_1" id="BPMNShape_StartEvent_1">
|
||||
<dc:Bounds height="36.0" width="36.0" x="137.0" y="337.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_1" labelStyle="BPMNLabelStyle_1">
|
||||
<dc:Bounds height="20.0" width="100.0" x="109.5" y="374.10797119140625"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="BPMNShape_TextAnnotation_1">
|
||||
<dc:Bounds height="73.0" width="131.0" x="130.0" y="581.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_30">
|
||||
<dc:Bounds height="67.0" width="119.0" x="136.0" y="581.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="Task_2" id="BPMNShape_Task_5">
|
||||
<dc:Bounds height="50.0" width="110.0" x="380.0" y="330.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="EndEvent_2" id="BPMNShape_EndEvent_2">
|
||||
<dc:Bounds height="36.0" width="36.0" x="597.0" y="337.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_110" labelStyle="BPMNLabelStyle_1">
|
||||
<dc:Bounds height="20.0" width="100.0" x="571.138671875" y="375.10791015625"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="participant_hnZfjA" id="BPMNShape_iHhp5Q">
|
||||
<dc:Bounds height="210.0" width="800.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="message_1" id="BPMNShape_5X9D7w">
|
||||
<dc:Bounds height="20.0" width="30.0" x="80.0" y="10.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_20MvBw">
|
||||
<dc:Bounds height="20.0" width="100.0" x="45.86090087890625" y="37.66443634033203"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="event_vIjHLQ" id="BPMNShape_U2OU0Q">
|
||||
<dc:Bounds height="36.0" width="36.0" x="267.0" y="337.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_vd0n1w">
|
||||
<dc:Bounds height="20.0" width="100.0" x="235.0" y="376.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_8NDJxA" id="BPMNEdge_5jeXwQ" sourceElement="BPMNShape_StartEvent_1" targetElement="BPMNShape_U2OU0Q">
|
||||
<di:waypoint x="173.0" y="355.0"/>
|
||||
<di:waypoint x="267.0" y="355.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_Gj9mmA" id="BPMNEdge_D8ZZAw" sourceElement="BPMNShape_Task_5" targetElement="BPMNShape_EndEvent_2">
|
||||
<di:waypoint x="490.0" y="355.0"/>
|
||||
<di:waypoint x="597.0" y="355.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_khuDtw" id="BPMNEdge_vHtmSA" sourceElement="BPMNShape_U2OU0Q" targetElement="BPMNShape_Task_5">
|
||||
<di:waypoint x="303.0" y="355.0"/>
|
||||
<di:waypoint x="380.0" y="355.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
<bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1">
|
||||
<dc:Font name="arial" size="9.0"/>
|
||||
</bpmndi:BPMNLabelStyle>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn2:definitions>
|
||||
Loading…
Reference in a new issue