Your workflow escalation issue involves configuration gaps across all three focus areas. Here’s the comprehensive solution:
Custom Escalation Rule Configuration:
The escalation rule must be properly defined at the workflow activity level. Navigate to your approval activity in the workflow designer and verify these settings:
- Activity Properties > Escalation tab must be enabled
- Escalation Type should be set to “Time-Based”
- The escalation condition must reference the correct workflow variable or property
- Escalation Path must point to a valid escalation activity in your workflow graph
In Aras 12.0, escalation conditions don’t automatically evaluate based on task age. You need to explicitly configure the time threshold. The common mistake is assuming the workflow engine will calculate task age automatically - it won’t. You must create a workflow variable that tracks task start time and compare it to current time in your condition.
Overdue Task Detection Implementation:
The escalation condition needs to be structured correctly for time-based evaluation. Here’s the proper approach:
- Add a workflow variable: task_start_time (set when activity begins)
- Add a workflow variable: escalation_threshold (set to 48 hours in minutes: 2880)
- Configure the escalation condition to evaluate:
- Current Time - task_start_time > escalation_threshold
The workflow escalation agent evaluates these conditions every 15 minutes by default. Your condition must be structured as a boolean expression that the agent can evaluate. Complex logic or method calls in escalation conditions often fail silently.
Critical Configuration:
Verify the Workflow Escalation Agent service is running:
- Windows: Check “Aras Workflow Escalation Agent” in Services
- Linux: Check workflow_escalation_agent daemon status
If the service isn’t running, escalations will never trigger regardless of configuration.
Notification Template Setup:
Your notification templates must be associated with the escalation activity, not the approval activity. Common configuration:
- Create an escalation activity in your workflow (separate from approval activity)
- Connect approval activity to escalation activity with a transition
- Transition condition: task_age > threshold
- Escalation activity type: Auto (executes immediately when reached)
- Escalation activity action: Send Notification
- Configure notification recipients using workflow variables:
- ${task_owner_manager} for direct manager
- ${department_head} for department escalation
Complete Solution Architecture:
Your workflow should follow this pattern:
[Approval Activity] → (48hr timeout) → [Escalation Activity] → [Notification]
The escalation activity needs these properties:
- Activity Type: Auto
- Execute: Notification Method
- Method: Send_Escalation_Email
- Recipients: Derived from task owner’s manager relationship
Implementation Steps:
-
Add workflow variables for time tracking:
- task_start_time: Set to current_date() when approval activity begins
- hours_elapsed: Calculated as (current_date() - task_start_time) / 60
-
Create escalation activity:
- Add new activity to workflow graph
- Set activity type to Auto
- Configure notification method to use your email template
-
Add transition from approval to escalation:
- Condition: hours_elapsed > 48 AND task_status = ‘Pending’
- Priority: Set higher than normal completion transitions
-
Configure the escalation timer at workflow process level:
- Enable “Check Escalations” option
- Set check interval (default 15 minutes is usually sufficient)
-
Grant permissions to Workflow Escalation Agent identity:
- Read access to workflow task properties
- Read access to user/identity relationships for manager lookup
- Execute permission on notification methods
Testing Approach:
For immediate testing without waiting 48 hours:
- Temporarily reduce escalation threshold to 5 minutes
- Start a test workflow and let approval task sit idle
- Monitor the escalation agent logs for evaluation attempts
- Verify notification is sent after 5 minutes
- Once confirmed working, restore 48-hour threshold
Troubleshooting Checklist:
- Escalation agent service running: Check system services
- Agent has proper permissions: Verify identity grants
- Workflow variables initialized: Check workflow instance data
- Notification templates valid: Test template rendering separately
- Escalation path connected: Verify workflow graph transitions
- Time calculations correct: Ensure UTC consistency throughout
The key insight for Aras 12.0 is that escalation isn’t automatic based on task age - you must explicitly model the escalation path as workflow activities with time-based transition conditions. The escalation agent only evaluates these transitions; it doesn’t inherently understand SLA thresholds. By properly structuring your workflow with explicit escalation activities and time-based transitions, your overdue task notifications will trigger reliably whenever approval tasks exceed the 48-hour threshold.