I am trying to develop a workflow in Processmaker 4 community that require some scripted tasks to be executed but I am facing in issues in things that should be simple such as:
- How to debug the code in Processmaker scripts. Is there access to stdout and sterr somehow?
- How to access request variables form the PHP script.
- How to access the files that have been uploaded to a process from the PHP script.
Does anyone know of a good resource explaining in detail how to create PHP scripts in Processmaker?
So far I have found the following documentation https://github.com/ProcessMaker/docker-executor-php/tree/develop/docs/sdk which certainly seems to open the door on how to access files and Processmaker information but I am still struggling trying to find a way to properly debug fairly complex scripts.