Skip to Content
Menu
This question has been flagged
1 Atsakyti
15224 Rodiniai

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

Thansk

 

Portretas
Atmesti
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".

Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
1
kov. 21
3933
1
birž. 24
30152
1
kov. 18
11469