# Flow Configurations

Flow configurations (Business Process Modeling Notation) are broadly categorized into the following categories (some of which are overlapping) :-

* Mock Flows - Simulates various events like account lookup, quotations, hold/deposit/withdraw funds, transfers with callbacks. This allows demonstration of Payment Hub without external dependencies being live and configured as per use case flows.
  * [Minimal Mock Fund Transfer](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/minimal_mock_fund_transfer-DFSPID.png) - This doesn't include AMS workers as Payment BB is not a switch/payment schema participant where it can directly interact with AMS.
  * [Minimal Mock Fund Transfer with Account Lookup](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/minimal_mock_fund_transfer_account_lookup-DFSPID.png)
  * [Minimal Mock Fund Transfer Request](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/minimal_mock_transfer_request-DFSPID.png)
  * [Mock Payer Fund Transfer](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/mock-payer-fund-transfer-DFSPID.png) - This is the Mojaloop transfer flow with AMS workers mocked out.
  * [Mock Payer Fund Transfer with Account Lookup](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/mock-payer-fund-transfer_account_lookup-DFSPID.png) - This is the Mojaloop transfer flow with AMS workers mocked out and account lookup working with Identity Account Mapper integrated with ML Account Lookup service.
  * [Debit with Mock Transfer](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/mock_payment_transfer_debit-DFSPID.png) - This has mock transfer workers and real AMS Fineract connector workers.
* Switch (Mojaloop) flows - These are P2P flows which are often embedded within G2P flows. These demonstrate disbursement to multiple payee DFSPIDs; i.e. multilateral clearing. This includes payee-side flows for account lookup, quotation and accepting transfers.
  * [Party Registration](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/party-registration-DFSPID.png)
  * [Payee Party Lookup](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/payee-party-lookup-DFSPID.png)
  * [Payee Quote Transfer](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/payee-quote-transfer-DFSPID.png)
  * [Payer Fund Transfer](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/payer-fund-transfer-DFSPID.png) - This is the payer side of ML P2P flow with payee account lookup, quotation request, transfer, hold/release and booking of funds.
  * [Payer Transfer Request](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/payer-transaction-request-DFSPID.png)
  * [Payee Transfer Request](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/payee-transaction-request-DFSPID.png)
* Voucher flows - Budget check, redemption and payment flows.
  * [Budget Check](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/voucher_budget_check.png)
  * [Redemption and Payment](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/voucher_budget_check.png)
* Mobile Money (GSMA)  flows - These are configurations built as per [v1.1.3](https://www.gsma.com/mobilefordevelopment/wp-content/uploads/2021/10/Mobile-Money-API-v1.1.3-Specification-Description-1.pdf) of GSMA Mobile Money APIs. This includes configurations for use case flows of P2P, International Remittance, BillPay and Account APIs.
* Collection implementation flows - These are inbound transfer (Customer initiated C2B/C2G) and outbound transfer request (Business/Gov initiated C2B/C2G) flows. This involves MMP specific schemes such as MPesa and MTN.&#x20;
* P2G Flows -&#x20;
* Bulk Processing Flows - This includes core (product) bulk processing flows and implementation specific bulk connector flows where debulking itself is in batch mode.
  * [Bulk Processor default](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/bulk_processor.png)
  * [Bulk Processor with Batch Account Lookup and Batch Authorization](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/bulk_processor-DFSPID.png)
  * [Bulk Connector](https://github.com/openMF/ph-ee-env-labs/blob/master/orchestration/bpmn/bulk_connector_closedloop-DFSPID.png) - After Bulk Processor debulks to Bulk Connector which consumes mock PH Batch Transfer API specifications. Can be configured to point to live payer FSP APIs if payer FSP is using PH/GovStack/GSMA API specifications.
* Miscellaneous - Performance testing related closed loop configurations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mifos.gitbook.io/docs/payment-hub-ee/overview/installation-instructions/configuration-instructions/flow-configurations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
