Search found 8817 matches

 Return to the advanced search

Re: populate grids with trigger

 by amosbatto ¦  Fri Sep 20, 2019 2:14 pm ¦  Forum: Developing processes & programming ¦  Topic: populate grids with trigger ¦  Replies: 1 ¦  Views: 3284

Is your question how to populate a grid with a database query or is your question how to relate the two tables in your database query? If the former question, then your trigger would be: $id = @@someVariable; $sql = "SELECT D1 AS diskTag, D2 AS lgVg, D3 AS diskSize, D4 AS description FROM PMT_ORDER_...

Re: How to failover to another DB in PHP trigger.

 by amosbatto ¦  Fri Sep 20, 2019 1:47 pm ¦  Forum: Developing processes & programming ¦  Topic: How to failover to another DB in PHP trigger. ¦  Replies: 2 ¦  Views: 4291

You can try using this: $mssqlId = '123456789abcdef134567890abcdef'; //set to ID of the database connection for MSSQL $mysqlId = 'abcdef123456789abcdef134567890'; //set to ID of the database connection for MSSQL try { $result = executeQuery($sql, $mssqlId); } catch (Exception $e) { $result = execute...

Re: Changing the login page

 by amosbatto ¦  Fri Sep 20, 2019 1:25 pm ¦  Forum: Using ProcessMaker 3 ¦  Topic: Changing the login page ¦  Replies: 10 ¦  Views: 11287

In your pmos.conf, try changing from:
Redirect /sys/en/green/login/login http://tracker/sysworkflow/en/green/login/login
To:
RewriteRule ^sys/(.*)$ /sysworkflow/$1 [R=301,NC,L]

Does that work?

Re: List only the app_uid based documents via REST API

 by amosbatto ¦  Fri Sep 20, 2019 1:15 pm ¦  Forum: Using ProcessMaker 3 ¦  Topic: List only the app_uid based documents via REST API ¦  Replies: 5 ¦  Views: 5915

I've created two endpoints for dealing with documents:
https://www.pmusers.com/index.php/Extra ... _Documents

Do you need something else?

Re: Deleting the processes.

 by amosbatto ¦  Fri Sep 20, 2019 12:14 pm ¦  Forum: Using ProcessMaker 2 ¦  Topic: Deleting the processes. ¦  Replies: 4 ¦  Views: 15878

Are you sure that you are using version 1.245 from 2010? That is ancient.

Press CTL+F5 (or CTL+ALT+R) to refresh your web browser. Is the process deleted?

You can check by looking in the PROCESS table of the wf_workflow database and see if there is a record for the process.

Re: Task doesnt have any users.

 by amosbatto ¦  Fri Sep 20, 2019 12:10 pm ¦  Forum: Developing processes & programming ¦  Topic: Task doesnt have any users. ¦  Replies: 5 ¦  Views: 5073

The first problem is that you need to use = = in place of = in your conditions in the exclusive routing rule. I fixed this in your process. In PHP == is for equality and = is for assignment. See: https://wiki.processmaker.com/3.1/Using_Conditions I can't tell from your process whether you assigned u...

Re: How to maintain the report table for multiple process

 by amosbatto ¦  Fri Sep 20, 2019 11:48 am ¦  Forum: Using ProcessMaker 3 ¦  Topic: How to maintain the report table for multiple process ¦  Replies: 4 ¦  Views: 5404

Create the variables "parentProcessName" and "parentProcessUid" in the process designer of your subprocesses. Then, add the following trigger to your subprocesses: @@parentProcessName = ''; $subcaseId = @@APPLICATION; $sql = "SELECT APP_PARENT FROM SUB_APPLICATION WHERE APP_UID='$subcaseId'"; $resul...

Re: Changing the login page

 by amosbatto ¦  Fri Sep 20, 2019 11:26 am ¦  Forum: Using ProcessMaker 3 ¦  Topic: Changing the login page ¦  Replies: 10 ¦  Views: 11287

What version of ProcessMaker?

Post the contents of your workflow/public_html/index.html and pmos.conf files

Re: Get process id and task id from report table

 by amosbatto ¦  Fri Sep 20, 2019 11:21 am ¦  Forum: Using ProcessMaker 3 ¦  Topic: Get process id and task id from report table ¦  Replies: 12 ¦  Views: 9326

Add your code after lines 746 and 758, which look like this: Bootstrap::registerMonolog('CaseDerivation', 200, 'Case Derivation', $aContext, $this->sysSys, 'processmaker.log'); //add your code here }

