Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
15087 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
3789
1
jun 24
29426
1
mar 18
11273