Hi @tom_fought
Here is the difference
n Adobe Experience Manager (AEM), both com.day.cq.workflow and com.adobe.granite.workflow are Java APIs related to workflow management, but they belong to different stages of AEM's evolution and serve slightly different purposes. Here's a breakdown of the differences:
1. Namespace Origin
2. Architectural Alignment
3. Feature Enhancements
4. Recommended Usage
- For legacy projects, the
com.day.cq.workflow API might still be necessary for maintaining backward compatibility.
- For new projects, always use
com.adobe.granite.workflow as it is the modern, preferred approach and offers better support for current AEM features.
| Feature |
com.day.cq.workflow |
com.adobe.granite.workflow |
| Namespace Origin |
Day Software (Legacy) |
Adobe (Modern) |
| Architecture |
JCR-centric |
Granite Platform, OSGi-compliant |
| Use Case |
Legacy compatibility |
Modern workflows |
| Feature Support |
Basic |
Enhanced and scalable |
| Recommendation |
Use for maintenance of old code |
Use for all new implementations |
Note : GenAI Generated content but the information is from Adobe docs.