virtualMachineprocessmaker

Install Docker script executors

ProcessMaker Community packaged by Bitnami 4.x and newer

To execute custom scripts in your ProcessMaker Community packaged by Bitnami process designer, you must install Docker script executors.

To install Docker script executors on ProcessMaker Community packaged by Bitnami 4.x and newer versions, follow these steps:

  • Log in to the application as an administrator.

  • Nativate to “Admin -> Script Executors” and click on the “+ Script Executor” button.

    ProcessMaker script executors

  • Fill in the form by entering a script executor identifier, selecting the programming language and adding a description. Afterwards, click on “Save and build”.

    ProcessMaker script executor creation form

  • Wait for the “Build Command Output” box to complete, and finally click the “Close” button.

    ProcessMaker script executor build logs

Now, you can use the script executor you created in the ProcessMaker Community packaged by Bitnami process designer tool and its script executor.

Install script executors via command-line

It is also possible to install the script executors via command line. Follow these steps:

  • Log in to the server console. Learn how to connect to the server through SSH.

  • Install Docker script executors for ProcessMaker Community packaged by Bitnami:

    • Install the Javascript script executor:

        $ cd /opt/bitnami/processmaker
        $ sudo php artisan docker-executor-node:install
      
    • Install the Lua script executor:

        $ cd /opt/bitnami/processmaker
        $ sudo php artisan docker-executor-php:install
      
    • Install the PHP script executor:

        $ cd /opt/bitnami/processmaker
        $ sudo php artisan docker-executor-php:install
      

ProcessMaker Community packaged by Bitnami 3.x

ProcessMaker Community packaged by Bitnami 3.x did not support Docker script executors.

Last modification December 21, 2022