Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2211 มุมมอง

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
2538
2
ก.ย. 23
2845
3
ธ.ค. 24
6561
Time condition in automation แก้ไขแล้ว
1
ต.ค. 24
1306
3
เม.ย. 24
2484