Re: Get process id and task id from report table

 by amosbatto ¦  Thu Sep 19, 2019 6:40 pm ¦  Forum: Using ProcessMaker 3 ¦  Topic: Get process id and task id from report table ¦  Replies: 12 ¦  Views: 9326

I don't think that AdditionalTables::updateReportTables() is called when a case is reassigned or when it is routed. You can create a trigger which calls AdditionalTables::updateReportTables() and then execute that trigger. The other option is to change the source code for Derivation::derivate() whic...

Re: NEW MOBILE APP ISSUE

 by amosbatto ¦  Thu Sep 19, 2019 6:22 pm ¦  Forum: Using ProcessMaker 3 ¦  Topic: NEW MOBILE APP ISSUE ¦  Replies: 1 ¦  Views: 2434

What versions of ProcessMaker, ProcessMaker mobile App and Android or iOS are you using?

Re: Task doesnt have any users.

 by amosbatto ¦  Thu Sep 19, 2019 6:20 pm ¦  Forum: Developing processes & programming ¦  Topic: Task doesnt have any users. ¦  Replies: 5 ¦  Views: 5073

Users are assigned to tasks , and the Dynaforms are in the tasks. Make sure that users are assigned to each task and the status of those users is "ACTIVE". UsersAsssignedToTasks.png If that isn't the problem, then export your process and post the .pmx file for your process and explain in which task ...

I just ran a case in your process, and I didn't observe the values in the checkgroup being deleted. I clicked on the button (not the submit button) each time, and the values were were always saved. I just tried it in 3.3.10 community Edition (in Debian 9.5, PHP 5.6.37, MySQL 5.7.17). You need to upg...

Re: How to modify "APP_TITLE" using the API Endpoint.

 by amosbatto ¦  Thu Sep 19, 2019 5:59 pm ¦  Forum: Developing processes & programming ¦  Topic: How to modify "APP_TITLE" using the API Endpoint. ¦  Replies: 1 ¦  Views: 3244

You need to use @#variable instead of @@variable in the case label so that you get rid of the quotation marks.
See:
https://wiki.processmaker.com/3.0/Tasks#CASE_LABELS

Re: Send the input document as BASE64 via REST API

 by amosbatto ¦  Wed Sep 18, 2019 10:16 pm ¦  Forum: Using ProcessMaker 3 ¦  Topic: Send the input document as BASE64 via REST API ¦  Replies: 6 ¦  Views: 6120

Sorry, but I don't know vue.js very well. Dealing with files in JavaScript is not recommended. It is much easier to do this using PHP or some other server-side language. If you are using Firefox, then there is a nice File API. The other browsers are difficult. See: https://stackoverflow.com/question...

Re: The condition is not workable

 by amosbatto ¦  Wed Sep 18, 2019 10:05 pm ¦  Forum: Developing processes & programming ¦  Topic: The condition is not workable ¦  Replies: 1 ¦  Views: 3333

If you want help, then you need to post your condition and post the .pmx file for your process.

Re: add mandatory checkbox using javascript

 by amosbatto ¦  Wed Sep 18, 2019 10:02 pm ¦  Forum: Developing processes & programming ¦  Topic: add mandatory checkbox using javascript ¦  Replies: 5 ¦  Views: 4698

