I’ve dealt with this exact issue multiple times when managing complex approval workflows. The problem involves three interconnected areas that must all be addressed:
Lookup Table Deployment:
When you modify lookup tables through Admin Console, the changes are written to the database but not automatically propagated to all system components. The deployment process has specific steps:
- Make lookup table changes in Admin Console
- Export the lookup table definition (Admin Console > Lookup Tables > Export)
- Verify the export XML contains your new entries
- Re-import the lookup table (Admin Console > Lookup Tables > Import)
- This triggers the deployment workflow that notifies all dependent systems
Skipping the export/import cycle means the changes exist in the database but aren’t fully deployed to the workflow engine and data modeler.
Cache Refresh Procedure:
Lookup table data is cached at multiple levels in Agile. A complete refresh requires:
// Pseudocode - Cache refresh sequence:
1. Admin Console > Cache Management > Clear All Caches
2. Admin Console > Workflow Management > Refresh Workflow Cache
3. Restart application server (critical step)
4. Clear Java Client cache on all workstations
5. Restart Data Modeler tool specifically
The application server restart is essential - cache clearing alone doesn’t reload lookup table metadata. The workflow engine initializes its lookup table registry during server startup.
Workflow Definition Validation:
Existing workflow definitions may have embedded references to the old lookup table structure. After deploying lookup changes and refreshing caches:
- Open each affected workflow in Data Modeler
- Navigate to the routing rule that uses the lookup table
- Remove and re-add the lookup table reference (don’t just edit it)
- This forces the workflow to reload the current lookup table schema
- Save and deploy the updated workflow definition
The workflow validator checks lookup values against a cached schema. If the workflow was created before your lookup changes, it’s validating against the old schema even after cache refresh.
Additional validation steps:
- Verify lookup entries are active in the database (enabled = 1)
- Check that the lookup table has no pending approval status that blocks use
- Confirm your user role has permission to view all lookup entries
- Test with a brand new workflow to isolate whether the issue is workflow-specific or system-wide
Query to verify deployment status:
SELECT le.name, le.enabled, le.deployed_date
FROM list_entry le
JOIN list l ON le.list_id = l.id
WHERE l.name = 'Approval_Department'
AND le.name = 'DEPT_ROBOTICS'
If deployed_date is NULL, the entry exists but hasn’t been deployed through the proper workflow.
One final consideration: if you’re using workflow templates or inherited workflows, the parent workflow definition might be overriding your lookup table configuration. Check the workflow inheritance chain to ensure no parent workflow is enforcing an older lookup table schema.
The complete solution requires proper lookup table deployment through export/import, comprehensive cache refresh including server restart, and explicit workflow definition updates to reload the new lookup schema. This ensures consistency across the Admin Console, Data Modeler, and runtime workflow engine.