Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
15257 Visualizações

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

Thansk

 

Avatar
Cancelar
Melhor resposta

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
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
1
mar. 21
3943
1
jun. 24
30210
1
mar. 18
11472