Skip to Content
Menú
This question has been flagged
1 Respondre
15068 Vistes

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

Thansk

 

Avatar
Descartar
Best Answer

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')

Related Posts Respostes Vistes Activitat
1
de març 21
3769
1
de juny 24
29268
1
de març 18
11260