Custom

🎯 Overview

The Custom folder is the area that holds project-specific workflows that fall outside the standard framework.

Thanks to this structure:

  • The framework can be extended without being broken

  • Customer/process-specific needs are isolated

  • Reusable components are created


🧩 Purpose of the Custom Folder

The Custom area is used for the following scenarios:

  • Process-specific business rules

  • External system integrations

  • Utility functions

  • API / DB / SAP specific operations

  • Custom logic that falls outside the framework


📂 Structure and Organization

The Custom folder is usually organized as follows:

Custom/
│
├── SAP/
├── API/
├── Database/
├── Utilities/
└── BusinessLogic/


📌 Usage Rules (Best Practices)

✅ Correct Usage

  • Each workflow should have a Single Responsibility

  • Parameters should be clear and simple

  • It should be designed to be reusable

❌ Things to Avoid

  • Writing code directly inside the framework

  • Repeating the same function in different workflows

  • Using hard-coded values


🔄 Example Usage Scenario

  1. ProcessData starts

  2. The Custom workflow is called for the relevant operation

    • Custom/SAP/CreateOrder.xaml

  3. The result is evaluated

  4. Success → Queue Success

  5. Error → Exception Handler


🧠 Architectural Advantages

✅ Framework-independent development
✅ Easy maintenance and versioning
✅ Customer-based customization
✅ Reduced code duplication
✅ Testability (Unit test suitability)


📌 Summary

The Custom folder is the most critical layer that provides the flexibility of the PAW framework.
By placing all project-specific development here:

👉 The framework standard is preserved
👉 Development speed increases
👉 Code quality improves