Skip to Content
Menu
Dette spørgsmål er blevet anmeldt

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

Avatar
Kassér

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

Forfatter

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 Besvarelser Visninger Aktivitet
0
sep. 23
2498
2
sep. 23
2791
3
dec. 24
6475
1
okt. 24
1245
3
apr. 24
2374