论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Workflow and ESB in LifeRay 6.0 Juan José Gago 2010年3月4日 上午12:45
RE: Workflow and ESB in LifeRay 6.0 Michael C. Han 2010年3月5日 上午7:35
RE: Workflow and ESB in LifeRay 6.0 Juan José Gago 2010年3月8日 上午3:27
RE: Workflow and ESB in LifeRay 6.0 Sandro Nala 2010年3月8日 上午8:30
RE: Workflow and ESB in LifeRay 6.0 Michael C. Han 2010年3月15日 上午5:57
RE: Workflow and ESB in LifeRay 6.0 Brian Ko 2010年5月26日 上午10:36
RE: Workflow and ESB in LifeRay 6.0 Christoph Damm 2010年7月12日 上午2:35
RE: Workflow and ESB in LifeRay 6.0 Christoph Damm 2010年7月16日 上午8:56
RE: Workflow and ESB in LifeRay 6.0 Alexey Kakunin 2010年7月18日 下午12:49
RE: Workflow and ESB in LifeRay 6.0 Christoph Damm 2010年7月19日 下午3:19
RE: Workflow and ESB in LifeRay 6.0 Sohui Gu 2010年8月17日 下午9:17
RE: Workflow and ESB in LifeRay 6.0 Philip Teagle 2010年8月19日 上午8:39
RE: Workflow and ESB in LifeRay 6.0 Seyed Mohammad Hosein Jamali 2010年11月16日 上午5:28
RE: Workflow and ESB in LifeRay 6.0 Seyed Mohammad Hosein Jamali 2010年12月13日 上午3:51
RE: Workflow and ESB in LifeRay 6.0 Seyed Mohammad Hosein Jamali 2010年12月13日 上午3:58
RE: Workflow and ESB in LifeRay 6.0 Alexey Kakunin 2010年12月13日 上午6:33
RE: Workflow and ESB in LifeRay 6.0 Seyed Mohammad Hosein Jamali 2010年12月19日 上午12:08
RE: Workflow and ESB in LifeRay 6.0 Namrata Hangal 2011年1月5日 上午2:40
RE: Workflow and ESB in LifeRay 6.0 Sohui Gu 2010年8月17日 下午9:11
Juan José Gago
Workflow and ESB in LifeRay 6.0
2010年3月4日 上午12:45
答复

Juan José Gago

等级: New Member

帖子: 2

加入日期: 2010年3月3日

最近的帖子

Hi, recently I've begun working with the latest version of Liferay. I’m interested in the development of portlets that make use of the integrated jBPM workflow of LifeRay, but I don’t find any documentation.
In the previous version (5.2.3) there are web plugins for the ESB (Mule o ServiceMix) and for the jBPM implementation of workflow engine. Both of them provides a BPM service for portlets.
In the current version, is there an ESB? Can I use the LifeRay integrated workflow from new custom portlets? Or, the LifeRay integrated workflow is only usable for web content and document library?

Thanks in advance.
Michael C. Han
RE: Workflow and ESB in LifeRay 6.0
2010年3月5日 上午7:35
答复

Michael C. Han

LIFERAY STAFF

等级: Junior Member

帖子: 69

加入日期: 2007年6月13日

最近的帖子

We do not bundle an ESB, but you can use Mule or ServiceMix.

While 6.0 will support jbpm3.2 as a workflow option, by default we will ship our own workflow. It does not have all the capabilities of jbpm (e.g. condition nodes, etc), but it will contain the primary features needed for human workflows. You may use either (workflow engines will swap automatically similar to how the search engine adapters work).

You can use the embedded workflow for custom portlets. You'll have to do so via the interfaces defined in com.liferay.portal.kernel.workflow.*

Initially, for 6.0, workflow will be document library and web content. For 6.1, we currently plan to add this across other portal assets. The goal is to allow workflow control via the same task console and workflow console for any assets deployed to the portal.
Juan José Gago
RE: Workflow and ESB in LifeRay 6.0
2010年3月8日 上午3:27
答复

Juan José Gago

等级: New Member

帖子: 2

加入日期: 2010年3月3日

最近的帖子