To remove the other red asterisk in the field's label, you can use control .disableValidation() and control .enableValidation() . If you don't want to change the required property and just want to remove the red asterisk, then you can hide it like this: $("#fieldID").find("span.pmdynaform-field-requ...

Re: Best Practice

 by amosbatto ¦  Wed Sep 18, 2019 9:52 pm ¦  Forum: Developing processes & programming ¦  Topic: Best Practice ¦  Replies: 1 ¦  Views: 2973

It depends on what kind of code you have. If you want to add PHP functions or PHP classes, then you can create a plugin that uses the option PMFunction class . Then you can write triggers that calls the functions or classes that you added to the plugin. You can also add image files or other types of...

Re: Get process id and task id from report table

 by amosbatto ¦  Wed Sep 18, 2019 9:45 pm ¦  Forum: Using ProcessMaker 3 ¦  Topic: Get process id and task id from report table ¦  Replies: 12 ¦  Views: 9326

I added some documentation to explain how to do this:
https://www.pmusers.com/index.php/Addin ... ort_Tables

Re: Role Drop Down Blank When Creating New Users

 by amosbatto ¦  Wed Sep 18, 2019 5:58 pm ¦  Forum: Installation & Configuration ¦  Topic: Role Drop Down Blank When Creating New Users ¦  Replies: 10 ¦  Views: 17694

Unfortunately, we have bugs in recent versions of ProcessMaker Community Edition:
https://www.pmusers.com/index.php/Bugs_ ... _upgrading

I recommend installing version 3.2.1 for now.

Make sure that you are using that code in a normal button (not a submit button).
Also, try using this code:

Code: Select all
$("#button0000000001").find("button").click(function() {
   var formId = $("form").prop("id");
   $("#"+formId).submitForm();
});
Does that change anything?

Re: Problems in importing plugins

 by amosbatto ¦  Wed Sep 18, 2019 5:36 pm ¦  Forum: Developing processes & programming ¦  Topic: Problems in importing plugins ¦  Replies: 5 ¦  Views: 4747

Yes, you can install ProcessMaker manually in Windows 7.

Re: View Dynaform in HTML Page

 by amosbatto ¦  Tue Sep 17, 2019 7:46 pm ¦  Forum: Using ProcessMaker 3 ¦  Topic: View Dynaform in HTML Page ¦  Replies: 3 ¦  Views: 4962

You might also want to check the [url=https://wiki.processmaker.com/3.2/Proce ... elds.28.29]PMFDynaFormFields(){/url] function, which is defined in workflow/engine/classes/class.pmFunctions.php

Re: PM3.0.1.7 Mail(PHP) not working on SLES12.1.

 by amosbatto ¦  Tue Sep 17, 2019 7:42 pm ¦  Forum: Installation & Configuration ¦  Topic: PM3.0.1.7 Mail(PHP) not working on SLES12.1. ¦  Replies: 1 ¦  Views: 9563

You are going to have to put the configuration in your php.ini file.
Here is a tutorial:
https://www.quackit.com/php/tutorial/ph ... ration.cfm

Re: Disabling the log files in PM 3.1 and later

 by amosbatto ¦  Tue Sep 17, 2019 7:34 pm ¦  Forum: Tips and Tricks ¦  Topic: Disabling the log files in PM 3.1 and later ¦  Replies: 7 ¦  Views: 12853

Hola, hay alguna forma de hacer que estos log se compriman automáticamente? Puedes cambiar el codigo fuente para comprimir los archivos de bitacora, pero no será una buena idea porque PM tiene que descomprimir el archivo, agregar texto nuevo y comprimirlo de nuevo. El rendimiento sería horrible. Si...

Re: Ho< to translate an internal message error

 by amosbatto ¦  Tue Sep 17, 2019 7:01 pm ¦  Forum: Developing processes & programming ¦  Topic: Ho< to translate an internal message error ¦  Replies: 5 ¦  Views: 4698

Yo trabajo con la versión PM 3.2.3 - Enterprise Edition Yo trabajo con la versión PM 3.2.3 - Enterprise Edition y en esta versión ese texto no existe en el archivo PO. y en esta versión ese texto no existe en el archivo PO. En versiones mas recientes, puedes traducir la frase en el archivo PO, pero...

Re: Send the input document as BASE64 via REST API

 by amosbatto ¦  Tue Sep 17, 2019 6:35 pm ¦  Forum: Using ProcessMaker 3 ¦  Topic: Send the input document as BASE64 via REST API ¦  Replies: 6 ¦  Views: 6120

What programming language are you using? Can you explain where the files are coming from? It is hard for me to help you without knowing the context.

Re: Role Drop Down Blank When Creating New Users

 by amosbatto ¦  Tue Sep 17, 2019 6:24 pm ¦  Forum: Installation & Configuration ¦  Topic: Role Drop Down Blank When Creating New Users ¦  Replies: 10 ¦  Views: 17694

Login as the "admin" user and go to Admin > Settings > System Information to find out what version of PM you are using and post it here. There was a bug in a previous version that prevented people from creating new users. I can't remember the exact version number where the bug appeared, but if you t...

Are you sure that you only have one case open at a time in your web browser? If you open a second case in the same web browser, you change the system variables, so variables won't be correctly saved when submitting a Dynaform. If you want me to check out what is happening, you can post the .pmx file...

  • 1
  • 2
  • 3
  • 4
  • 5
  • 294

🚀 Tauchen Sie mit Immediate Alora AI in die Welt d[…]

Do you want a quick way to delete passwords from P[…]

Try the CloudMigration PST Converter to convert […]

In the rapidly evolving world of online sports be[…]