Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
pawan chauhan
Kaleo workflow status
1 de Abril de 2013 06:38
Resposta

pawan chauhan

Ranking: Junior Member

Mensagens: 75

Data de entrada: 8 de Outubro de 2012

Mensagens recentes

Hi all,
I have implemented one level workflow using kaleo, it is working fine but i have one doubt..
When i add a new entry the status is 1 which goes to 0 when approved.
What should be the status after rejecting??
what does status=2 corresponds to ..

Please Reply,
Thanks and Regards,
Pawan Chauhan.
Subhash Pavuskar
RE: Kaleo workflow status
1 de Abril de 2013 07:00
Resposta

Subhash Pavuskar

Ranking: Regular Member

Mensagens: 234

Data de entrada: 12 de Março de 2012

Mensagens recentes

Hi,

As per my knowledge the status code is never set to "2" unless the appropriate user rejects the entire task. The single approver workflow simply transitions the asset back to the content creator for editing. Thus the task is still pending and not really rejected. Sorry If a am wrong.
Juan Gonzalez
RE: Kaleo workflow status
1 de Abril de 2013 07:09
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2947

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Guess status should be 4 (DENIED).

Here you have possible values:

https://github.com/liferay/liferay-portal/blob/6.1.x/portal-service/src/com/liferay/portal/kernel/workflow/WorkflowConstants.java#L76
pawan chauhan
RE: Kaleo workflow status
15 de Abril de 2013 23:17
Resposta

pawan chauhan

Ranking: Junior Member

Mensagens: 75

Data de entrada: 8 de Outubro de 2012

Mensagens recentes

thanks for the reply .. Got it now emoticon
Miguel Ramos
RE: Kaleo workflow status
9 de Maio de 2014 01:22
Resposta

Miguel Ramos

Ranking: New Member

Mensagens: 18

Data de entrada: 12 de Fevereiro de 2014

Mensagens recentes

Good everyone,

I need to ask about the status of the job , to take a decision in this regard , ie , if it has been rejected has been " denied" , but if not, has the status " pending" and in this case we have to approve it.

In what way I can know the current status of the task? , I've tried using the Packages.com.liferay.portal.kernel.workflow.WorkflowStatusManagerUtil.getWorkflowStatusManager () service, but returns an object of type WorkflowStatusManager and I get not get the state.

Thanks very much in advance.
Miguel Ramos
RE: Kaleo workflow status
12 de Maio de 2014 01:23
Resposta

Miguel Ramos

Ranking: New Member

Mensagens: 18

Data de entrada: 12 de Fevereiro de 2014

Mensagens recentes

Good everyone,

Can help me to get the status of a workflow, please?.

Thanks very much in advance.