Search found 5441 matches

by amosbatto
Mon Nov 20, 2017 8:36 pm
Forum: Development of the ProcessMaker application
Topic: Generate output document from Grid
Replies: 7
Views: 110

Re: Generate output document from Grid

Thank you very much but this is if it was normal check box i can define the values but in a Grid there is no value i can define it! in this case how can i apply that? Create a trigger like this in your process: if (isset(@=myGrid) and is_array(@=myGrid)) {   $len = count(@=myGrid);   for ($i = 1; $...
by amosbatto
Mon Nov 20, 2017 8:27 pm
Forum: Using ProcessMaker 3
Topic: Schedule new case
Replies: 1
Views: 10

Re: Schedule new case

You can use Start Timer Events to automatically start cases if your server is configured to periodically execute the timereventcron.php file . If you need something more customizable, then you create a PM Table with dates when new cases should be started and then create a looping process with a inte...
by amosbatto
Mon Nov 20, 2017 8:10 pm
Forum: Using ProcessMaker 3
Topic: Improve js performance
Replies: 19
Views: 170

Re: Improve js performance

$("#id").enableValidation() will only work on a field which has its "required" property marked in the original properties of the control. I don't recommend replacing the existing field like you are doing, because your data might not be saved correctly when the form is submitted. ...
by amosbatto
Mon Nov 20, 2017 7:53 pm
Forum: Using ProcessMaker 3
Topic: Dynaform to PDF
Replies: 9
Views: 183

Re: Dynaform to PDF

PM doesn't have an integration with Topaz Systems. Are you implementing this in a Panel control in your DynaForm? You should contact Topaz Systems and ask them if there is a way to save their digital signature as a graphics file. If so, you can fire a trigger after the DynaForm which uses the PMFAdd...
by amosbatto
Mon Nov 20, 2017 7:34 pm
Forum: Developing processes & programming
Topic: API ProcessMaker behavior to start task
Replies: 18
Views: 340

Re: API ProcessMaker behavior to start task

OK, the first REST call is good. Now do the same for each REST call until you find the error.
by amosbatto
Mon Nov 20, 2017 7:31 pm
Forum: Developing processes & programming
Topic: new Case with same values
Replies: 1
Views: 14

Re: new Case with same values

If you want to clone a case which starts from the same task as the existing case, then you can use this process: https://forum.processmaker.com/viewtopic.php?f=44&t=713336&p=795791#p795791 If you want to create a new case that begins in the starting task but has the same values as an existin...
by amosbatto
Mon Nov 20, 2017 5:43 pm
Forum: Using ProcessMaker 3
Topic: process reset itself
Replies: 1
Views: 11

Re: process reset itself

Go to Admin > Settings > Case List Cache Builder and click on the "Build Cache" button. If that doesn't solve the problem, then go to the command line of your server and change to the directory where PM is installed and do the upgrade and rebuild the APP_CACHE_VIEW table: cd /opt/processma...
by amosbatto
Mon Nov 20, 2017 5:35 pm
Forum: Español
Topic: Button
Replies: 1
Views: 12

Re: Button

Si quieres seguir al próximo paso en la tarea, debes usar este código: $("#btnEnviar").click(function() { $("9112243655a09f392461037033368057").submitForm(); }); Ambos saveForm() y submitForm() deben validar los campos requiridos y no mostrar un mensaje en rojo abajo de los campo...
by amosbatto
Mon Nov 20, 2017 5:28 pm
Forum: Developing processes & programming
Topic: API ProcessMaker behavior to start task
Replies: 18
Views: 340

Re: API ProcessMaker behavior to start task

I'm trying to run TRIGGERS on my custom interface via REST API and I'm not getting it. I reasoned for this: http://wiki.processmaker.com/3.2/Light_endpoints#Triggers But it gives error, see a piece of my code in dynaform.php, what's wrong? <?php    session_start();    if (is_null($_SESSION['access_...
by amosbatto
Fri Nov 17, 2017 7:26 pm
Forum: Using ProcessMaker 2
Topic: How to change dates to different timezone with a trigger
Replies: 4
Views: 57

Re: How to change dates to different timezone with a trigger

I tried it and see that the code I gave you in the previous post doesn't work because there is no hours:minutes in the original datetime. If you are using the Enterprise Edition, there is automatic datetime conversion based on the user. If you are using the Community Edition, then you can use this t...
by amosbatto
Fri Nov 17, 2017 5:50 pm
Forum: Developing processes & programming
Topic: Report Tables: Adding assigned users?
Replies: 1
Views: 26

Re: Report Tables: Adding assigned users?

Create a variable named "username" in the graphical interface. Then, create the following trigger:

Code: Select all

@@username = @@USR_USERNAME;

Set this trigger to fire before the first step in every task in the process. Then, add "username" to your Report Table.
by amosbatto
Thu Nov 16, 2017 10:59 pm
Forum: Development of the ProcessMaker application
Topic: Export Grid Data and Generate Excel File
Replies: 1
Views: 31

Re: Export Grid Data and Generate Excel File

You can create a CSV file which Excel can import. Take this code and adapt it: https://forum.processmaker.com/viewtopic.php?f=41&t=710430&p=790694#p790694 Here would be the adapted code: if (isset(@=productsList) and is_array(@=productsList) and count(@=productsList)...
by amosbatto
Thu Nov 16, 2017 10:40 pm
Forum: Developing processes & programming
Topic: Best Practice for Upgrading a Process
Replies: 1
Views: 30

Re: Best Practice for Upgrading a Process

Frankly, your current practice of always creating a new process is the safest policy to guarantee that you will never have trouble. Where you get into trouble is when the name of a variable is changed, since it won't be displayed correctly. You also get into trouble if the UID of the task is changed...
by amosbatto
Thu Nov 16, 2017 9:27 pm
Forum: Using ProcessMaker 3
Topic: Improve js performance
Replies: 19
Views: 170

Re: Improve js performance

I have tried and it pass to the value to the <input> but it still show "required error". Don't make it "required" and add code to the form.setOnSubmit() event handler to check whether it is empty. Could I also ask how to implement the linked pickers? Please see attached code: $(...
by amosbatto
Thu Nov 16, 2017 7:53 pm
Forum: Using ProcessMaker 2
Topic: @@application not working
Replies: 5
Views: 48

Re: @@application not working

If you open two cases at the same time in the same web browser, then your system variables like @@APP_NUMBER will be changed to another case. You should only open one case at a time in a web browser. If you want to open multiple cases, then you should use different web browsers. For example, open on...
by amosbatto
Thu Nov 16, 2017 7:42 pm
Forum: Using ProcessMaker 3
Topic: Dynaform to PDF
Replies: 9
Views: 183

Re: Dynaform to PDF

Is your image a digital signature? If so, which digital signature (SigPlus, E-Lock or DocuSign)?
by amosbatto
Thu Nov 16, 2017 6:44 pm
Forum: Development of the ProcessMaker application
Topic: Generate output document from Grid
Replies: 7
Views: 110

Re: Generate output document from Grid

Thank you very much it works, may i ask one more thing! How can i get the check box value in out put document if it checked to appear'Yes' if not 'No'.! In the properties of the checkbox in Dynaform Editor, you need to set the list of "options" to have labels of "Yes" and "...
by amosbatto
Thu Nov 16, 2017 6:24 pm
Forum: Using ProcessMaker 3
Topic: How to increase performance for 200 users
Replies: 1
Views: 15

Re: How to increase performance for 200 users

The question is not how many users you have, but how many concurrent users (who are using ProcessMaker at the same time). You should set up one server for MySQL and another server for ProcessMaker. You might want to set up a separate harddrive or NAT for the /opt/processmaker/shared directory if you...
by amosbatto
Thu Nov 16, 2017 5:48 pm
Forum: Using ProcessMaker 2
Topic: How to change dates to different timezone with a trigger
Replies: 4
Views: 57

Re: How to change dates to different timezone with a trigger

If you are using the logged-in user in ProcessMaker, then your code should be something like this: $username = @@USR_USERNAME; $qry = "SELECT DATE, COUNTRY FROM MY_TABLE WHERE USERNAME='$username'"; $result = executeQuery($qry); if (!is_array($result) or count($result) == 0) { throw new Ex...
by amosbatto
Wed Nov 15, 2017 8:27 pm
Forum: Using ProcessMaker 3
Topic: Improve js performance
Replies: 19
Views: 170

Re: Improve js performance

Yuan, You can use this JS code: $("#dueDate").find("span.input-group-addon").hide(); $("#dueDate").find("input").datetimepicker(); $("#form\\[dueDate\\]").blur(function() { var dt = moment(this.value).format('YYYY-MM-DD HH:mm:ss'); $("#form\\[du...
by amosbatto
Wed Nov 15, 2017 7:44 pm
Forum: Installation & Configuration
Topic: Output Document Performance Issue in Ubuntu
Replies: 3
Views: 63

Re: Output Document Performance Issue in Ubuntu

This is really hard to debug. See this thread for ideas:
viewtopic.php?f=41&t=709562&p=787010&hilit=centos+performance#p787010
If your DNS or /etc/hosts file isn't resolving the domain name correctly, then it will slow down the PM server.
by amosbatto
Wed Nov 15, 2017 7:35 pm
Forum: Developing processes & programming
Topic: Processmaker and Sharepoint
Replies: 1
Views: 19

Re: Processmaker and Sharepoint

I don't have a Sharepoint account to test the triggers. If it doesn't work, the make that you have the soap module installed PHP. You can use this command your server's command line to check: php -m If it doesn't work, then you can implement it yourself in triggers. See: https://stackoverflow.com/qu...
by amosbatto
Wed Nov 15, 2017 7:23 pm
Forum: Developing processes & programming
Topic: ProcessMaker jQuery popup
Replies: 11
Views: 112

Re: ProcessMaker jQuery popup

ethanthekiwi wrote:If I'm using the hosted version of ProcessMaker Cloud, how would I upload a file to workflow/public_html?

Put the jquery-ui files in the Public directory of a process, then you can access the files using the ID of the process in the address.
by amosbatto
Wed Nov 15, 2017 12:20 am
Forum: Using ProcessMaker 3
Topic: Improve js performance
Replies: 19
Views: 170

Re: Improve js performance

If you want to get rid of the calendar icon, then you can do this:
$("#DATETIME-ID").find("span.input-group-addon").hide()
by amosbatto
Wed Nov 15, 2017 12:04 am
Forum: Developing processes & programming
Topic: array grid variable not correctly populate with file component
Replies: 2
Views: 37

Re: array grid variable not correctly populate with file component

askylh, Do you mind exporting the process and posting it here so that I can test it?
by amosbatto
Wed Nov 15, 2017 12:02 am
Forum: Developing processes & programming
Topic: Problem Loading Dynaform for one case.
Replies: 2
Views: 18

Re: Problem Loading Dynaform for one case.

Have you checked in the web browser debugger whether these things are missing in the HTML code? It could be that some data entered in one of the fields has mangled something in the HTML.
by amosbatto
Tue Nov 14, 2017 11:54 pm
Forum: 中文 (Chinese)
Topic: Android App 無限 Loading 的問題
Replies: 6
Views: 112

Re: Android App 無限 Loading 的問題

I just tried your process in ProcessMaker App 1.2.0.1 in Android 6.0.1 with a Bitnami install of ProcessMaker 3.1.3 Community Edition and it works. However, I do remember that I saw an error message about the file permissions in a log file the first time I tried to start a case with the ProcessMaker...
by amosbatto
Tue Nov 14, 2017 10:45 pm
Forum: Installation & Configuration
Topic: Output Document Performance Issue in Ubuntu
Replies: 3
Views: 63

Re: Output Document Performance Issue in Ubuntu

By "performance issue", do you mean that it is taking a long time to generate an Output Document?

How big is your Output Document file? Does it contain a large grid?
by amosbatto
Tue Nov 14, 2017 10:40 pm
Forum: Using ProcessMaker 2
Topic: @@application not working
Replies: 5
Views: 48

Re: @@application not working

You probably need to put the variable names in UPPER-CASE. You can use @@APPLICATION for the case ID or @@APP_NUMBER for the case number of the current case in a trigger. In a email template, you can use @#APPLICATION and @#APP_NUMBER. If you are querying a database, remember that MySQL field names ...
by amosbatto
Tue Nov 14, 2017 10:35 pm
Forum: Español
Topic: Modificar propiedades
Replies: 4
Views: 87

Re: Modificar propiedades

Puedes usar este código para insertar variables de tu DynaForm en el mensaje:  $result = ws_routeCase($caseId, 1);        $assign = $result->message;        $fecha = $pmdynaform["txtFecha"];        $titulo = $pmdynaform["cboReclaSug_label"];        $aMessage["MESSAGE"] = "Fecha: $fecha<br />Titulo: ...

Go to advanced search