Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By uskumar33
#796062
I'm looking for processmaker community workflow designer source code.
not sure where can i get the same?
By amosbatto
#796071
Most of the code for the BPMN process designer is found in:
processmaker/vendor/colosa/MichelangeloFE/build/js/designer.js
Which is run in its minimized form in:
processmaker/workflow/public_html/lib/mafe/designer.min.js

This JavaScript calls REST endpoints which are defined in:
processmaker/workflow/engine/src/ProcessMaker/Services/Api/Project.php

Note: To update the JavaScript code, you need to use these commands:
cd /opt/processmaker (change to where you installed PM)
php processmaker build-js
By amosbatto
#796082
You should turn on your web browser's debugger and watch the network traffic to figure out which REST endpoints are being called when editing the process map. That will help you a lot to understand the code. I recommend using a tool like grep in Linux that allows you to search through all the code in PM to find where things are defined.

Hi Amo, I was using PM 3.2.2, and in my process, […]

(+91-9876425548) How can we bring back our ex by d[…]

(+91-9876425548) Indian Astrologer Get EX Love bri[…]

CLASSIC AND BPMN

Hi in PM 3.0 GA community edition Is there a way t[…]