Fórum

Kaleo workflow transitions' default attribute

Vincent CARNINO, modificado 9 Anos atrás.

Kaleo workflow transitions' default attribute

Junior Member Postagens: 47 Data de Entrada: 11/09/14 Postagens Recentes
I'm can't understand what is the use of the default attribute of transitions in Kaleo workflow. Someone might enlighten me, please ?
Vincent CARNINO, modificado 9 Anos atrás.

RE: Kaleo workflow transitions' default attribute

Junior Member Postagens: 47 Data de Entrada: 11/09/14 Postagens Recentes
Nobody knows ?

Apparently, this value is used by NodeExecutors (during doExit() for TaskNodeExecutor, doExecute() for StateNodeExecutor, ...) if the name of the current KaleoTransition is Null but i don't understand in which cases it would happen ...

Can someone help me, please ?
thumbnail
Jitendra Rajput, modificado 9 Anos atrás.

RE: Kaleo workflow transitions' default attribute

Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
If my understanding is correct then it some thing like switch case .. If no condition will match then default case will be called.
Vincent CARNINO, modificado 9 Anos atrás.

RE: Kaleo workflow transitions' default attribute

Junior Member Postagens: 47 Data de Entrada: 11/09/14 Postagens Recentes
Apparently but i don't see when it happens because states in workflows don't need any extra help from user, it potentially execute its script but there is no choice.
And for the task node, a choice of the "reviewer" is required then there is no need for a default transition ...

I don't get the use of this attribute.