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

Moderator: amosbatto

See this error that is happening when I upload a file in dynaform or input docs and then I try to download.
Trying to download gives this error:
Screenshot_3.png (48.92 KiB) Viewed 2463 times
PS: this only happens in large files above 50/60 Mb ... I've already tried changing PHP.INI ...
Last edited by marcosfpa on Tue Jun 19, 2018 9:01 am, edited 1 time in total.
Check if the file was saved as a record to the database and as a file to the PM server.
Do a query like this in your workspace database in MySQL:

Then, take use the information returned by that query to check if the file was saved to the PM server:
{/opt}/processmaker/shared/sites/{workspace}/files/{APP_UID in 4 directories}/{APP_DOC_UID}_{DOC_VERSION}.{EXT}

If the file exists on the server, then you should verify that your login session has expired and your logged-in user has rights to access the file. If in doubt, grant the user Process Permissions to the Input Document.
The env.ini file allows you to redefine some of the settings like memory_limit. If you are using a Bitnami installation, then you need to also change the apps/processmaker/conf/httpd-app.conf file, because it overwrites the settings in the php.ini file.

Put this code in a trigger and run a case a verify that it is the same as in your php.ini file:
Code: Select all
print "<pre>" .
   "memory_limit=". ini_get ("memory_limit") ."\n".
   "max_file_uploads=". ini_get ("max_file_uploads") ."\n". 
   "post_max_size=". ini_get ("post_max_size") ."\n".
   "upload_max_filesize=". ini_get ("upload_max_filesize") ."\n".
   "max_execution_time=". ini_get ("max_execution_time") ;

Thanks Amos, it kinda of worked. But the API respo[…]

Data table in the panel

Create a hidden field associated with the variab[…]

Timo, that code has been moved to: workflow/engine[…]

routeCase SOAP API error

There is no web service function to get all the va[…]