Complex Workflow Examples
This section provides detailed examples of more complex workflows that demonstrate advanced access control concepts in OSPROV.
Example 5: Multi-Department Product Launch (Complex)
Workflow Configuration:
- Roles: Product Manager, Marketing Manager, Sales Manager, Finance Manager, Executive
- Authorization Channels: Product, Marketing, Sales, Finance
- Tasks:
- Product Launch Request (Product Manager role)
- Marketing Plan Review (Marketing Manager role)
- Sales Strategy Review (Sales Manager role)
- Budget Approval (Finance Manager role)
- Final Approval (Executive role)
How It Works:
-
For Nathan (Product Manager with Product authorization channel):
- Nathan initiates the product launch workflow
- He provides product details, target market, and launch timeline
- The workflow simultaneously routes to Marketing, Sales, and Finance for parallel reviews
- Nathan only needs at least one matching authorization channel (in this case, Product) to see and start the workflow
-
For Olivia (Marketing Manager with Marketing authorization channel):
- Olivia reviews only the marketing aspects of the product launch
- She adds marketing campaign details and approves her portion
- She cannot see or modify the sales strategy portion
-
For Victor (Sales Manager with Sales authorization channel):
- Victor reviews only the sales aspects of the product launch
- He adds sales strategy details and approves his portion
- He cannot see or modify the marketing campaign portion
-
For Diana (Finance Manager with Finance authorization channel):
- Diana reviews the budget implications for all departments
- She has "Ignore Authorization Channel" checked for her task, allowing her to see all financial aspects
- She approves the budget allocation
-
For Charles (Executive with ALL authorization channels):
- Charles sees the complete product launch plan after all departments have approved
- He can review all aspects (product, marketing, sales, finance)
- His approval completes the workflow and triggers the product launch
This complex workflow demonstrates parallel processing across departments, with each department handling their specialized portion while Finance needs cross-department visibility for budget purposes, and Executives need complete visibility for final approval.
Example 6: Confidential HR Investigation (Complex)
Workflow Configuration:
- Roles: Employee, HR Specialist, HR Manager, Legal, Executive
- Authorization Channels: HR-General, HR-Confidential, Legal, Executive
- Tasks:
- Incident Report (Employee role, routed to HR-Confidential)
- Initial Assessment (HR Specialist role with HR-Confidential authorization)
- Investigation (HR Specialist role with HR-Confidential authorization)
- Legal Review (Legal role with "Allow Previous Task Handler to Choose" checked)
- Resolution Approval (HR Manager role with HR-Confidential authorization)
- Executive Review (Executive role, only for severe cases)
How It Works:
-
For Any Employee (with any authorization channel):
- Any employee can submit a confidential incident report
- The system automatically assigns the HR-Confidential authorization channel to the case
- The employee can only see their own submission and status updates
-
For Maria (HR Specialist with HR-Confidential authorization):
- Maria sees all confidential incident reports
- She performs the initial assessment and investigation
- Based on the case details, she determines if legal review is needed
- If legal review is needed, she selects a specific legal team member based on expertise
-
For Thomas (Legal with Legal authorization):
- If selected by Maria, Thomas receives the case for legal review
- He can see the case details despite being in a different department
- He provides legal guidance and recommendations
-
For Sophia (HR Manager with HR-Confidential authorization):
- Sophia reviews the investigation findings and legal recommendations
- She approves the final resolution
- For severe cases, she can route to Executive review
-
For William (Executive with Executive authorization):
- William only sees the most severe cases that require executive attention
- He has final approval authority on these cases
This workflow demonstrates how highly sensitive processes can be tightly controlled using specialized authorization channels (HR-Confidential), while still allowing necessary cross-department collaboration (with Legal) through the "Allow Previous Task Handler to Choose" option.
Example 7: Conditional Approval Process for High-Value Purchases (Very Complex)
OSPROV Workflow Configuration:
- Roles: Employee, Manager, Finance Manager, CFO, IT Security, Procurement
- Authorization Channels: IT, Finance, Operations, Procurement
- Tasks:
- Purchase Request Form (Employee role)
- Manager Approval (Manager role)
- Conditional Task: Value Check (System evaluation - checks if purchase value > $10,000)
- Finance Review (Finance Manager role, only for high-value purchases)
- CFO Approval (CFO role, only for high-value purchases)
- Conditional Task: IT Equipment Check (System evaluation - checks if purchase is IT equipment)
- IT Security Review (IT Security role, only for IT equipment)
- Procurement Processing (Procurement role, with "Ignore Authorization Channel" checked)
How It Works in OSPROV:
-
For Michael (Operations Employee with Operations authorization channel):
- Michael submits a purchase request for new equipment costing $15,000
- He completes the purchase request form with all required details
- Michael only needs the Operations authorization channel to see and start this workflow
-
For Jennifer (Operations Manager with Operations authorization channel):
- Jennifer receives the purchase request in her task list
- She reviews the business justification and approves the request
- The workflow then reaches the first conditional task
-
First Conditional Branch (Value Check):
- The system automatically evaluates if the purchase value exceeds $10,000
- Since Michael's request is $15,000, the condition evaluates to TRUE
- The workflow follows the "high-value" branch to Finance Review
- If the value had been under $10,000, it would have skipped Finance and CFO approval
-
For Robert (Finance Manager with Finance authorization channel):
- Robert receives the high-value purchase request for financial review
- He verifies budget availability and financial compliance
- After his approval, the request moves to the CFO
-
For Patricia (CFO with Finance authorization channel):
- Patricia reviews the high-value purchase for final financial approval
- After her approval, the workflow proceeds to the next conditional task
-
Second Conditional Branch (IT Equipment Check):
- The system evaluates if the purchase involves IT equipment
- Based on the form data, this condition evaluates to TRUE
- The workflow follows the "IT equipment" branch to IT Security Review
- If it wasn't IT equipment, it would skip directly to Procurement
-
For David (IT Security with IT authorization channel):
- David reviews the IT equipment purchase for security compliance
- He ensures the equipment meets security standards
- After his approval, the request moves to Procurement
-
For Susan (Procurement with Procurement authorization channel):
- Susan processes the approved purchase request
- Her task has "Ignore Authorization Channel" checked since Procurement handles all approved purchases
- She creates the purchase order and completes the workflow
This complex OSPROV workflow demonstrates:
- True/false conditional branching to create different approval paths based on specific criteria
- Sequential processing that adapts based on the request characteristics
- Role-specific tasks that ensure proper oversight at each stage
- Authorization channels that restrict visibility to appropriate departments
- The "Ignore Authorization Channel" option for functions that need cross-department access
- How a single workflow can handle different scenarios through conditional logic