anonymous Log in
Search
Recents:
v3.0
gxflow-l
Starting a GXflow process from outside the inbox
05/09/19 09:32

icors

Replies: 1

Buenos días gente basandonos en este link (
https://wiki.genexus.com/commwiki/servlet/wiki?4178,HowTo%3A+Starting+a+GXflow+process+from+outside+the+inbox,)
en el wiki
nos indica que para llamar a la tarea inicial del diagrama hay que realizar
la siguiente sentencia
//If you stop here, somebody can go to the inbox and the task will
appear there, but if you want to run the first task now, you have to
invoke it:&process.GetActivityByName(<the name of your first
task>,&activity,&error)&processInstance.GetWorkitemByActivity(&activity,&workItem,&error)
*call(<your first activity object> ,&process,&processInstance,&workItem)*
*La duda que nos queda es la siguiente: (nuestra primera actividad es
una transacción.)*
*Cuando realizamos ese call a la TRN, esa TRN debe tener en
parametros, &process, &processInstance y &workitem?*
*o como ejecutamos directamente la primer tarea desde el llamado a las
API de gxflow?*
*Muchas gracias por cualquier orientacion*
*Trabajamos con gx15 u12 (sqlserver)*
*saludos.*
---------------------------------------
Para Suscribirse/Desuscribirse:
http://www.gxtechnical.com/cgi-bin/hforum.exe?2,3,30,7
Por consultas owner-gxflow-l@gxtech.com.uy
Replies

plusvalia

05/09/19 13:54
Hola, Para mi no necesitás agregarle esos parámetros a la TRN. Eso lo maneja GX solo. Saludos, Mateo Fernández Executive Partner Email: mateofd@plusvalialabs.com LinkedIn: https://www.linkedin.com/in/mateofd Web: http://www.plusvalialabs.com Make Tech Work for You...not the other way around Don't print this email unless you have to. Let's protect the Environment. No imprima este correo electrónico si no es necesario. Protejamos el Medio Ambiente. > On Sep 5, 2019, at 9:32 AM, Israel Cors


Back to gxflow-l