How to make a process without form of instantiation

1
0
-1

English

I need to create a process formless instance, I need to know which user has entered to load a business object and do so with the "init value" of my process variable.

When you start the process you need to place a form instance and at least one submit button to move to the next human task, which, in my view is a little ugly, no way not to place the form initialization?

Spanish

Yo necesito crear un proceso sin forma de instancias, necesito saber que usuario ha ingresado para cargar un objeto de negocios y lo hago mediante el "init value" de mi variable de proceso.

Al iniciar el proceso es necesario colocar una forma de instancia y por lo menos un boton de submit para pasar a la siguiente tarea humana, lo cual, a mi parecer se hace ver un poco feo, ¿hay forma de no colocar el formulario de inicializacion?

import org.bonitasoft.engine.bpm.process.ProcessInstance;
import com.company.model.Empresa;

ProcessInstance processInstance = apiAccessor.getProcessAPI().getProcessInstance(processInstanceId);
Empresa objEmpresa = empresaDAO.findByBonitaID(processInstance.getStartedBy());
return objEmpresa;
1 answer

1
0
-1
This one is the BEST answer!

Hi,

In Bonita 7 you have to select the pool and then go to the "Execution" tab, then you have to select the legacy Bonita 6.x option. Once you have done this, you have to go to "Application 6.x" tab and select the Skip option.

If you have Bonita 6.x you only have to do from select "Application" tab.

If you do this your process will not have an initial form (or instance form), but your users will start a case always for using it.

I hope it helps, bye.

Hola,

En Bonita 7 tienes que seleccionar el pool y luego ir a la pestaña "Ejecucuón", luego seleccionar la opción de Bonita 6.x. Una vez has hecho esto debes ir a la pestaña "Aplicación 6.x" y luego seleccionar la opción omitir.

Si usas Bonita 6 sólo tienes que ir a la pestaña aplicación y luego dar a la opción omitir.

Is haces esto el proceso no tendrá un formulario inicial (o de instancia), sin embargo tus usuarios siempre que abran el proceso iniciarán un caso.

Espero sirva.

Notifications