Questions and discussion about using ProcessMaker: user interface, running cases & functionality
#829582
amosbatto wrote: Tue Aug 22, 2017 5:46 pm 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 );
https://thebloggerspage.com/why-security-of-random-video-chat-becomes-the-biggest-headache/
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 amos@processmaker.com and I will look at it when I have time.
Terrific! I have just purchased a copy (I couldn't resist at that price)!
Thanks
#829723
Hello
I am new to Data Science
Due to the growing demand for expertise in data sciences, job opportunities across various industries are increasing significantly worldwide. Go for Data Science Course in Pune to perform efficient analysis using modern data analysis software and Get an industry-recognized Data Scientist Certificate.

https://educationtraining.tribeplatform.com/general/post/why-learn-data-science---major-reasons-that-will-blow-your-mind-LUYBmxvqOfmzsEV
By Yogesh
#829752
Hi Team,

I have one developed project, it is related with credit card request when i tried to submit my first form then i am facing below error:
DOMDocument::loadHTML(): Tag o:p invalid in Entity, line: 7

Please suggest me, How can i resolved this issue.
By KNIHARIK
#830166
Data Analyst course in hyderabad has gained a lot of momentum in the past couple of years. It is proving to be a great domain for IT professionals. Start Data Analytics Course with 360DigiTMG and become a Data Analyst without much hassle.
By ksouji
#830190
360DigiTMG offers data analytics courses in hyderabad a top-rated Data Analytics course with a placement facility. A world-class curriculum, LMS Access, and real-time projects with assignments will aid you in getting a high-paid job.
By kmanu5
#830218
s data analytics courses in hyderabad a top-rated Data Analytics course with a placement facility. A world-class curriculum, LMS Access, and real-time projects with assignments will aid you in getting a high-paid job.
Code: Select all
data analytics course in hyderabad
#830230
360DigiTMG offers data analytics courses in hyderabad with a placement facility that will kick start your career. A world-class curriculum, LMS Access, Real-time projects, and assignments will aid you in becoming a most wanted Data Scientist in the market.
By yaaraaja4
#830310
Version 5.4) inside workflow>public_html directory of processmaker.
My company provided the code and wanted me to run it in my local machine. But the thing is I have no idea how to run it . I can't seem to find any guidelines, documentations or answers.

So any guidance would be a lifesaver. Thank you
By cabalsmith6
#830330
ProcessMaker Designer is a BPMN 2.0 compliant process designer with drag and drop functionality that allows you to easily model your business processes, create forms for capturing data when running the process, set up business rules or conditions and assign users to tasks making up the process amongst other things.

If you are wondering what BPMN 2.0 means, BPMN stands for “Business Process Model and Notation” and it is a global standard for business process modelling which provides a set of graphical notations for the specification of a business process in a Business Process Diagram. The current version of the standard is 2.0 and it is maintained by the Object Management Group (OMG).
BPMN 2.0 provides a uniform means for business owners to clearly describe their business processes in a standard manner that can readily be understood without any familiarity with the nuances of the business or organisation. By being BPMN 2.0 compliant, the ProcessMaker designer allows us to model our process in any BPMN 2.0 compliant application and import them into ProcessMaker, and vice versa.

When you click the Designer tab in the main menu, the Process List screen is displayed as shown in the diagram in the previous section. This screen displays a paged list of all the processes currently in the system. At the moment we have none. The menu bar (see image below) on the page gives us options for creating, editing, enabling or disabling, importing, exporting, deleting and searching for processes.

Process List Actions
We will briefly explore the available actions in the Process list as we proceed to create our first ProcessMaker process.

New
This allows us to create a new project in ProcessMaker (The term project is used because a project can contain more than one process, e.g. a main process with sub-processes). Let us see how this works.

Click the new button in the menu bar and the modal pop-up below is displayed.
Enter a name for the project and a description. Leave the category as “No Category” for now. We will learn how to create categories when we explore the Admin features.

Click the Create button.
The new project is created and the Process Designer screen is displayed. The screen is overlaid with an introductory walkthrough that shows you the key features of the designer and what they do. Click the next button on the walkthrough to quickly explore the designer and click the Done button at the end. Basically I have also developer a BPM app with help of mobile app development company(https://enterprise.affle.com/mobile-app-development) . Click the Close button in the top-right corner to close the project and return to the list of processes. Your newly created process should now be displayed in the list.

Edit
The Edit option as the name implies allows you to edit the processes you create in ProcessMaker. To edit a process, you select it from the list and click the Edit button from the menu bar. When a process is selected from the list, it is highlighted in yellow. Clicking the Edit button launches the process designer allowing you to make the required changes to the process.


Status
The status option shows the status of a process and toggles between Deactivate (for Active processes) or Activate (for Inactive processes) when a process is selected from the list. Newly created processes are active by default as seen in the image above. When a process is deactivated, users will no longer be able to work on the process. To Deactivate a process, select it and click the Deactivate button.


The process status changes to Inactive as seen in the diagram above, and the Status button now shows the option to Activate. Select the process and click Activate.

Export
The Export option allows you to export your projects outside of ProcessMaker. This is useful for copying a project from one ProcessMaker instance to another. Let us see how it works. Select your project and click the Export button. The Save dialog is displayed, choose a location on your system and save the project. The project will be saved with a .pmx extension.

Delete and Delete Cases
The Delete option allows you to delete a project. A project can however only be deleted if it has no cases. The Delete Cases option is a recently introduced feature in version 3.0.18 that allows you to delete all the cases of a process.

Hope this will help everybody.

Hi, After upgrading to last version 3.8 all works […]

case stuck on loading

It's strange that I can view it but can't open it […]

SQL Not working & Case Disappearing

In the context of ProcessMaker a Case is an indivi[…]

That is very good news. I'm excited to get a test […]