Ok, thanks for the info, but I would like to know more about the Liferay's workflow engine, is there any information resource available about Liferay's workflow engine?
Sandro Nala
RE: Workflow and ESB in LifeRay 6.0
2010年3月8日 上午8:30
答复

Sandro Nala

等级: New Member

帖子: 21

加入日期: 2009年8月11日

最近的帖子

I am also very interested
Michael C. Han
RE: Workflow and ESB in LifeRay 6.0
2010年3月15日 上午5:57
答复

Michael C. Han

LIFERAY STAFF

等级: Junior Member

帖子: 69

加入日期: 2007年6月13日

最近的帖子

We are still busy with the final implementation details, but you can see the XSD in trunk today (liferay-workflow-definition-6_0_0.xsd. At present, we are supporting the normal following types of nodes:
(1) State
(2) Fork
(3) Join
(4) Task

Actions are supported for each type of node (both onEntry and onExit). Instead of being Java code, actions are expressed in a scripting language (e.g. Javascript, Ruby, Python, Groovy). In the action script, you will be able to available Liferay APIs.
Brian Ko
RE: Workflow and ESB in LifeRay 6.0
2010年5月26日 上午10:36
答复

Brian Ko

等级: Junior Member

帖子: 70

加入日期: 2010年2月11日

最近的帖子

Michael,

I would like to test workflow in LR 6.0.1. Do you have any suggestion on where I can start?

Any documentation, link, or name of the java class I can read will be appreciated.

Brian Ko
Christoph Damm
RE: Workflow and ESB in LifeRay 6.0
2010年7月12日 上午2:35
答复

Christoph Damm

等级: New Member

帖子: 6

加入日期: 2010年7月12日

最近的帖子

Hi Michael.

I was playing around with Liferays workflow portlet (using KaleoWeb) using Liferay 6.0 RC2.
My main question is, wheter it is possible to scope workflow definitions more fine granular.
E.g. i got a single approver workflow for web content.
Now i want to achieve that web content has different reviewers relying on its category.
Is that something that is possible within liferays (or jbpm) business logic?
I'm thinking about something like...:
1) ordinary start state
2) Conditional transitions, evaluating the category of the web content
3) now different tasks with different swimlanes, the lanes defining the reviews via group id.
4) ordinary approve / reject

So the only thing i'm not sure if it will work is point 2, as i'm not sure how/if it's possible to check the web content category via condition.

Anyone could confirm my approach might work or if there's a more smart solution?

Kind regards,
Christoph
Christoph Damm
RE: Workflow and ESB in LifeRay 6.0
2010年7月16日 上午8:56
答复

Christoph Damm

等级: New Member

帖子: 6

加入日期: 2010年7月12日

最近的帖子

Hi everybody.

Try to setup 6.0.3 GA with jbpm, i build the jbpm-war from trunk, but how and where do i get the mule or servicemix war?

Kind regards,
Christoph
Alexey Kakunin
RE: Workflow and ESB in LifeRay 6.0
2010年7月18日 下午12:49
答复

Alexey Kakunin

等级: Expert

帖子: 363

加入日期: 2008年7月7日

最近的帖子

