ProcessMaker Designer

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.
uskumar33
Posts: 2
Joined: Tue Nov 07, 2017 12:23 am
Country: India

ProcessMaker Designer

Unread postby uskumar33 » Tue Nov 07, 2017 12:27 am

I'm looking for processmaker community workflow designer source code.
not sure where can i get the same?

amosbatto
Posts: 5564
Joined: Mon Jun 22, 2009 10:28 am
Country: Bolivia
Location: La Paz

Re: ProcessMaker Designer

Unread postby amosbatto » Tue Nov 07, 2017 10:59 pm

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
Amos B. Batto ♦ ProcessMaker Technical Documentation Writer & Forum Manager ♦ Cofounder of ILLA (http://www.illa-a.org)

uskumar33
Posts: 2
Joined: Tue Nov 07, 2017 12:23 am
Country: India

Re: ProcessMaker Designer

Unread postby uskumar33 » Wed Nov 08, 2017 2:46 am

Thanks much for the details.

amosbatto
Posts: 5564
Joined: Mon Jun 22, 2009 10:28 am
Country: Bolivia
Location: La Paz

Re: ProcessMaker Designer

Unread postby amosbatto » Wed Nov 08, 2017 8:26 pm

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.
Amos B. Batto ♦ ProcessMaker Technical Documentation Writer & Forum Manager ♦ Cofounder of ILLA (http://www.illa-a.org)


Return to “Developing processes & programming”

Who is online

Users browsing this forum: No registered users and 1 guest