JS libraries like Jquery in camunda tomcat distribution

My intention is to read csv and do similar things using ajax, jquery.
But i am not sure how i can add those libraries in tomcat.
Adding min.js files in the lib did not work.

Above image is the project structure,
i added jquery min.js in direct lib folder as well as in the lib folder present in the server folder, but nothing is helping to import in js file and make use of it.

Can you be more specific about what exactly is happening an what exactly you’re expecting?

My intention is to make ajax call inside the listener of service task,
where script type is javascript.
But camunda is not able identify it.
So is there anything that i need to add as libraries in tomcat distribution

1 Like

Hi @teja_polisetty,

if you want to provide extensive business logic with JavaScript, it is easier to switch from script tasks to external service tasks: https://docs.camunda.org/manual/7.13/user-guide/process-engine/external-tasks/.

There is a JavaScript client to support the communication with the engine: https://github.com/camunda/camunda-external-task-client-js.

Hope this helps, Ingo