Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Deepak Poyilil
Assign workflow to different webcontent
21 marzo 2011 3.45
Risposta

Deepak Poyilil

Punteggio: New Member

Messaggi: 20

Data di Iscrizione: 23 dicembre 2010

Messaggi recenti

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 marzo 2011 7.34
Risposta

Thiago Leão Moreira

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1384

Data di Iscrizione: 10 ottobre 2007

Messaggi recenti

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 marzo 2011 22.35
Risposta

Deepak Poyilil

Punteggio: New Member

Messaggi: 20

Data di Iscrizione: 23 dicembre 2010

Messaggi recenti

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 marzo 2011 7.54
Risposta

Thiago Leão Moreira

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1384

Data di Iscrizione: 10 ottobre 2007

Messaggi recenti

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 maggio 2012 21.12
Risposta

Nguyễn Cường

Punteggio: New Member

Messaggi: 11

Data di Iscrizione: 5 febbraio 2012

Messaggi recenti

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 maggio 2012 11.21
Risposta

Jonas Yuan

Punteggio: Liferay Master

Messaggi: 993

Data di Iscrizione: 26 aprile 2007

Messaggi recenti

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 maggio 2012 15.47
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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 maggio 2012 17.50
Risposta

Nguyễn Cường

Punteggio: New Member

Messaggi: 11

Data di Iscrizione: 5 febbraio 2012

Messaggi recenti

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 maggio 2012 2.14
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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 maggio 2012 8.57
Risposta

Nguyễn Cường

Punteggio: New Member

Messaggi: 11

Data di Iscrizione: 5 febbraio 2012

Messaggi recenti

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 maggio 2012 16.55
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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 giugno 2013 20.30
Risposta

Chun Wei Ho

Punteggio: New Member

Messaggi: 8

Data di Iscrizione: 20 dicembre 2011

Messaggi recenti

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.