Hi!
In Liferay 6 neiver Mule nor ServiceMix is required to work with jBPM.
Liferay now has own workflow API and several implementation (kaleo and jBPM3 based). As well as it is possible to implement own (for example some time ago I've started jBPM4 based implementation - but should place it on hold due to time limit).

==
Alexey Kakunin
EmForge: Liferay Based Project Hosting Service
Christoph Damm
RE: Workflow and ESB in LifeRay 6.0
2010年7月19日 下午3:19
答复

Christoph Damm

等级: New Member

帖子: 6

加入日期: 2010年7月12日

最近的帖子

Hi Alexey,

thank you for your clarification.
I managed now to get jbpm3 running with Liferay 6.0.3GA.

As well i managed (with jbpm) to basically realize the scenario i described earlier by writing my own DecisionHandler that returns the transition name conditional to the category of an asset.

EDIT: Finally decided to write my own assignment handler to be more flexible and have no need to adapt the workflow if categories are added.


Kind regards,

Christoph
Sohui Gu
RE: Workflow and ESB in LifeRay 6.0
2010年8月17日 下午9:11
答复

Sohui Gu

等级: Regular Member

帖子: 114

加入日期: 2006年7月6日

最近的帖子

Thanks, Michael!!
Hope have some documents on How to develop portlet of some entity workflow!!!emoticonemoticon
Sohui Gu
RE: Workflow and ESB in LifeRay 6.0
2010年8月17日 下午9:17
答复

Sohui Gu

等级: Regular Member

帖子: 114

加入日期: 2006年7月6日

最近的帖子

Hi, Alexey!!

I am excited of seeing EmForge of Liferay Based Project Hosting Service..

Greet!!

Hope to try it!!!

Thanks!!

emoticonemoticonemoticon
Philip Teagle
RE: Workflow and ESB in LifeRay 6.0
2010年8月19日 上午8:39
答复

Philip Teagle

等级: New Member

帖子: 1

加入日期: 2010年7月28日

最近的帖子

Has anyone attempted to integrate Servicemix 4 with Liferay 6 yet? We are actively using Servicemix 3 with Liferay 5.2.3 with no issues.
Seyed Mohammad Hosein Jamali
RE: Workflow and ESB in LifeRay 6.0
2010年11月16日 上午5:28
答复

Seyed Mohammad Hosein Jamali

等级: Junior Member

帖子: 71

加入日期: 2009年12月13日

最近的帖子

Hi!

why by removing (undeploy) kaleo-web workflow links of Control Panel removed too ?
Seyed Mohammad Hosein Jamali
RE: Workflow and ESB in LifeRay 6.0
2010年12月13日 上午3:51
答复

Seyed Mohammad Hosein Jamali

等级: Junior Member

帖子: 71

加入日期: 2009年12月13日

最近的帖子

ok , i start from source code where there is no workflow engine , by deploying jbpm-web to liferay control panel items appear again.
Seyed Mohammad Hosein Jamali
RE: Workflow and ESB in LifeRay 6.0
2010年12月13日 上午3:58
答复

Seyed Mohammad Hosein Jamali

等级: Junior Member

帖子: 71

加入日期: 2009年12月13日

最近的帖子

Hi all

i deploy jbpm-web to liferay but there is no default definition. i saw files of jbpm-web that is located in tomcat folder in the webapps and there is definition folder that has single-approval-definition.xml.
also in control-panel>workflow i can not add New Workflow Definition !! liferay show red messages (error). i use single-approval-definition.xml for defining the definition but it didn't work !!!

please help
thanks
Alexey Kakunin
RE: Workflow and ESB in LifeRay 6.0
2010年12月13日 上午6:33
答复

Alexey Kakunin

等级: Expert

帖子: 363

加入日期: 2008年7月7日

最近的帖子

Hi!
If you got sources of jbpm-web, you should be able to build sample process-definition with using ant build-samples - it will place sample par (Process Archive) file into samples folder - that par need to be deployed into Liferay.

You may be also interested in jbpm4-web plugin - provided same functionality (but with using newest jBPM4.4 version) or activiti portlet (integration of Liferay with Activiti workflow engine).
Both are not in final state - but quite usable.

jBPM4 support: http://www.emforge.net/web/jbpm4-portlet
Activiti Support: http://www.emforge.net/web/activiti-liferay


==
Alexey Kakunin
EmForge: Liferay Based Project Hosting Service
Seyed Mohammad Hosein Jamali
RE: Workflow and ESB in LifeRay 6.0
2010年12月19日 上午12:08
答复

Seyed Mohammad Hosein Jamali

等级: Junior Member

帖子: 71

加入日期: 2009年12月13日

最近的帖子

Hi Alexey

I run build-sample and There is Single Approver.jar in the sample folder. how can i deploy it into liferay ?

Thanks
S.M.H.Jamali
Namrata Hangal
RE: Workflow and ESB in LifeRay 6.0
2011年1月5日 上午2:40
答复

Namrata Hangal

等级: Regular Member

帖子: 161

加入日期: 2010年7月26日

最近的帖子

Hi everybody,

Could anybody please direct me to any documentation on Liferay 6 and jBPM 3 integration?
What are the initial steps to be carried out?

What is the location of jBPM 3 in Liferay SVN? Also, how does one build it? I'm using Fedora Core 11.

I'm new to Liferay and exploring workflow in Liferay 6 right now... Specially focusing on jBPM 3.

Thanks!