How to utilize Execution and Task Listener For Activities in Camunda using Nodejs

Hello Guys,
I am trying to explore Camunda with Node, I want to know how can I access “execution” object using node. The main aim is to use Execution and Task Listener with Node. Can anyone please help me with it ?
@aravindhrs can you help in this please.

Hi @shoebsayyed118,

execution- and task listeners live only in the Java Virtual Machine.

You cannot access the execution object with Node.js, but you can access it in JavaScript: Scripting |

If you want to implement complex business logic in Node, you have to use external service tasks to bind your Node.js runtime to the executed process instances: GitHub - camunda/camunda-external-task-client-js: Implement your BPMN Service Task in NodeJS.

Hope this helps, Ingo

Hello @Ingo_Richtsmeier ,
Thanks for the reply and valuable information.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.