Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Deepak Poyilil
Assign workflow to different webcontent
21 de marzo de 2011 3:45
Respuesta

Deepak Poyilil

Ranking: New Member

Mensajes: 20

Fecha de incorporación: 23 de diciembre de 2010

Mensajes recientes

I have multiple web contents and I want to assign different type of workflow for each.How to achieve it.
Thiago Leão Moreira
RE: Assign workflow to different webcontent
21 de marzo de 2011 7:34
Respuesta

Thiago Leão Moreira

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1429

Fecha de incorporación: 10 de octubre de 2007

Mensajes recientes

Hi Deepak,

You can do that using different communities/organizations to have different workflows for the same type of asset (web content).

Community A - Workflow A - Web Content A
Community B - Workflow B - Web Content B
Deepak Poyilil
RE: Assign workflow to different webcontent
21 de marzo de 2011 22:35
Respuesta

Deepak Poyilil

Ranking: New Member

Mensajes: 20

Fecha de incorporación: 23 de diciembre de 2010

Mensajes recientes

Thanks Thiago for your reply, But my requirement is quiet different.We are behalf of a feasibility study, to migrate a website to liferay which contain mulitple webcontent with different level of workflow and stuck with this issue.Is there any other practical solution
Thiago Leão Moreira
RE: Assign workflow to different webcontent
22 de marzo de 2011 7:54
Respuesta

Thiago Leão Moreira

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1429

Fecha de incorporación: 10 de octubre de 2007

Mensajes recientes

Got it! OOTB Liferay does not provide such solution you gonna have to customize it.
Nguyễn Cường
RE: Assign workflow to different webcontent
9 de mayo de 2012 21:12
Respuesta

Nguyễn Cường

Ranking: New Member

Mensajes: 11

Fecha de incorporación: 5 de febrero de 2012

Mensajes recientes

Hi Thiago emoticon
I have a similar question with Deepak's.
In Liferay, is it impossible to combine difference web contents ( web content A & web content B & .... ) within a single workflow definition (workflow X) ?
Thanks in advance!
Jonas Yuan
RE: Assign workflow to different webcontent
10 de mayo de 2012 11:21
Respuesta

Jonas Yuan

Ranking: Liferay Master

Mensajes: 993

Fecha de incorporación: 26 de abril de 2007

Mensajes recientes

OOTB Liferay does not provide such solution, but you can define your custom asset (for example called Wish-List) wich bundle a list of web content (Journal Article) first, and then apply workflow on the custom asset.
Hitoshi Ozawa
RE: Assign workflow to different webcontent
10 de mayo de 2012 15:47
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7949

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

You'll have to put a condition in your workflow definition on which path to take depending on the portlet id.
Nguyễn Cường
RE: Assign workflow to different webcontent
11 de mayo de 2012 17:50
Respuesta

Nguyễn Cường

Ranking: New Member

Mensajes: 11

Fecha de incorporación: 5 de febrero de 2012

Mensajes recientes

Hi Jonas & Hitoshi.
Thanks for response.
But I am a new comer, I don't understand clearly:
1. How can bundle many portlets into one asset ?
2. How to put a condition in my workflow definition ?
Are there any document or tutorial that I can learn more detail. Would you like suggest for me emoticon
Thanks a lot
Hitoshi Ozawa
RE: Assign workflow to different webcontent
15 de mayo de 2012 2:14
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7949

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

2. How to put a condition in my workflow definition ?


A simple approve/reject example is included in the Kaleo documentation:
http://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/workflow-with-kal-2


1. How can bundle many portlets into one asset ?


This question has been answered often enough in this forum. If you can't find it, please create a new thread because it's not concerned with the topic of this thread.
Nguyễn Cường
RE: Assign workflow to different webcontent
16 de mayo de 2012 8:57
Respuesta

Nguyễn Cường

Ranking: New Member

Mensajes: 11

Fecha de incorporación: 5 de febrero de 2012

Mensajes recientes

Oh, thank Hitoshi again emoticon Sorry, I have read that document but I can't apply in my case.
I am developing a recruitment project.
Assume that I have many portlets ( CV, the result of Review CV round, interview round ...) operating follow by a recruitment process.
I made a workflow definition from the recruitment process.
And I don't know by Kaleo workflow engine in Liferay, is it impossible to apply the recruitment workflow to all of the portlets ?
In my case, how do you think about others workflow engine like jBPM, Activiti or Aperte ?
Hitoshi Ozawa
RE: Assign workflow to different webcontent
16 de mayo de 2012 16:55
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7949

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

We don't use Kaleo because it's not a standard workflow engine across the entire enterprise. We and our customer just want 1 workflow engine to use for all applications to keep learning and maintenance low. Unfortunately, Kaleo is just limited to use in liferay alone.

I am using jBPM and more recently Activiti because they can and is already being used in other applications.

That said, I have to say that Kaleo's integration with liferay is nice. It's may seem like it'll be a good fit for a small organization without any other application requiring workflow, but small organization usually don't require workflow in the first place.

This is another of my best practices: Don't use Kaleo, use a workflow engine that can be used in other applications as well.
Chun Wei Ho
RE: Assign workflow to different webcontent
28 de junio de 2013 20:30
Respuesta

Chun Wei Ho

Ranking: New Member

Mensajes: 8

Fecha de incorporación: 20 de diciembre de 2011

Mensajes recientes

If you are using Liferay 6.1 GA2, there is now an application to allow workflow selection by Web Content Structure Type.

So you can have in a single community:
Web Content Structure A - Workflow A
Web Content Structure B - Workflow A

If you are running an older Liferay version, you can click through to the source code of that app, which can be rebuilt verbatim for 6.1 GA1, and backported for 6.0.

I hope this helps with your scenario.