Details
-
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
6.1.1 CE GA2
-
fedora 14 and windows. 64bit oses.
jdk 1.6.23
Tomcat bundle installation
kaleo war
Description
Using the single approver v1.
I have a standard web content file. With the API i try to approve it.
i tried :
ServiceContext approveContext = ServiceContextFactory.getInstance(JournalArticle.class.getName(), request);
approveContext.setWorkflowAction(WorkflowConstants.ACTION_PUBLISH);
JournalArticleLocalServiceUtil.updateStatus(getUserId(), journalArticle, WorkflowConstants.STATUS_APPROVED, URL, approveContext);
and
journalArticle.setStatus(WorkflowConstants.STATUS_APPROVED);
JournalArticleLocalServiceUtil.updateJournalArticle(journalArticle);
when i go back to the control panel i now have the document with the correct version number , with status approved.
However the document is still under "my workflows".