How can i perform to get Last Workflow status of a web content in liferay ?
In fact, I've tried with WorkflowTaskManagerUtil
with calling getWorkflowTasksByUser
or even with search
methods but without success.
Asked
Active
Viewed 182 times
0

wikimix
- 457
- 6
- 23
1 Answers
1
The web content entity has version and status fields. You can retrieve the latest content using any of the getLatestAeticle methods from the class JournalArticleLocalService and check the status. On class WorkflowConstants you can find all the available status and its values.

Eduardo Pérez
- 488
- 3
- 10