How to get to the EngineServices from a service task
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2013 10:11 AM
I am currently using Alfresco 4.0.e which has Activiti 5.7 deployed with it. I have a need within a service task to get access to the TaskService to query user tasks in the existing process instance. I see how to do it in Activiti 5.11 (its quite simple), but in Activiti 5.7 the same methods are not present in the DelegateExecution interface that is passed to the service class. Any assistance on this is greatly appreciated.
Also, as a side note, how difficult is it to upgrade the Activiti engine in Alfresco? Are there any whitepapers or wikis that I can take a look at?
Thanks,
- Shannon
Also, as a side note, how difficult is it to upgrade the Activiti engine in Alfresco? Are there any whitepapers or wikis that I can take a look at?
Thanks,
- Shannon
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2013 11:19 AM
Hi Shannon,
ProcessEngines.getDefaultProcessEngine() should give you the Activiti Engine from which you can get the TaskService interface.
In Alfresco Community HEAD we already upgraded to Activiti 5.11 so it's not too difficult.
Are you using Alfresco Enterprise or Community? If you are using Community it's probably easiest to upgrade to the latest version.
If you are using Enterprise it's probably wise to stick with 5.7, also from a support standpoint.
Best regards,
ProcessEngines.getDefaultProcessEngine() should give you the Activiti Engine from which you can get the TaskService interface.
In Alfresco Community HEAD we already upgraded to Activiti 5.11 so it's not too difficult.
Are you using Alfresco Enterprise or Community? If you are using Community it's probably easiest to upgrade to the latest version.
If you are using Enterprise it's probably wise to stick with 5.7, also from a support standpoint.
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2013 12:26 PM
Thanks for the quick reply! That was what I needed. We are using Alfresco Community. We have a production deployment already with Alfresco Community 4.0.e and this is a new project implementation that was going to expand the production deployment.
I am really enjoying working with Activiti and Alfresco. Keep up the great work!
- Shannon
I am really enjoying working with Activiti and Alfresco. Keep up the great work!
- Shannon
