Skip to Content
Menu

Camunda integration

by
Odoo

5.85

v 16.0 Third Party 6
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 1046
Technical Name ndev_workflow_camunda
LicenseLGPL-3
Websitehttps://ndev.online
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 1046
Technical Name ndev_workflow_camunda
LicenseLGPL-3
Websitehttps://ndev.online

Create Camunda process with BPMN modeler

Configure http-connectors as JSON-RPC to odoo server

Input parameters:

  • url - http://odoo:8069/jsonrpc
  • method - POST
  • headers - MAP ["Content-type":"application/json"]
  • payload as javascript:
    payload =
    {
        "jsonrpc":"2.0",
        "method":"call",
        "id":21971,
        "params":
        {
            "service":"object",
            "method":"execute",
            "args":[
                "odoo16", //database name
                2, //user ID, created API token
                "0459920563e8196bf3f0388b26c1b178ceacd8fd", //your odoo's API token
                "mail.activity", // object
                "create", // method
                {
                    "res_model_id":Number(res_model_id), // is getting from workflow
                    "res_id":Number(res_id), // is getting from workflow
                    "date_deadline":"2023-07-14",
                    "activity_type_id":8, // activity TYPE ID = approve
                    "user_id": _user_id, // USER ID created the partner
                    "summary":"Create Portal access for " + name, // `name` is getting from workflow
                    "correlation_id" : "Message_qwiuy42", // Message which will wait answer
                    "workflow_id" : _workflow_id
                }
            ]
        }
    }
    JSON.stringify(payload)
                    
Return parameters
  • activity_id - ${ S(response).prop("result").value() }

Deploy process to camunda server

Create Camunda server

Enumerate processes from server

Create Base Automation hook

Create new partner

Follow through process and create Task and Objects

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
There are no ratings yet!
Can the application work with ODOO 17?
by
Stan Crow
on 12/8/23, 1:40 AM

Can the application work with ODOO 17?


Question and Answer
by
Bui Quoc Viet
on 11/20/23, 11:09 PM

If I buy this module, do I have the user manual for this module?

Re: Question and Answer
by
Святослав Надозірний
on 11/22/23, 3:15 AM Author

manual for module or manual for BPMN? This module is an addon for ndev_workflow module - it takes worflows, processes from main module and connects with camunda REST-API