Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2187 Переглядів

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

Аватар
Відмінити

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

Автор

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

Related Posts Відповіді Переглядів Дія
0
вер. 23
2516
2
вер. 23
2825
3
груд. 24
6527
1
жовт. 24
1274
3
квіт. 24
2422