Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
15207 Visualizzazioni

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

Thansk

 

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
1
mar 21
3913
1
giu 24
30130
1
mar 18
11467