AnsweredAssumed Answered

Update WorkflowIntance property in Java

Question asked by joaotpd on Aug 7, 2013
Latest reply on Aug 13, 2013 by joaotpd
Hi All,

Does anyone know how to update the WorkflowInstance property "description"?
Why the following code does not work?!! …

String newDescription = "something";
List<WorkflowInstance> contentWorkflows = workflowService.getWorkflowsForContent(documentRef, false);

for (WorkflowInstance workflow : contentWorkflows)
     workflow.description = newDescription;

Thanks in advance :)