Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hi all, 

I want to call a funtion in the python interface-python code of an automated action.

The Issue: the method is part of another model, the Automation runs on Model crm.lead and the function is part of custom module crm.task.wizard.


How do I call create_task() from crm.task.wizard from the automated action? (see picture->doesnt work)




Thanks in advance!!

Friedrich

Awatar
Odrzuć

I would try this
for record in records:
record.action_create_task()

Autor

Hi Jaideep,
thank you but I decided to use the 'create a record' execution to stay more adaptable to process changes!
Thank you

Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 23
2499
2
wrz 23
2796
3
gru 24
6481
1
paź 24
1248
3
kwi 24
2375