Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
15216 Vistas

Hi, how can i send a signal to a workflow from code (no button) with the new v8 api?

Thansk

 

Avatar
Descartar
Mejor respuesta

record.signal_workflow('signal')

For example:

self.signal_workflow('action_assign')

P.S.: As always when working with workflows double check that you are in the right place of it. For example to trigger 'invoice_open' you should be in "act_proforma2".

Avatar
Descartar
Autor

So I tried it and no work for me. invoice.signal_workflow('invoice_open')

Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 21
3916
1
jun 24
30138
1
mar 18
11467