Introduction

Welcome to the BizFlowsEngine documentation. This is your complete guide to building, managing, and scaling your business workflows with our platform.

⚙️ Advanced Alert & Workflow Configuration — BizFlowEngine

This guide explains how to define advanced conditions and message templates for alerts and workflows in BizFlowEngine.


🛡️ Built-in Authorization Layers

BizFlowEngine provides three built-in layers based on employee hierarchy:

  • -100 Immediate Manager (Parent of Employee)
  • -200 Layer 2 Manager (Parent of Parent)
  • -300 Layer 3 Manager (Parent of Parent of Parent)

When configured, BizFlowEngine automatically resolves the hierarchy and routes authorization requests accordingly.


🧠 Conditional Workflow Setup

You can configure multiple workflows for the same Menu and Action using different priorities and conditions.

📦 Example: Purchase Order Workflow

Priority Condition Authorization Layer
1 ½POSECTION.TOTALAMOUNT½ >equals 10000 Branch Authorizers
2 ½POSECTION.TOTALAMOUNT½ >equals 100000 Area Authorizers
3 ½POSECTION.TOTALAMOUNT½ >equals 1000000 Zone Authorizers
4 (Blank) General Authorizers

⚠️ Blank condition must have the lowest priority. If placed first, it will override all others.


🧾 Workflow Configuration Steps

  1. Login as SysAdmin
  2. Create Authorization Layers:
    • Branch Authorizers
    • Area Authorizers
    • Zone Authorizers
    • General Authorizers
  3. Assign employees to each layer.
  4. Configure Workflow:
    • Menu ID = Purchase Order
    • Action ID = Create
    • Set Priority and Condition as shown above.

✉️ Email Message Configuration

You can define email messages in:

  • The main Workflow Configuration
  • Individual Authorization Layers

If no message is defined in a layer, the system uses the main workflow message.


📣 Alert Configuration (Advanced)

Same logic applies to alerts:

  • Multiple alerts can be configured for the same Menu and Action.
  • Use different Priority and Condition values.

🧪 Sample Conditions

½POSECTION.BRANCH½ equals “001”

½POSECTION.TOTALAMOUNT½ >equals 1000000 AND ½POSECTION.BRANCH½ equals “001”

½POSECTION.DATE½ >equals “01-JAN-2024” AND ½POSECTION.DATE½ <equals “20-JAN-2024”