cancel
Showing results for 
Search instead for 
Did you mean: 

WorkflowInstance classes deprecation?

darionis
Champ on-the-rise
Champ on-the-rise
Hello,

As I can see from javadoc, http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/workflow/WorkflowInst..., all class fields except dueDate are deprecated. The same is true for WorkflowTask class.

Could anybody please explain why are these fields deprecated and what are the replacements? I am developing application that uses WorkflowService and I need to use classes with deprecated fields - am I doing it wrong? What is preferred way for getting information about tasks?

Thank you!
2 REPLIES 2

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

You need to use getter methods instead of fields.
for example :
initiator — getInitiator()
active —– isActive()

Thanks, understood!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.