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

Hi team,

Can you help me in create workFlow for crm.lead module

Requirement is to Change Stage of Lead to 'Pending Application" to trigger email workflow to new contact

I just coded to a level

ObjectAdapter objectAdOrder = openERPSession.getObjectAdapter("crm.lead");
String[] NewTuple = new String[]{"partner_id", "name", "email_from"};

Row newObject = objectAdOrder.getNewRow(NewTuple);

newObject.put("partner_id", "1"); newObject.put("name", "chandan"); newObject.put("email_from", "chandan.singh@bizruntime.com"); objectAdOrder.createObject(newObject); System.out.println("under process.."); objectAdOrder.executeWorkflow(newObject, "order_confirm"); System.out.println("worlflowExecuted");

but I am getting error as Could not find signal with name 'order_confirm' for object 'crm.lead'

so can you please explain how to find signal for crm.lead module to pass in executeWorkflow.

Thanks

อวตาร
ละทิ้ง

i dont know the ans... but i need to know one thing....y are u using java code instead of python...

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 17
2605
workflow transition แก้ไขแล้ว
1
ส.ค. 17
3158
1
มี.ค. 16
3471
2
มี.ค. 15
3402
0
พ.ย. 17
5648