Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderators: ArturoRobles, ArturoRobles

By dipolediamond
#794759
I recently completed a book on ProcessMaker - "A Beginner's Guide to Business Process Automation with ProcessMaker 3.1" on leanpub and the primary motivation is to provide those new to ProcessMaker with a step by step guide to building and deploying their first process on ProcessMaker. The first 9 (nine) chapters are available to read online on leanpub - https://leanpub.com/beginnersguidetopro ... ead_sample.

Please help share with anyone new to ProcessMaker and who might benefit from it. The link to the book is https://leanpub.com/beginnersguidetoprocessmaker. Your feedback on the book will also be greatly appreciated.

EDIT:
The book is now available as an Apress title - http://www.apress.com/9781484233443 and also on Amazon - https://www.amazon.com/Business-Process ... 484233441/
Last edited by dipolediamond on Thu Dec 28, 2017 4:38 am, edited 1 time in total.
User avatar
By amosbatto
#794767
I just randomly flipped through parts of the book, and it looks pretty good. I hope that you have good sales of the book.

Would you like me to make this post a sticky announcement on the forum for the next week (so it stays at the top of the list of posts)? We are always happy to see others promoting the use of ProcessMaker.

I have two observations about the book. In the beginning when installing PM with Bitnami, you should mention that Bitnami installations are generally only used for testing and developing processes. A manual installation is recommended when using processes in production, because Bitnami installations cannot be upgraded to later versions and Bitnami installations are generally slower and use more resources than manual installations.

In your JavaScript code, I recommend only using jQuery selectors. For example, you use code like this that mixes standard JavaScript and jQuery:
Code: Select all
//Register comments handler to button events
document.getElementById("form\[comment_button\]").onclick = addComments;
$("form").submit( addComments );
First of all, you don't need to escape the [ and ] characters in standard Javascript, so this will work:
Code: Select all
document.getElementById("form[comment_button]").onclick = addComments;
However, the PM Developers don't recommend using document.getElementById() to obtain the elements of a form, because the developers say that it might not always work in the ProcessMaker Mobile App, although I haven't seen an example where it doesn't work. However, it is necessary to use the custom helper functions setValue(), getValue() and setOnchange() which only work with jQuery, instead of the value and onchange properties in standard JavaScript. To avoid problems and possible confusion, we recommend always using jQuery(), even though it may be more complicated in some instances.

Officially, we recommend that you use code like this:
Code: Select all
$("#comment_button").find("button").on("click", addComments);
I personally don't like using the find() function because you have to know what HTML element you are searching for ("button", "div", "input", "select", "textarea", etc.) with each type of control, so I directly select the element through its ID "form[id]" which requires escaping the square brackets [ and ] with \\:
Code: Select all
$("#form\\[comment_button\\]").on("click", addComments );
I also don't see much reason to use .on() instead of .click() which is a shorthand that does the same thing:
Code: Select all
$("#form\\[comment_button\\]").click( addComments );
Some people find escaping with jQuery selectors to be very confusing, so they use this code:
Code: Select all
$("[id='form[comment_button]']").click( addComments );
No matter which method that you choose, I do recommend using jQuery() in all instances, so that people get used to using jQuery and won't try to use document.getElementById().value and document.getElementById().onchange which will cause problems.

If you want me to review your code in the entire book, you can email me a copy of your book at [email protected] and I will look at it when I have time.
#794980
Hi Amos,

I really appreciate the feedback. Yes, please make it a sticky post. I will send you a copy of the book as it could really use your wealth of experience in making it a better resource for learning ProcessMaker.

I will also make the suggested updates. Once again, thank you.
By huuanh2811
#825214
Hola, soy nuevo en PM y tengo el siguiente problema:
Un proceso genera el archivo de salida pdf, pero cuando lo graba lo guarda lo hace con el nombre cases_ShowOutputDocument sin agregarle la extensión .pdf
Con lo cual para poder verlo tengo que ir a la carpeta de Descargas y cambiarle el nombre manualmente agregándole .pdf

Sabés en qué me estoy equivocando?
Muchas gracias
User avatar
By amosbatto
#825239
huuanh2811 wrote: Tue Jul 02, 2019 4:08 am Un proceso genera el archivo de salida pdf, pero cuando lo graba lo guarda lo hace con el nombre cases_ShowOutputDocument sin agregarle la extensión .pdf
Con lo cual para poder verlo tengo que ir a la carpeta de Descargas y cambiarle el nombre manualmente agregándole .pdf
He traslado tu pregunta al foro de Español:
viewtopic.php?f=19&t=736895
#827174
dipolediamond wrote: Tue Aug 22, 2017 12:53 pm I recently completed a book on ProcessMaker - "A Beginner's Guide to Business Process Automation with ProcessMaker 3.1" on leanpub and the primary motivation is to provide those new to ProcessMaker with a step by step guide to building and deploying their first process on ProcessMaker. The first 9 (nine) chapters are available to read online on leanpub - https://leanpub.com/beginnersguidetopro ... ead_sample.

Please help share with anyone new to ProcessMaker and who might benefit from it. The link to the book is https://leanpub.com/beginnersguidetoprocessmaker. Your feedback on the book will also be greatly appreciated.

EDIT:
The book is now available as an Apress title - http://www.apress.com/9781484233443 and also on Amazon - https://www.amazon.com/Business-Process ... 484233441/
It's great. That's is information that i need :D
#828059
Hi guys,
I recently landed into processmaker community and at first sight I have to admit it looks great software. Thank you guys and all contributors to this !
As usual, everything new to learn needs time and effort, starting from simple to complicated scenarios and the learning tools are books and videos.
I started first to look for videos on youtube and what I found was not for beginners and most of that irrelevant to version 3,so I started to search for books. For my surprise the search result was only one book !! , Business Process Automation with ProcessMaker 3.1: A Beginner’s Guide Book by Dipo Majekodunmi. Thank you Dipo for this initiative!
I don't know and understand why there is only book on this subject ,but nevertheless I started to read it and so far I would say that is not for the beginner. Maybe I'm wrong ,but the first thing that should be teached to the new comers are concepts and not going straight into complicated examples. Starting from natural human process examples and trying to convert them into processmaker "language" would be the best practice.
I started to build a simple workflow with 2 tasks and still it is not clear for me how things are working.
For instance, if the user submits an e-form build with dynaform what happens next ,in terms to whom this form will be delivered and what permissions have the users to whom the next task is assigned. In my case I have seen that the user that submits the e-form and sends it for the approval is able to see the next dynaform and even further to approve it which should not happen. I tried to find simple examples in this book or references to simple scenarios but it is not possible. Most of the content is focused on how menus /tools are organized and how are they used , even Java script examples which is good ,but not without first building the solid ground to grow.
Summarising, I would like someone of you to direct me to any new other good sources for learning.
Thanks !
By dorcassmith
#828205
English literature paper writing services have become very popular among english literature research paper writing service students seeking English Literature Writing Services and english literature essay writing services.
https://researchpapers247.com/english-literature-writing-services/

Hello, Is it possible to set variables in a defau[…]

yes but still no luck. :( 2.PNG we deleted all t[…]

When a process is double click or highlighted to s[…]

Error clicking on Participated

after follow the troubleshooting http://pmlearning[…]